diff options
author | Paul Berry <[email protected]> | 2013-09-24 14:30:29 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-10-09 16:49:26 -0700 |
commit | 22d3ef2df1f4fd6c4a0aaf17996fdcd9b70547cb (patch) | |
tree | 609e6c8706f024d684eb32b8de1e828a57dcefb6 /src/glsl/builtin_variables.cpp | |
parent | 6f19e552af7ab078cfefbcaa1560bb921ddcaf07 (diff) |
glsl: Make accessor functions for ir_variable::interface_type.
In a future patch, this will allow us to enforce invariants when the
interface type is updated.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
-rw-r--r-- | src/glsl/builtin_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index e2f69fa8767..7a64acc9e6d 100644 --- a/src/glsl/builtin_variables.cpp +++ b/src/glsl/builtin_variables.cpp @@ -831,7 +831,7 @@ builtin_variable_generator::generate_varyings() "gl_in"); ir_variable *var = add_variable("gl_in", array(per_vertex_type, 0), ir_var_shader_in, 0); - var->interface_type = per_vertex_type; + var->init_interface_type(per_vertex_type); } } |