summaryrefslogtreecommitdiffstats
path: root/docs/relnotes
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-03-29 09:58:11 -0700
committerKenneth Graunke <[email protected]>2016-03-31 15:23:49 -0700
commit58d4751fa0c5a38069879e9f72047b75f8351d93 (patch)
tree521810b605aa2f39c89102bca2a4b48ccb8f8fbe /docs/relnotes
parent08ff5f4d1f04ea426be679018c2c38da6b6b9a65 (diff)
i965: Fix textureSize() depth value for 1 layer surfaces on Gen4-6.
According to the Sandybridge PRM's description of the resinfo message, the .z value returned will be Depth == 0 ? 0 : Depth + 1. The earlier PRMs have the same table. This means we return 0 for array textures with a single slice, when we ought to return 1. Just override it to max(depth, 1). Fixes 10 dEQP-GLES3.functional tests on Sandybridge: shaders.texture_functions.texturesize.sampler2darray_fixed_vertex shaders.texture_functions.texturesize.sampler2darray_fixed_fragment shaders.texture_functions.texturesize.sampler2darray_float_vertex shaders.texture_functions.texturesize.sampler2darray_float_fragment shaders.texture_functions.texturesize.isampler2darray_vertex shaders.texture_functions.texturesize.isampler2darray_fragment shaders.texture_functions.texturesize.usampler2darray_vertex shaders.texture_functions.texturesize.usampler2darray_fragment shaders.texture_functions.texturesize.sampler2darrayshadow_vertex shaders.texture_functions.texturesize.sampler2darrayshadow_fragment Cc: [email protected] Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'docs/relnotes')
0 files changed, 0 insertions, 0 deletions