/third_party/mesa3d/src/compiler/glsl/tests/ |
D | invalidate_locations_test.cpp | 75 var->data.location_frac = 2; in TEST_F() 82 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 105 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 121 var->data.location_frac = 2; in TEST_F() 129 EXPECT_EQ(2u, var->data.location_frac); in TEST_F() 152 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 174 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 197 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
|
D | builtin_variable_test.cpp | 189 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 204 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 257 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 282 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 352 EXPECT_EQ(0u, var->data.location_frac); in TEST_F() 374 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_io_to_scalar.c | 195 nir_variable *chan_var = chan_vars[var->data.location_frac + i]; in lower_load_to_scalar_early() 196 if (!chan_vars[var->data.location_frac + i]) { in lower_load_to_scalar_early() 198 chan_var->data.location_frac = var->data.location_frac + i; in lower_load_to_scalar_early() 205 chan_vars[var->data.location_frac + i] = chan_var; in lower_load_to_scalar_early() 253 nir_variable *chan_var = chan_vars[var->data.location_frac + i]; in lower_store_output_to_scalar_early() 254 if (!chan_vars[var->data.location_frac + i]) { in lower_store_output_to_scalar_early() 256 chan_var->data.location_frac = var->data.location_frac + i; in lower_store_output_to_scalar_early() 263 chan_vars[var->data.location_frac + i] = chan_var; in lower_store_output_to_scalar_early()
|
D | nir_linking_helpers.c | 105 patches_read[var->data.location_frac + i] |= in tcs_add_output_reads() 108 read[var->data.location_frac + i] |= in tcs_add_output_reads() 158 uint64_t other_stage = used[var->data.location_frac]; in nir_remove_unused_io_vars() 190 patches_written[var->data.location_frac + i] |= in nir_remove_unused_varyings() 193 written[var->data.location_frac + i] |= in nir_remove_unused_varyings() 205 patches_read[var->data.location_frac + i] |= in nir_remove_unused_varyings() 208 read[var->data.location_frac + i] |= in nir_remove_unused_varyings() 326 unsigned num_comps = 4 - var->data.location_frac; in get_unmoveable_components_masks() 330 assert(var->data.location_frac == 0 || in get_unmoveable_components_masks() 331 var->data.location_frac == 2); in get_unmoveable_components_masks() [all …]
|
D | nir_gather_xfb_info.c | 132 assert(DIV_ROUND_UP(var->data.location_frac + comp_slots, 4) == in add_var_xfb_outputs() 136 assert(var->data.location_frac + comp_slots <= 8); in add_var_xfb_outputs() 137 uint8_t comp_mask = ((1 << comp_slots) - 1) << var->data.location_frac; in add_var_xfb_outputs() 138 unsigned comp_offset = var->data.location_frac; in add_var_xfb_outputs()
|
D | nir_lower_io_to_vector.c | 219 unsigned frac = var->data.location_frac; in create_new_io_vars() 274 var->data.location_frac = first; in create_new_io_vars() 300 var->data.location_frac = 0; in create_new_io_vars() 474 const unsigned old_frac = old_var->data.location_frac; in nir_lower_io_to_vector_impl() 483 const unsigned new_frac = new_var->data.location_frac; in nir_lower_io_to_vector_impl() 529 const unsigned old_frac = old_var->data.location_frac; in nir_lower_io_to_vector_impl() 535 const unsigned new_frac = new_var->data.location_frac; in nir_lower_io_to_vector_impl()
|
D | nir_lower_clip_cull_distance_arrays.c | 116 cull->data.location_frac = clip_array_size % 4; in combine_clip_cull()
|
D | nir_lower_io_arrays_to_elements.c | 259 int loc = var->data.location * 4 + var->data.location_frac; in create_indirects_mask() 311 int loc = var->data.location * 4 + var->data.location_frac; in lower_io_arrays_to_elements()
|
D | nir_serialize.c | 224 int location_frac:3; member 270 tmp.location_frac = ctx->last_var_data.location_frac; in write_variable() 311 diff.u.location_frac = data.location_frac - in write_variable() 312 ctx->last_var_data.location_frac; in write_variable() 381 var->data.location_frac += diff.u.location_frac; in read_variable()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_fs_out_to_vector.cpp | 160 m_vars[loc][var->data.location_frac] = var; in create_new_io_vars() 186 comps |= 1 << (m_vars[i][j]->data.location_frac + n); in create_new_io_vars() 189 comps |= 1 << (m_vars[i][k]->data.location_frac + n); in create_new_io_vars() 216 var->data.location_frac = first_comp; in create_new_io_var() 341 nir_variable *new_var = m_vars[loc][var->data.location_frac]; in vec_instr_stack_pop() 363 srcs[var->data.location_frac] = intr->src[1].ssa; in vec_instr_stack_pop() 371 if (m_vars[loc][var->data.location_frac] != in vec_instr_stack_pop() 372 m_vars[loc2][var2->data.location_frac]) { in vec_instr_stack_pop() 378 if (srcs[var2->data.location_frac] == &instr_undef->def) { in vec_instr_stack_pop() 381 srcs[var2->data.location_frac] = intr2->src[1].ssa; in vec_instr_stack_pop() [all …]
|
D | sfn_nir_vectorize_vs_inputs.c | 167 channels[i] = comp - var->data.location_frac + i; in r600_create_new_load() 192 new_var = updated_vars[loc][var->data.location_frac]; in r600_vec_instr_stack_pop() 209 r600_create_new_load(b, intr, new_var, var->data.location_frac, in r600_vec_instr_stack_pop() 357 var->data.location_frac = first_comp; in r600_create_new_io_var() 387 vars[loc][var->data.location_frac] = var; in r600_create_new_io_vars() 414 comps |= 1 << (vars[i][j]->data.location_frac + n); in r600_create_new_io_vars() 417 comps |= 1 << (vars[i][k]->data.location_frac + n); in r600_create_new_io_vars()
|
D | sfn_shaderio.cpp | 140 m_location_frac(input->data.location_frac), in ShaderInputVarying() 144 m_mask(((1 << input->type->components()) - 1) << input->data.location_frac) in ShaderInputVarying() 245 m_location_frac(orig.location_frac()), in ShaderInputVarying()
|
D | sfn_shaderio.h | 99 int location_frac() const {return m_location_frac;} in location_frac() function
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 114 unsigned location_frac = path.path[0]->var->data.location_frac; in gather_usage() local 121 mask = new_mask << location_frac; in gather_usage() 123 mask <<= location_frac; in gather_usage() 628 unsigned component = variable->data.location_frac; in nir_tgsi_scan_shader()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | link_varyings.cpp | 678 idx, var->data.location_frac, in validate_explicit_variable_location() 883 output = output_explicit_locations[idx][input->data.location_frac].var; in cross_validate_outputs_to_inputs() 1101 + this->matched_candidate->toplevel_var->data.location_frac in assign_location() 1170 this->location_frac = fine_location % 4; in assign_location() 1216 return (this->num_components() + this->location_frac + 3) / 4; in get_num_outputs() 1259 unsigned location_frac = this->location_frac; in store() local 1368 output_size = MIN2(num_components, 4 - location_frac); in store() 1383 info->Outputs[info->NumOutputs].ComponentOffset = location_frac; in store() 1396 location_frac = 0; in store() 2188 producer_var->data.location_frac = offset; in store_locations() [all …]
|
D | lower_packed_varyings.cpp | 310 this->lower_rvalue(deref, var->data.location * 4 + var->data.location_frac, var, in run() 619 unsigned location_frac = fine_location % 4; in lower_rvalue() local 621 swizzle_values[i] = i + location_frac; in lower_rvalue() 631 unpacked_var->data.stream << (2 * (location_frac + i)); in lower_rvalue()
|
D | link_varyings.h | 240 unsigned location_frac; variable
|
D | linker.cpp | 592 var->data.location_frac = 0; in link_invalidate_variable_locations() 1004 if (var->data.location_frac != existing->data.location_frac) { in cross_validate_globals() 3138 assigned[i]->data.location_frac; in assign_attribute_or_color_locations() 3141 var->data.location_frac; in assign_attribute_or_color_locations() 3147 var->data.location_frac); in assign_attribute_or_color_locations() 3323 if (explicit_locations[idx][var->data.location_frac] == NULL) in match_explicit_outputs_to_inputs() 3324 explicit_locations[idx][var->data.location_frac] = var; in match_explicit_outputs_to_inputs() 3345 [input->data.location_frac]; in match_explicit_outputs_to_inputs() 3783 out->component = in->data.location_frac; in create_shader_variable()
|
D | ir_print_visitor.cpp | 162 if (ir->data.explicit_component || ir->data.location_frac != 0) in visit() 164 ir->data.location_frac); in visit()
|
D | lower_blend_equation_advanced.cpp | 519 outputs[var->data.location_frac + i] = var; in lower_blend_equation_advanced() 536 i - outputs[i]->data.location_frac, 1); in lower_blend_equation_advanced()
|
D | lower_named_interface_blocks.cpp | 183 new_var->data.location_frac = in run()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_signature.c | 121 if (var->data.location_frac) { in get_additional_semantic_info() 131 var->data.location_frac; in get_additional_semantic_info() 150 info->start_col = (uint8_t)var->data.location_frac; in get_additional_semantic_info()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_priv.h | 175 input->data.location_frac = (offset / sizeof(float)) % 4; in blorp_create_nir_input()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 1066 int chan = var->data.location_frac + i; in emit_fragment_input() 1080 int chan = var->data.location_frac + array_index % 4; in emit_compact_fragment_input() 1908 a->data.location_frac - b->data.location_frac : in driver_location_compare() 1959 int start_component = var->data.location_frac; in ntq_setup_vs_inputs() 2070 unsigned loc_frac = var->data.location_frac + j; in ntq_setup_gs_inputs() 2082 unsigned chan = var->data.location_frac + k; in ntq_setup_gs_inputs() 2152 for (int i = 0; i < 4 - var->data.location_frac; i++) { in ntq_setup_outputs() 2153 add_output(c, loc + var->data.location_frac + i, in ntq_setup_outputs() 2155 var->data.location_frac + i); in ntq_setup_outputs()
|
/third_party/mesa3d/docs/relnotes/ |
D | 17.3.3.rst | 63 - ac/nir: Sanitize location_frac for local variables.
|