Home
last modified time | relevance | path

Searched refs:location_frac (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c79 patches_read[var->data.location_frac] |= in tcs_add_output_reads()
83 read[var->data.location_frac] |= in tcs_add_output_reads()
114 uint64_t other_stage = used[var->data.location_frac]; in remove_unused_io_vars()
142 patches_written[var->data.location_frac] |= in nir_remove_unused_varyings()
145 written[var->data.location_frac] |= in nir_remove_unused_varyings()
152 patches_read[var->data.location_frac] |= in nir_remove_unused_varyings()
155 read[var->data.location_frac] |= in nir_remove_unused_varyings()
242 unsigned num_comps = 4 - var->data.location_frac; in get_slot_component_masks_and_interp_types()
246 assert(var->data.location_frac == 0 || in get_slot_component_masks_and_interp_types()
247 var->data.location_frac == 2); in get_slot_component_masks_and_interp_types()
[all …]
Dnir_lower_io_to_scalar.c190 nir_variable *chan_var = chan_vars[var->data.location_frac + i]; in lower_load_to_scalar_early()
191 if (!chan_vars[var->data.location_frac + i]) { in lower_load_to_scalar_early()
193 chan_var->data.location_frac = var->data.location_frac + i; in lower_load_to_scalar_early()
196 chan_vars[var->data.location_frac + i] = chan_var; in lower_load_to_scalar_early()
245 nir_variable *chan_var = chan_vars[var->data.location_frac + i]; in lower_store_output_to_scalar_early()
246 if (!chan_vars[var->data.location_frac + i]) { in lower_store_output_to_scalar_early()
248 chan_var->data.location_frac = var->data.location_frac + i; in lower_store_output_to_scalar_early()
251 chan_vars[var->data.location_frac + i] = chan_var; in lower_store_output_to_scalar_early()
Dnir_lower_io_arrays_to_elements.c253 patch_indirects[var->data.location_frac] |= loc_mask; in create_indirects_mask()
256 indirects[var->data.location_frac] |= loc_mask; in create_indirects_mask()
294 if (patch_indirects[var->data.location_frac] & loc_mask) in lower_io_arrays_to_elements()
297 if (indirects[var->data.location_frac] & loc_mask) in lower_io_arrays_to_elements()
Dnir_print.c463 components_local[i + 1] = xyzw[i + var->data.location_frac]; in print_var_decl()
667 var->data.location_frac == nir_intrinsic_component(instr)) && in print_intrinsic_instr()
Dnir_lower_io.c419 unsigned component_offset = var->data.location_frac; in nir_lower_io_block()
Dnir.h236 unsigned location_frac:2; member
/external/mesa3d/src/compiler/glsl/tests/
Dinvalidate_locations_test.cpp71 var->data.location_frac = 2; in TEST_F()
78 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
101 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
117 var->data.location_frac = 2; in TEST_F()
125 EXPECT_EQ(2u, var->data.location_frac); in TEST_F()
148 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
170 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
193 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
Dbuiltin_variable_test.cpp185 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
200 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
253 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
278 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
348 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
370 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
/external/mesa3d/src/compiler/glsl/
Dlink_varyings.cpp605 idx, var->data.location_frac, in validate_explicit_variable_location()
767 output = explicit_locations[idx][input->data.location_frac].var; in cross_validate_outputs_to_inputs()
971 + this->matched_candidate->toplevel_var->data.location_frac in assign_location()
1040 this->location_frac = fine_location % 4; in assign_location()
1080 return (this->num_components() + this->location_frac + 3)/4; in get_num_outputs()
1120 unsigned location_frac = this->location_frac; in store() local
1123 unsigned output_size = MIN2(num_components, 4 - location_frac); in store()
1136 info->Outputs[info->NumOutputs].ComponentOffset = location_frac; in store()
1149 location_frac = 0; in store()
1908 producer_var->data.location_frac = offset; in store_locations()
[all …]
Dlower_packed_varyings.cpp306 this->lower_rvalue(deref, var->data.location * 4 + var->data.location_frac, var, in run()
604 unsigned location_frac = fine_location % 4; in lower_rvalue() local
606 swizzle_values[i] = i + location_frac; in lower_rvalue()
615 unpacked_var->data.stream << (2 * (location_frac + i)); in lower_rvalue()
Dlink_varyings.h250 unsigned location_frac; variable
Dlower_blend_equation_advanced.cpp518 outputs[var->data.location_frac + i] = var; in lower_blend_equation_advanced()
535 i - outputs[i]->data.location_frac, 1); in lower_blend_equation_advanced()
Dir_print_visitor.cpp177 if (ir->data.explicit_component || ir->data.location_frac != 0) in visit()
178 snprintf(component, sizeof(component), "component=%i ", ir->data.location_frac); in visit()
Dlinker.cpp555 var->data.location_frac = 0; in link_invalidate_variable_locations()
965 if (var->data.location_frac != existing->data.location_frac) { in cross_validate_globals()
2883 assigned[i]->data.location_frac; in assign_attribute_or_color_locations()
2886 var->data.location_frac; in assign_attribute_or_color_locations()
2892 var->data.location_frac); in assign_attribute_or_color_locations()
3065 if (explicit_locations[idx][var->data.location_frac] == NULL) in match_explicit_outputs_to_inputs()
3066 explicit_locations[idx][var->data.location_frac] = var; in match_explicit_outputs_to_inputs()
3081 [input->data.location_frac]; in match_explicit_outputs_to_inputs()
3803 out->component = in->data.location_frac; in create_shader_variable()
Dglsl_to_nir.cpp402 var->data.location_frac = ir->data.location_frac; in visit()
Dir.h792 unsigned location_frac:2; member
Dir.cpp1696 this->data.location_frac = 0; in ir_variable()
Dast_to_hir.cpp3684 var->data.location_frac = qual_component; in apply_layout_qualifier_to_variable()
/external/mesa3d/src/intel/blorp/
Dblorp_priv.h155 input->data.location_frac = \
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c472 int chan = var->data.location_frac + i; in emit_fragment_input()
1332 add_output(c, loc + var->data.location_frac + i, in ntq_setup_outputs()
1334 var->data.location_frac + i); in ntq_setup_outputs()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c353 gs_out_streams |= variable->data.stream << (2 * (variable->data.location_frac + j)); in si_nir_scan_shader()
Dsi_shader.c1463 const unsigned component = var->data.location_frac; in si_nir_store_output_tcs()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c2957 const unsigned component = var->data.location_frac; in store_tcs_output()
3174 instr->variables[0]->var->data.location_frac, in load_tess_varyings()
3186 unsigned comp = instr->variables[0]->var->data.location_frac; in visit_load_var()
3214 instr->variables[0]->var->data.location_frac, ve, in visit_load_var()
3299 unsigned comp = instr->variables[0]->var->data.location_frac; in visit_store_var()
4209 instr->variables[0]->var->data.location_frac); in visit_interp()
5737 variable->data.location_frac = 0; in setup_locals()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1336 nir_var->data.location_frac = dec->literals[0]; in apply_var_decoration()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2418 unsigned component = var->data.location_frac; in visit()
2462 unsigned component = var->data.location_frac; in visit()