summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-10-14 15:15:13 -0700
committerEric Anholt <eric@anholt.net>2016-10-16 11:22:50 -0700
commit46cd3bab933196f46521c9462552ed19d16817e6 (patch)
tree7b374c35fe3232b89c94c3e168d4005109e049a7 /src/gallium/drivers
parent07422bf32b847493a1362e20eb0883c0e48fea84 (diff)
downloadexternal_mesa3d-46cd3bab933196f46521c9462552ed19d16817e6.zip
external_mesa3d-46cd3bab933196f46521c9462552ed19d16817e6.tar.gz
external_mesa3d-46cd3bab933196f46521c9462552ed19d16817e6.tar.bz2
state_tracker: Fix check for scissor enabled when < 0.
DEQP's clear tests like to give us x + w < 0 or y + h < 0. Since we were comparing to an unsigned, it would get promoted to unsigned and come out as bignum >= width or height and we would clear the whole fb instead of none of the fb. Fixes 10 tests under deqp-gles2/functional/color_clear. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions