/external/mesa3d/src/compiler/nir/ |
D | nir_linking_helpers.c | 79 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 …]
|
D | nir_lower_io_to_scalar.c | 190 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()
|
D | nir_lower_io_arrays_to_elements.c | 253 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()
|
D | nir_print.c | 463 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()
|
D | nir_lower_io.c | 419 unsigned component_offset = var->data.location_frac; in nir_lower_io_block()
|
D | nir.h | 236 unsigned location_frac:2; member
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | invalidate_locations_test.cpp | 71 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()
|
D | builtin_variable_test.cpp | 185 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/ |
D | link_varyings.cpp | 605 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 …]
|
D | lower_packed_varyings.cpp | 306 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()
|
D | link_varyings.h | 250 unsigned location_frac; variable
|
D | lower_blend_equation_advanced.cpp | 518 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()
|
D | ir_print_visitor.cpp | 177 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()
|
D | linker.cpp | 555 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()
|
D | glsl_to_nir.cpp | 402 var->data.location_frac = ir->data.location_frac; in visit()
|
D | ir.h | 792 unsigned location_frac:2; member
|
D | ir.cpp | 1696 this->data.location_frac = 0; in ir_variable()
|
D | ast_to_hir.cpp | 3684 var->data.location_frac = qual_component; in apply_layout_qualifier_to_variable()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_priv.h | 155 input->data.location_frac = \
|
/external/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 472 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/ |
D | si_shader_nir.c | 353 gs_out_streams |= variable->data.stream << (2 * (variable->data.location_frac + j)); in si_nir_scan_shader()
|
D | si_shader.c | 1463 const unsigned component = var->data.location_frac; in si_nir_store_output_tcs()
|
/external/mesa3d/src/amd/common/ |
D | ac_nir_to_llvm.c | 2957 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/ |
D | vtn_variables.c | 1336 nir_var->data.location_frac = dec->literals[0]; in apply_var_decoration()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 2418 unsigned component = var->data.location_frac; in visit() 2462 unsigned component = var->data.location_frac; in visit()
|