mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
glsl: fix per_vertex_accumulator::fields size
49d35f3d88moved gl_Layer/gl_ViewportIndex/gl_ViewportMask as builtins but fields size wasn't increased. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3508 Fixes:49d35f3d88("glsl: declare gl_Layer/gl_ViewportIndex/gl_ViewportMask as vs builtins") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6688>
This commit is contained in:
parent
26299c87f8
commit
8a2a9e9bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ public:
|
|||
const glsl_type *construct_interface_instance() const;
|
||||
|
||||
private:
|
||||
glsl_struct_field fields[11];
|
||||
glsl_struct_field fields[14];
|
||||
unsigned num_fields;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue