Home
last modified time | relevance | path

Searched refs:arr_var (Results 1 – 17 of 17) sorted by relevance

/third_party/spirv-tools/source/opt/
Deliminate_dead_input_components_pass.cpp128 void EliminateDeadInputComponentsPass::ChangeArrayLength(Instruction& arr_var, in ChangeArrayLength() argument
134 type_mgr->GetType(arr_var.type_id())->AsPointer(); in ChangeArrayLength()
144 arr_var.SetResultType(new_ptr_ty_id); in ChangeArrayLength()
145 def_use_mgr->AnalyzeInstUse(&arr_var); in ChangeArrayLength()
147 USE_ASSERT(arr_var.GetSingleWordInOperand(kVariableStorageClassInIdx) != in ChangeArrayLength()
151 arr_var.RemoveFromList(); in ChangeArrayLength()
152 arr_var.InsertAfter(new_ptr_ty_inst); in ChangeArrayLength()
/third_party/skia/third_party/externals/tint/test/types/
Dmodule_scope_var_initializers.wgsl.expected.spvasm18 OpName %arr_var "arr_var"
62 %arr_var = OpVariable %_ptr_Private__arr_float_uint_4 Private %36
79 OpStore %arr_var %36
Dmodule_scope_var.wgsl.expected.spvasm18 OpName %arr_var "arr_var"
62 %arr_var = OpVariable %_ptr_Private__arr_float_uint_4 Private %38
79 OpStore %arr_var %38
Dfunction_scope_declarations.wgsl.expected.spvasm19 OpName %arr_var "arr_var"
71 %arr_var = OpVariable %_ptr_Function__arr_float_uint_4 Function %42
81 OpStore %arr_var %42
Dmodule_scope_var.wgsl.expected.wgsl21 var<private> arr_var : array<f32, 4>;
35 arr_var = array<f32, 4>();
Dmodule_scope_var_initializers.wgsl.expected.wgsl21 var<private> arr_var : array<f32, 4> = array<f32, 4>();
35 arr_var = array<f32, 4>();
Dmodule_scope_var.wgsl13 var<private> arr_var : array<f32, 4>;
27 arr_var = array<f32, 4>();
Dmodule_scope_var_initializers.wgsl.expected.hlsl13 static float arr_var[4] = (float[4])0;
27 arr_var = tint_symbol;
Dmodule_scope_var.wgsl.expected.hlsl13 static float arr_var[4] = (float[4])0;
27 arr_var = tint_symbol;
Dmodule_scope_var_initializers.wgsl.expected.glsl16 float arr_var[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
30 arr_var = tint_symbol_1;
Dmodule_scope_var_initializers.wgsl13 var<private> arr_var : array<f32, 4> = array<f32, 4>();
27 arr_var = array<f32, 4>();
Dmodule_scope_var.wgsl.expected.glsl16 float arr_var[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);
30 arr_var = tint_symbol_1;
Dfunction_scope_declarations.wgsl.expected.wgsl23 var arr_var : array<f32, 4> = array<f32, 4>();
29 let ptr_arr : ptr<function, array<f32, 4>> = &(arr_var);
Dfunction_scope_declarations.wgsl23 var arr_var : array<f32, 4> = array<f32, 4>();
29 let ptr_arr : ptr<function, array<f32, 4>> = &arr_var;
Dfunction_scope_declarations.wgsl.expected.msl28 tint_array_wrapper arr_var = {.arr={}};
Dfunction_scope_declarations.wgsl.expected.hlsl23 float arr_var[4] = (float[4])0;
Dfunction_scope_declarations.wgsl.expected.glsl26 float arr_var[4] = float[4](0.0f, 0.0f, 0.0f, 0.0f);