summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a2xx/ir-a2xx.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-03-05 12:10:15 -0500
committerEmil Velikov <[email protected]>2015-06-03 12:28:58 +0100
commit07aa6d78bbc9639dd7bbc86bbb375aae1103ddfd (patch)
treebf497503c9cf094ea510885a62963725690694d8 /src/gallium/drivers/freedreno/a2xx/ir-a2xx.c
parent70816a66d5431db37cb6207efe6439b895746d16 (diff)
nv30: avoid doing extra work on clear and hitting unexpected states
Clearing can happen at a time when various state objects are incoherent and not ready for a draw. Some of the validation functions don't handle this well, so only flush the framebuffer state. This has the advantage of also not doing extra work. This works around some crashes that can happen when clearing. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Tobias Klausmann <[email protected]> (cherry picked from commit aba3392541f38f82e3ebde251fdcca78e90adbf3)
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/ir-a2xx.c')
0 files changed, 0 insertions, 0 deletions