diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2018-07-09 09:46:59 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2019-09-17 23:39:18 +0300 |
commit | 1e0e3ed15a8cfb98a182714bcb3e55cfab5c3df7 (patch) | |
tree | f43a7a815e6e9ac306651ca21bf1ee7dd2ec79d4 /src/vulkan/wsi/wsi_common_display.c | |
parent | f097247dd831da9b6e48baebc8b91efec3afcd28 (diff) |
nir: fix denorms in unpack_half_1x16()
According to VK_KHR_shader_float_controls:
"Denormalized values obtained via unpacking an integer into a vector
of values with smaller bit width and interpreting those values as
floating-point numbers must: be flushed to zero, unless the entry
point is declared with the code:DenormPreserve execution mode."
v2:
- Add nir_op_unpack_half_2x16_flush_to_zero opcode (Connor).
v3:
- Adapt to use the new NIR lowering framework (Andres).
v4:
- Updated to renamed shader info member and enum values (Andres).
v5:
- Simplify flags logic operations (Caio).
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Connor Abbott <[email protected]> [v2]
Diffstat (limited to 'src/vulkan/wsi/wsi_common_display.c')
0 files changed, 0 insertions, 0 deletions