diff options
author | Dave Airlie <[email protected]> | 2016-06-09 07:50:43 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-06-09 09:17:24 +1000 |
commit | 15896a470b2b56cefc2a00ce458fd784ed42cee9 (patch) | |
tree | b80c0b035fd782eb5a6515e3269c2cec7a450ea0 /src/compiler/glsl/ir_set_program_inouts.cpp | |
parent | 45c901f7a3a22898426a0c5dd4b39587a2432dd7 (diff) |
glsl/types: rename is_dual_slot_double to is_dual_slot_64bit.
In the future int64 support will have the same requirements.
Reviewed-by: Ilia Mirkin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_set_program_inouts.cpp')
-rw-r--r-- | src/compiler/glsl/ir_set_program_inouts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp b/src/compiler/glsl/ir_set_program_inouts.cpp index 183b13b82e3..1f9971dffc7 100644 --- a/src/compiler/glsl/ir_set_program_inouts.cpp +++ b/src/compiler/glsl/ir_set_program_inouts.cpp @@ -119,7 +119,7 @@ mark(struct gl_program *prog, ir_variable *var, int offset, int len, /* double inputs read is only for vertex inputs */ if (stage == MESA_SHADER_VERTEX && - var->type->without_array()->is_dual_slot_double()) + var->type->without_array()->is_dual_slot()) prog->DoubleInputsRead |= bitfield; if (stage == MESA_SHADER_FRAGMENT) { @@ -306,7 +306,7 @@ ir_set_program_inouts_visitor::try_mark_partial_variable(ir_variable *var, /* double element width for double types that takes two slots */ if (this->shader_stage != MESA_SHADER_VERTEX || var->data.mode != ir_var_shader_in) { - if (type->without_array()->is_dual_slot_double()) + if (type->without_array()->is_dual_slot()) elem_width *= 2; } |