diff options
author | Ian Romanick <[email protected]> | 2018-06-26 19:21:43 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-07-09 09:24:36 -0700 |
commit | c1027505f94e5b968ee9ce31ec2666c42ac72d97 (patch) | |
tree | 920daf82bfd93166c1969a7303c90b5465173e3f /src/compiler/SConscript.spirv | |
parent | d68f2d7edeedebf2db58b28a9ac6befb7757afb7 (diff) |
intel/compiler: Relax mixed type restriction for saturating immediates
At the time of commit 7bc6e455e23 (i965: Add support for saturating
immediates.) we thought mixed type saturates would be impossible. We
were only thinking about type converting moves from D to F, for
example. However, type converting moves w/saturate from F to DF are
definitely possible. This change minimally relaxes the restriction to
allow cases that I have been able trigger via piglit tests.
Fixes new piglit tests:
- arb_gpu_shader_fp64/execution/built-in-functions/fs-sign-sat-neg-abs.shader_test
- arb_gpu_shader_fp64/execution/built-in-functions/vs-sign-sat-neg-abs.shader_test
Signed-off-by: Ian Romanick <[email protected]>
Cc: [email protected]
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
(cherry picked from commit f8e54d02f79057f679302c06847066edc3ae7aa7)
Diffstat (limited to 'src/compiler/SConscript.spirv')
0 files changed, 0 insertions, 0 deletions