diff options
author | Sagar Ghuge <[email protected]> | 2020-02-03 21:58:50 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-13 18:44:50 +0000 |
commit | 3547e19bbd0d70fc391f5982ea38a026a5994b1c (patch) | |
tree | 80cdf67eea8e1a4f6f581ff73435cd03abb20151 /src/gallium/drivers | |
parent | 207a93bbff1ef0c40d8f7da339f03dbb12961a7c (diff) |
intel/isl: Switch to R8_UNORM format for compatiblity
Gen12 added CCS_E support for A8_UNORM. Intercept A8_UNORM format and
switch to R8_UNORM, as both share the same aux map format encoding so
they are compatible.
Fixes Piglit's ext_framebuffer_multisample-formats all_samples, which
was hitting an assert about A8_UNORM and R8_UINT not being CCS_E
compatible formats.
v2: Add gen check (Kenneth Graunke)
v3: Intercept A8_UNORM and set format to R8_UNORM (Jason Ekstrand)
v4:
- Remove gen check and move block little bit down (Jason Ekstrand)
Signed-off-by: Sagar Ghuge <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3719>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3719>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions