mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
radv: reduce radv_discard_rectangle_info::count to 8-bit
DiscardRectangleCount must be less than or equal to maxDiscardRectangles which is limited to 4. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16778>
This commit is contained in:
parent
b62f1cdee8
commit
b968b99c45
1 changed files with 1 additions and 1 deletions
|
|
@ -1920,7 +1920,7 @@ struct radv_rasterization_info {
|
|||
struct radv_discard_rectangle_info {
|
||||
VkDiscardRectangleModeEXT mode;
|
||||
VkRect2D rects[MAX_DISCARD_RECTANGLES];
|
||||
uint32_t count;
|
||||
uint8_t count;
|
||||
};
|
||||
|
||||
struct radv_multisample_info {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue