diff options
author | Rob Clark <[email protected]> | 2016-04-19 09:02:23 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-04-19 17:14:04 -0400 |
commit | 899bd63acefd49a668e11c42d2ad92fa55aa157d (patch) | |
tree | 1afc85ddd51bf31412455d7c43fc78d35a91dd25 /src/gallium/state_trackers | |
parent | eddfc977096c63dc9699b63b05ad0e1212680fb1 (diff) |
freedreno/a4xx: lower srgb in shader for astc textures
This *seems* like a hw bug, and maybe only applies to certain a4xx
variants/revisions. But setting the SRGB bit in sampler view state
(texconst0) causes invalid alpha for ASTC textures. Work around this
by doing the srgb->linear conversion in the shader instead.
This fixes 392 dEQP tests: dEQP-GLES3.functional.texture.*astc*srgb*
(The remaining fails seem to be a bug w/ ASTC + linear filtering, also
possibly a420.0 specific.)
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions