summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen4.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-07 15:30:00 -0700
committerJason Ekstrand <[email protected]>2016-06-22 12:26:43 -0700
commitbb326f7b01daeb97e544873f20a23614ed54c548 (patch)
tree7f149e0f980bb0f15ef201f786a83f8bc535389b /src/intel/isl/isl_gen4.c
parentd050ffbce950f8ececd12200145eb209819a421e (diff)
isl/state: Set SurfaceArray based on the surface dimension
According to the PRM, you can't set SurfaceArray for 3D or buffer textures. There doesn't seem to be a good reason not to set it when we can. On the other hand, if we don't set it we can end up getting strange results for 1-layer array textures such as textureSize() returning the wrong results. Reviewed-by: Chad Versace <[email protected]> Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_gen4.c')
0 files changed, 0 insertions, 0 deletions