https://bugs.freedesktop.org/show_bug.cgi?id=58718

--- Comment #8 from Roland Scheidegger <[email protected]> ---
(In reply to comment #7)
> In case it helps, it appears that MSVC always treats enum values as signed
> int.  E.g. see:
>  
> http://compgroups.net/comp.lang.c++/problem-with-visual-c++-7.1.3088-and-bit-
> fields/1013665
> 
> GCC appears to use unsigned int if no enum values are negative.
>  
> http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations-
> and-bit_002dfields-implementation.html
> 
> The implication is that bit-fields may be a bit short if specified as GLuint.

I think I'm missing how that could cause the bug we're seeing here.
FWIW struct ureg_dst actually looks definitely buggy to me, since
IndirectSwizzle should be unsigned, not int, but I just noticed that now by
accident and it's not an issue with ureg_src.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to