diff options
author | Alejandro Piñeiro <[email protected]> | 2017-07-01 08:12:59 +0200 |
---|---|---|
committer | Jose Maria Casanova Crespo <[email protected]> | 2017-12-06 08:57:18 +0100 |
commit | d6cd14f2131a5b1c41ab777ef3ea041993de1c1b (patch) | |
tree | 445f700f23e02df798d4ab4ae8723b5699c4f3ba /doxygen/glapi.doxy | |
parent | ac8d4734f695b718ae072c2ad961a2cc546b21e0 (diff) |
i965/fs: Define new shader opcode to set rounding modes
Although it is possible to emit them directly as AND/OR on brw_fs_nir,
having a specific opcode makes it easier to remove duplicate settings
later.
v2: (Curro)
- Set thread control to 'switch' when using the control register
- Use a single SHADER_OPCODE_RND_MODE opcode taking an immediate
with the rounding mode.
- Avoid magic numbers setting rounding mode field at control register.
v3: (Curro)
- Remove redundant and add missing whitespace lines.
- Match printing instruction to IR opcode "rnd_mode"
v4: (Topi Pohjolainen)
- Fix code style.
Signed-off-by: Alejandro Piñeiro <[email protected]>
Signed-off-by: Jose Maria Casanova Crespo <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'doxygen/glapi.doxy')
0 files changed, 0 insertions, 0 deletions