Re: [Mesa-dev] [PATCH 21/26] i965/nir: Provide a default LOD for buffer textures

2016-03-29 Thread Jordan Justen
Reviewed-by: Jordan Justen On 2016-03-25 16:12:35, Jason Ekstrand wrote: > Our hardware requires an LOD for all texelFetch commands even if they are > on buffer textures. GLSL IR gives us an LOD of 0 in that case, but the LOD > is really rather meaningless. This commit allows other NIR producer

[Mesa-dev] [PATCH 21/26] i965/nir: Provide a default LOD for buffer textures

2016-03-25 Thread Jason Ekstrand
Our hardware requires an LOD for all texelFetch commands even if they are on buffer textures. GLSL IR gives us an LOD of 0 in that case, but the LOD is really rather meaningless. This commit allows other NIR producers to be more lazy and not provide one at all. --- src/mesa/drivers/dri/i965/brw_