[Mesa-dev] [PATCH] i965: Add support for GL_SKIP_DECODE_EXT on other SRGB formats.

Kenneth Graunke kenneth at whitecape.org
Mon Jul 30 21:40:55 PDT 2012


On 07/30/2012 03:28 PM, Brian Paul wrote:
> On 07/30/2012 02:13 PM, Eric Anholt wrote:
>> Fixes some failures in getteximage-formats.
>> ---
>>   src/mesa/drivers/dri/i965/brw_wm_surface_state.c |   14 ++++++--------
>>   1 file changed, 6 insertions(+), 8 deletions(-)
>>
>> diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
>> b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
>> index 65ca2fc..9e7fcf1 100644
>> --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
>> +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
>> @@ -31,6 +31,7 @@
>>
>>
>>   #include "main/mtypes.h"
>> +#include "main/enums.h"
> 
> I don't see why the new code below needs enums.h

Oh...yeah.  That was for _mesa_lookup_enum_by_name() during some
debugging.  Probably should get taken back out.  Good eye :)


More information about the mesa-dev mailing list