diff options
author | Dave Airlie <[email protected]> | 2017-03-17 12:11:30 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-05-03 12:55:34 +1000 |
commit | 83e58b036e1c34f26c99d04615df2b530f3045d9 (patch) | |
tree | 1c89241329944a5b75c2f4b3a1ea925f649309ad /src/amd/common/ac_shader_info.h | |
parent | eeff7e11544f333d211c8f8ad3679db814050cfa (diff) |
radv: flush f32->f16 conversion denormals to zero. (v2)
SPIR-V defines the f32->f16 operation as flushing denormals to 0,
this compares the class using amd class opcode.
Thanks to Matt Arsenault for figuring it out.
This fix is VI+ only, add a TODO for SI/CIK.
This fixes:
dEQP-VK.spirv_assembly.instruction.compute.opquantize.flush_to_zero
Acked-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.h')
0 files changed, 0 insertions, 0 deletions