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

2015-12-13 Thread Eduardo Lima Mitev
Patch is: Reviewed-by: Eduardo Lima Mitev Thanks! On 12/13/2015 01:12 AM, 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

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

2015-12-12 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_