aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-03-05 15:46:14 +1100
committerTimothy Arceri <[email protected]>2019-03-06 13:10:02 +1100
commit88d8c4e29003bddeb3836a0af2a2d4dddf3ba9ac (patch)
tree95a8d98d0882e8c8e9399e91960ea63c6f19b103 /src/compiler/glsl/tests
parent81ee2cd8ba5a0145520e849e20c1a8e43f78c6fa (diff)
glsl: rename get_record_instance() -> get_struct_instance()
Replace done using: find ./src -type f -exec sed -i -- \ 's/get_record_instance(/get_struct_instance(/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/tests')
-rw-r--r--src/compiler/glsl/tests/array_refcount_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/tests/array_refcount_test.cpp b/src/compiler/glsl/tests/array_refcount_test.cpp
index 45c204dc2f8..edd9cf42a31 100644
--- a/src/compiler/glsl/tests/array_refcount_test.cpp
+++ b/src/compiler/glsl/tests/array_refcount_test.cpp
@@ -477,7 +477,7 @@ TEST_F(array_refcount_test, do_not_process_array_inside_structure)
};
const glsl_type *const record_of_array_3_of_int =
- glsl_type::get_record_instance(fields, ARRAY_SIZE(fields), "S");
+ glsl_type::get_struct_instance(fields, ARRAY_SIZE(fields), "S");
ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::int_type,
"a",