diff options
author | Marek Olšák <[email protected]> | 2018-09-28 21:43:49 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-10-16 15:28:22 -0400 |
commit | ea039f789d9b54e1bd1d644b6a29863ca3500314 (patch) | |
tree | caffb14927d1e1413e0fcc54ffdcde59a3c8c12a /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 4fd8d2df9c65396319619fa0784378600fc834d0 (diff) |
radeonsi: use higher subpixel precision (QUANT_MODE) for smaller viewports
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 93082e262d6..7e15412ef87 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -603,11 +603,19 @@ struct si_framebuffer { bool DB_has_shader_readable_metadata; }; +enum si_quant_mode { + /* This is the list we want to support. */ + SI_QUANT_MODE_16_8_FIXED_POINT_1_256TH, + SI_QUANT_MODE_14_10_FIXED_POINT_1_1024TH, + SI_QUANT_MODE_12_12_FIXED_POINT_1_4096TH, +}; + struct si_signed_scissor { int minx; int miny; int maxx; int maxy; + enum si_quant_mode quant_mode; }; struct si_scissors { |