mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
radv: Use MAX_PUSH_CONSTANTS_SIZE for saved push constants.
So that it can never again get out of sync. Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14485>
This commit is contained in:
parent
b6499dff37
commit
3a36d0b787
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ struct radv_meta_saved_state {
|
|||
struct radv_scissor_state scissor;
|
||||
struct radv_sample_locations_state sample_location;
|
||||
|
||||
char push_constants[128];
|
||||
char push_constants[MAX_PUSH_CONSTANTS_SIZE];
|
||||
|
||||
struct radv_render_pass *pass;
|
||||
const struct radv_subpass *subpass;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue