<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crash in src_register() during glClear() call"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58718#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crash in src_register() during glClear() call"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58718">bug 58718</a>
from <span class="vcard"><a class="email" href="mailto:sroland@vmware.com" title="Roland Scheidegger <sroland@vmware.com>"> <span class="fn">Roland Scheidegger</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=58718#c7">comment #7</a>)
<span class="quote">> In case it helps, it appears that MSVC always treats enum values as signed
> int. E.g. see:
>
> <a href="http://compgroups.net/comp.lang.c++/problem-with-visual-c++-7.1.3088-and-bit">http://compgroups.net/comp.lang.c++/problem-with-visual-c++-7.1.3088-and-bit</a>-
> fields/1013665
>
> GCC appears to use unsigned int if no enum values are negative.
>
> <a href="http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations">http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations</a>-
> and-bit_002dfields-implementation.html
>
> The implication is that bit-fields may be a bit short if specified as GLuint.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>