[Mesa-dev] [PATCH] i965: Add an INTEL_DEBUG=spill option to test spilling
Ilia Mirkin
imirkin at alum.mit.edu
Thu Apr 23 12:28:00 PDT 2015
On Thu, Apr 23, 2015 at 3:24 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
>> > +#define DEBUG_SPILL (1l << 31)
>>
>> That seems awkward... did you mean 1U? FWIW mesa's not at all careful
>> about that...
>
> Yeah, I agree. 1l is awkward.
>
> But I think 1U is just unsigned. I don't think that is guaranteed to
> be 64-bit.
In fact it's guaranteed to be 32-bit. Which can hold 1 << 31 just fine :)
-ilia
More information about the mesa-dev
mailing list