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/linker.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/linker.cpp')
-rw-r--r-- | src/compiler/glsl/linker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp index 9e6559005d7..4ddd46e3a80 100644 --- a/src/compiler/glsl/linker.cpp +++ b/src/compiler/glsl/linker.cpp @@ -2863,7 +2863,7 @@ assign_attribute_or_color_locations(gl_shader_program *prog, * issue (3) of the GL_ARB_vertex_attrib_64bit behavior, this * is optional behavior, but it seems preferable. */ - if (var->type->without_array()->is_dual_slot_double()) + if (var->type->without_array()->is_dual_slot()) double_storage_locations |= (use_mask << attr); } @@ -2940,7 +2940,7 @@ assign_attribute_or_color_locations(gl_shader_program *prog, to_assign[i].var->data.is_unmatched_generic_inout = 0; used_locations |= (use_mask << location); - if (to_assign[i].var->type->without_array()->is_dual_slot_double()) + if (to_assign[i].var->type->without_array()->is_dual_slot()) double_storage_locations |= (use_mask << location); } |