summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/drawtex.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-12-17 20:04:32 -0800
committerKenneth Graunke <[email protected]>2016-12-19 11:33:40 -0800
commit37d63b50b196afe61b4d7c33b1118a49a5e1e13f (patch)
tree29d038173647a9d9a93a18973507ce6b312be96f /src/mesa/main/drawtex.c
parent9f93afb9a5586cb90e127ba7d63de3b416d08821 (diff)
mesa/get: Convert stencil values to TYPE_UINT.
These are listed as Z+ in the GL spec, and often have values of 0xFFFFFFFF. For glGetFloat, we should return 4294967295.0 rather than -1.0. Similarly, for glGetInteger64v, we should return 0xFFFFFFFF, not the sign extended 0xFFFFFFFFFFFFFFFF. Fixes 6 dEQP tests matching the pattern dEQP-GLES3.functional.state_query.integers.stencil*value*mask*getfloat when run in a single process (with state reset code happening between tests, which makes dEQP set the stencil value mask to 0xFFFFFFFF). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/drawtex.c')
0 files changed, 0 insertions, 0 deletions