diff options
author | Topi Pohjolainen <[email protected]> | 2016-05-31 10:36:12 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2016-06-01 09:16:36 +0300 |
commit | 30e9e6bd071097fd602a15f488b7eead45460885 (patch) | |
tree | e2566d4447c54a53a0d1852c6a424b40647f21f2 /src/util | |
parent | a3dc99f3d48df3da1e997d95961747daed0ba6b9 (diff) |
i965/gen9: Configure rbc buffers as plain for non-rbc tex views
Fixes rendering in Shadow of Mordor with rbc. Application writes
RGBA_UNORM texture filling it with values the application wants to
later on treat as SRGB_ALPHA.
Intel driver enables lossless compression for the buffer by the time
of writing. However, the driver fails to make sure the buffer can be
sampled as something else later on and unfortunately there is
restriction in the hardware for using lossless compression for srgb
formats which looks to extend itself to the sampling engine also.
Requesting srgb to linear conversion on top of compressed buffer
results the color values to be pretty much garbage.
Fortunately none of tracked benchmarks showed a regression with
this.
v2 (Matt): Add missing space
Cc: "12.0" <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions