diff options
author | Nanley Chery <[email protected]> | 2016-04-11 16:33:21 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2016-04-23 11:35:08 -0700 |
commit | 710b1d2e665ed654fb8d52b146fa22469e1dc3a7 (patch) | |
tree | c809fc8ba405f401a7cc1330fcfa8733c50641df /src/intel/genxml | |
parent | e29b3bfd6e5200aebbff6f056c49e978682ccc09 (diff) |
i965/tex_image: Flush certain subnormal ASTC channel values
When uploading a linear, void-extent, ASTC LDR block on Skylake, we are
required to flush to zero the UNORM16 channel values that would be
denormalized. This is specifically required for the values: 1, 2, and 3.
Fixes the 14 failing tests in:
dEQP-GLES3.functional.texture.compressed.astc.void_extent_ldr.*
v2: Split out flushing function (Kristian Høgsberg)
v3: Map with READ instead of INVALIDATE (Kenneth Graunke)
Signed-off-by: Nanley Chery <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/genxml')
0 files changed, 0 insertions, 0 deletions