mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
radeonsi: set CB_COLORn_INFO.ROUND_MODE
just do what the register spec says Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
667ad9fa3e
commit
9c63fd9056
1 changed files with 5 additions and 0 deletions
|
|
@ -2067,6 +2067,11 @@ static void si_initialize_color_surface(struct si_context *sctx,
|
|||
S_028C70_BLEND_CLAMP(blend_clamp) |
|
||||
S_028C70_BLEND_BYPASS(blend_bypass) |
|
||||
S_028C70_SIMPLE_FLOAT(1) |
|
||||
S_028C70_ROUND_MODE(ntype != V_028C70_NUMBER_UNORM &&
|
||||
ntype != V_028C70_NUMBER_SNORM &&
|
||||
ntype != V_028C70_NUMBER_SRGB &&
|
||||
format != V_028C70_COLOR_8_24 &&
|
||||
format != V_028C70_COLOR_24_8) |
|
||||
S_028C70_NUMBER_TYPE(ntype) |
|
||||
S_028C70_ENDIAN(endian);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue