diff options
author | Alejandro Piñeiro <[email protected]> | 2017-07-01 08:14:09 +0200 |
---|---|---|
committer | Jose Maria Casanova Crespo <[email protected]> | 2017-12-06 08:57:18 +0100 |
commit | 82fa4d45e7f25f6773d4487ae93feebcf6183eeb (patch) | |
tree | d4f906599dc803c863e120dd0b49ca3844a1b127 /src/intel/compiler/brw_nir.c | |
parent | d6cd14f2131a5b1c41ab777ef3ea041993de1c1b (diff) |
i965/fs: Enable rounding mode on f2f16 ops
By default we don't set the rounding mode. We only set
round-to-near-even or round-to-zero mode if explicitly set from nir.
v2: Use a single SHADER_OPCODE_RND_MODE opcode taking an immediate
with the rounding mode (Curro)
v3: Use new helper brw_rnd_mode_from_nir_op (Jason Ekstrand)
Signed-off-by: Jose Maria Casanova Crespo <[email protected]>
Signed-off-by: Alejandro Piñeiro <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
0 files changed, 0 insertions, 0 deletions