summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_state.c
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-03-27 10:27:18 -0700
committerRafael Antognolli <[email protected]>2019-04-02 15:26:38 -0700
commitc26d8a887d003d70518035e3db1ff3de260e8434 (patch)
tree10cd385acc92b6ee74ebf0508b6e3e94aa19e655 /src/gallium/drivers/iris/iris_state.c
parent26606672847501b93a4b070165fc23d2d845810a (diff)
iris: Manually apply fast clear color channel overrides.
At the fast clear time, the only swizzle we have available is actually the identity swizzle (which we use for most rendering). So the call to swizzle_color_value() becomes simply a no-op, and doesn't properly zero out the unused channels. We have to manually override those channels. Fixes: a8b5ea8ef015ed4a "iris: Add function to update clear color in surface state." Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_state.c')
0 files changed, 0 insertions, 0 deletions