Re: [Mesa-dev] [PATCH] i965/fp: Fix segfault on gen4 TXB instructions.

2012-11-28 Thread Kenneth Graunke
On 11/28/2012 11:46 AM, Eric Anholt wrote: The gen4 simd16 workaround looks at ir->type to determine how much storage to allocate for the simd16 value. In fragment programs, texturing only ever returns float vec4s (unlike GLSL, which can also have scalar floats or vector integers). --- src/mes

[Mesa-dev] [PATCH] i965/fp: Fix segfault on gen4 TXB instructions.

2012-11-28 Thread Eric Anholt
The gen4 simd16 workaround looks at ir->type to determine how much storage to allocate for the simd16 value. In fragment programs, texturing only ever returns float vec4s (unlike GLSL, which can also have scalar floats or vector integers). --- src/mesa/drivers/dri/i965/brw_fs_fp.cpp |2 ++ 1