summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/hir_field_selection.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-03-05 15:05:52 +1100
committerTimothy Arceri <[email protected]>2019-03-06 13:10:02 +1100
commit81ee2cd8ba5a0145520e849e20c1a8e43f78c6fa (patch)
treee48654b4aa6bd70eda71e17eedbe5e1a20143dfa /src/compiler/glsl/hir_field_selection.cpp
parent272e927d0e9fed6e791d706ff5d895b6c2036fc0 (diff)
glsl: rename is_record() -> is_struct()
Replace was done using: find ./src -type f -exec sed -i -- \ 's/is_record(/is_struct(/g' {} \; Acked-by: Karol Herbst <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/hir_field_selection.cpp')
-rw-r--r--src/compiler/glsl/hir_field_selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/hir_field_selection.cpp b/src/compiler/glsl/hir_field_selection.cpp
index 9f23643fd02..cb499d43b06 100644
--- a/src/compiler/glsl/hir_field_selection.cpp
+++ b/src/compiler/glsl/hir_field_selection.cpp
@@ -46,7 +46,7 @@ _mesa_ast_field_selection_to_hir(const ast_expression *expr,
YYLTYPE loc = expr->get_location();
if (op->type->is_error()) {
/* silently propagate the error */
- } else if (op->type->is_record() || op->type->is_interface()) {
+ } else if (op->type->is_struct() || op->type->is_interface()) {
result = new(ctx) ir_dereference_record(op,
expr->primary_expression.identifier);