diff options
author | Rafael Antognolli <[email protected]> | 2018-01-18 09:50:48 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2018-04-05 07:42:45 -0700 |
commit | 021e1885d0d09adf3b9bc40c74172f983a2263dd (patch) | |
tree | 22cb9e705ceabe25f91e6348480e260be353486d /src/intel/vulkan/anv_device.c | |
parent | 3f96b459f425d05dfb1c809b2b9c2f66f8763743 (diff) |
anv: Emit the fast clear color address, instead of value.
On Gen10+, instead of copying the clear color from the state buffer to
the surface state, just use the address of the state buffer in the
surface state directly. This way we can avoid the copy from state buffer
to surface state.
v4:
- Remove use_clear_address from anv code. (Jason)
- Use the helper to extract clear color from attachment (Jason)
Signed-off-by: Rafael Antognolli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
0 files changed, 0 insertions, 0 deletions