diff options
author | Timothy Arceri <[email protected]> | 2019-03-05 15:05:52 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-03-06 13:10:02 +1100 |
commit | 81ee2cd8ba5a0145520e849e20c1a8e43f78c6fa (patch) | |
tree | e48654b4aa6bd70eda71e17eedbe5e1a20143dfa /src/intel | |
parent | 272e927d0e9fed6e791d706ff5d895b6c2036fc0 (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/intel')
-rw-r--r-- | src/intel/compiler/brw_vec4_visitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_vec4_visitor.cpp b/src/intel/compiler/brw_vec4_visitor.cpp index 41cebf0b838..7d6032a31e1 100644 --- a/src/intel/compiler/brw_vec4_visitor.cpp +++ b/src/intel/compiler/brw_vec4_visitor.cpp @@ -686,7 +686,7 @@ src_reg::src_reg(class vec4_visitor *v, const struct glsl_type *type) this->file = VGRF; this->nr = v->alloc.allocate(type_size_vec4(type)); - if (type->is_array() || type->is_record()) { + if (type->is_array() || type->is_struct()) { this->swizzle = BRW_SWIZZLE_NOOP; } else { this->swizzle = brw_swizzle_for_size(type->vector_elements); @@ -716,7 +716,7 @@ dst_reg::dst_reg(class vec4_visitor *v, const struct glsl_type *type) this->file = VGRF; this->nr = v->alloc.allocate(type_size_vec4(type)); - if (type->is_array() || type->is_record()) { + if (type->is_array() || type->is_struct()) { this->writemask = WRITEMASK_XYZW; } else { this->writemask = (1 << type->vector_elements) - 1; |