/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_args.c | 47 &args->shader_info->user_sgprs_locs.shader_data[idx]; in set_loc_shader() 65 &args->shader_info->user_sgprs_locs; in set_loc_desc() 84 if (args->shader_info->needs_multiview_view_index || in needs_view_index_sgpr() 89 …if (args->shader_info->needs_multiview_view_index || (!args->options->key.vs_common_out.as_es && a… in needs_view_index_sgpr() 93 if (args->shader_info->needs_multiview_view_index) in needs_view_index_sgpr() 97 if (args->shader_info->needs_multiview_view_index || in needs_view_index_sgpr() 113 if (args->shader_info->vs.has_vertex_buffers) in count_vs_user_sgprs() 115 count += args->shader_info->vs.needs_draw_id ? 3 : 2; in count_vs_user_sgprs() 126 if (args->shader_info->min_push_constant_used == UINT8_MAX) in allocate_inline_push_consts() 130 if (args->shader_info->has_indirect_push_constants) in allocate_inline_push_consts() [all …]
|
D | radv_nir_to_llvm.c | 152 uint32_t num_tcs_outputs = ctx->args->shader_info->tcs.num_linked_outputs; in get_tcs_out_patch_stride() 153 uint32_t num_tcs_patch_outputs = ctx->args->shader_info->tcs.num_linked_patch_outputs; in get_tcs_out_patch_stride() 164 uint32_t num_tcs_outputs = ctx->args->shader_info->tcs.num_linked_outputs; in get_tcs_out_vertex_stride() 192 uint32_t num_tcs_outputs = ctx->args->shader_info->tcs.num_linked_outputs; in get_tcs_out_patch0_patch_data_offset() 260 uint32_t mask = ctx->args->shader_info->desc_set_used_mask; in load_descriptor_sets() 261 if (ctx->args->shader_info->need_indirect_descriptor_sets) { in load_descriptor_sets() 407 num_tcs_outputs = ctx->args->shader_info->tcs.num_linked_outputs; in get_non_vertex_index_offset() 409 num_tcs_outputs = ctx->args->shader_info->tes.num_linked_inputs; in get_non_vertex_index_offset() 740 if (ctx->args->shader_info->ps.force_persample) { in load_sample_mask_in() 781 ctx->args->shader_info->gs.output_usage_mask[i]; in visit_emit_vertex_with_counter() [all …]
|
D | radv_shader_args.h | 32 struct radv_shader_info *shader_info; member
|
/external/deqp-deps/amber/src/ |
D | shader_compiler_test.cc | 110 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F() local 112 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() 129 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F() local 131 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() 149 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F() local 151 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() 166 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F() local 168 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() 239 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F() local 241 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() [all …]
|
D | clspv_helper.cc | 33 Pipeline::ShaderInfo* shader_info = nullptr; member 107 helper->shader_info->AddDescriptorEntry(helper->strings[kernel_id], in ParseExtendedInst() 133 helper->shader_info->AddDescriptorEntry(helper->strings[kernel_id], in ParseExtendedInst() 156 helper->shader_info->AddDescriptorEntry(helper->strings[kernel_id], in ParseExtendedInst() 180 helper->shader_info->AddPushConstant(std::move(push_constant)); in ParseExtendedInst() 189 helper->shader_info->AddPushConstant(std::move(push_constant)); in ParseExtendedInst() 252 Result Compile(Pipeline::ShaderInfo* shader_info, in Compile() argument 256 const auto& src_str = shader_info->GetShader()->GetData(); in Compile() 258 for (const auto& option : shader_info->GetCompileOptions()) { in Compile() 269 helper.shader_info = shader_info; in Compile()
|
D | shader_compiler.cc | 65 Pipeline::ShaderInfo* shader_info, in Compile() argument 67 const auto shader = shader_info->GetShader(); in Compile() 136 Result r = CompileHlsl(shader, shader_info->GetEmitDebugInfo(), &results); in Compile() 151 Result r = CompileOpenCLC(shader_info, pipeline, target_env, &results); in Compile() 173 if (!shader_info->GetShaderOptimizations().empty()) { in Compile() 177 shader_info->GetShaderOptimizations())) { in Compile() 292 Result ShaderCompiler::CompileOpenCLC(Pipeline::ShaderInfo* shader_info, in CompileOpenCLC() argument 296 return clspvhelper::Compile(shader_info, pipeline, env, result); in CompileOpenCLC()
|
D | script.cc | 33 auto shader_info = pipeline->GetShader(shader.get()); in GetShaderInfo() local 34 if (shader_info) { in GetShaderInfo() 38 shader->GetData(), shader_info->GetShaderOptimizations(), in GetShaderInfo() 39 shader->GetTargetEnv(), shader_info->GetData()}); in GetShaderInfo()
|
D | executor.cc | 37 for (auto& shader_info : pipeline->GetShaders()) { in CompileShaders() local 38 std::string target_env = shader_info.GetShader()->GetTargetEnv(); in CompileShaders() 47 std::tie(r, data) = sc.Compile(pipeline.get(), &shader_info, shader_map); in CompileShaders() 51 shader_info.SetData(std::move(data)); in CompileShaders()
|
D | pipeline.cc | 675 const auto& shader_info = GetShaders()[0]; in UpdateOpenCLBufferBindings() local 676 const auto& descriptor_map = shader_info.GetDescriptorMap(); in UpdateOpenCLBufferBindings() 680 const auto iter = descriptor_map.find(shader_info.GetEntryPoint()); in UpdateOpenCLBufferBindings() 775 const auto& shader_info = GetShaders()[0]; in GenerateOpenCLPodBuffers() local 776 const auto& descriptor_map = shader_info.GetDescriptorMap(); in GenerateOpenCLPodBuffers() 780 const auto iter = descriptor_map.find(shader_info.GetEntryPoint()); in GenerateOpenCLPodBuffers() 831 shader_info.GetEntryPoint(); in GenerateOpenCLPodBuffers() 894 shader_info.GetEntryPoint(); in GenerateOpenCLPodBuffers() 1007 const auto& shader_info = GetShaders()[0]; in GenerateOpenCLPushConstants() local 1008 if (shader_info.GetPushConstants().empty()) in GenerateOpenCLPushConstants() [all …]
|
D | clspv_helper.h | 30 Result Compile(Pipeline::ShaderInfo* shader_info,
|
D | shader_compiler.h | 57 Pipeline::ShaderInfo* shader_info,
|
/external/deqp-deps/amber/src/vulkan/ |
D | engine_vulkan.cc | 142 for (const auto& shader_info : pipeline->GetShaders()) { in CreatePipeline() local 143 Result r = SetShader(pipeline, shader_info); in CreatePipeline() 196 for (const auto& shader_info : pipeline->GetShaders()) { in CreatePipeline() local 198 r = ToVkShaderStage(shader_info.GetShaderType(), &stage); in CreatePipeline() 201 const auto& name = shader_info.GetEntryPoint(); in CreatePipeline() 297 auto it = info.shader_info.find(type); in SetShader() 298 if (it != info.shader_info.end()) in SetShader() 319 info.shader_info[type].shader = shader_module; in SetShader() 321 for (auto& shader_info : pipeline->GetShaders()) { in SetShader() local 322 if (shader_info.GetShaderType() != type) in SetShader() [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 382 assert(!ctx->args->shader_info->so.num_outputs); in setup_vs_variables() 407 … unsigned ngg_gs_scratch_bytes = ctx->args->shader_info->so.num_outputs ? (44u * 4u) : (8u * 4u); in setup_gs_variables() 408 unsigned ngg_emit_bytes = ctx->args->shader_info->ngg_info.ngg_emit_size * 4u; in setup_gs_variables() 409 unsigned esgs_ring_bytes = ctx->args->shader_info->ngg_info.esgs_ring_size; in setup_gs_variables() 411 ctx->ngg_gs_primflags_offset = ctx->args->shader_info->gs.gsvs_vertex_size; in setup_gs_variables() 480 ctx->args->shader_info->tcs.num_patches = ctx->tcs_num_patches; in setup_tcs_info() 481 ctx->args->shader_info->tcs.num_lds_blocks = lds_size; in setup_tcs_info() 499 assert(!ctx->args->shader_info->so.num_outputs); in setup_tes_variables() 1057 bool ngg = args->shader_info->is_ngg && args->options->chip_class >= GFX10; in setup_isel_context() 1059 if (sw_stage == SWStage::VS && args->shader_info->vs.as_es && !ngg) in setup_isel_context() [all …]
|
/external/mesa3d/src/freedreno/decode/ |
D | pgmdump2.c | 134 struct shader_info; 135 static void decode_shader_info(struct state *state, struct shader_info *info); 200 O(hdr, fs_info, shader_info); in decode_header() 203 O(hdr, vs_info, shader_info); in decode_header() 209 O(hdr, bs_info, shader_info); in decode_header() 403 struct PACKED shader_info { struct 409 static void decode_shader_info(struct state *state, struct shader_info *info) in decode_shader_info() argument
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_screen.h | 117 const struct shader_info *info, 123 const struct shader_info *info, 127 const struct shader_info *info, 131 const struct shader_info *info,
|
D | iris_resource.h | 34 struct shader_info; 469 const struct shader_info *info);
|
D | iris_program.c | 804 const struct shader_info *info = &nir->info; in iris_setup_binding_table() 1029 struct shader_info *info, in iris_debug_recompile() 1232 const struct shader_info * 1261 const struct shader_info *tcs = in get_unified_tess_slots() 1263 const struct shader_info *tes = in get_unified_tess_slots() 1394 const struct shader_info *tes_info = in iris_update_compiled_tcs() 1543 const struct shader_info *tes_info = &ish->nir->info; in iris_update_compiled_tes() 2261 struct shader_info *info = &ish->nir->info; in iris_create_tcs_state() 2297 struct shader_info *info = &ish->nir->info; in iris_create_tes_state() 2347 struct shader_info *info = &ish->nir->info; in iris_create_fs_state() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_link.cpp | 166 unify_interfaces(struct shader_info **infos) in unify_interfaces() 168 struct shader_info *prev_info = NULL; in unify_interfaces() 189 struct shader_info *info) in update_xfb_info() 229 struct shader_info *infos[MESA_SHADER_STAGES] = { 0, }; in brw_link_shader()
|
/external/mesa3d/src/compiler/ |
D | shader_info.h | 106 typedef struct shader_info { struct 392 } shader_info; typedef
|
/external/mesa3d/prebuilt-intermediates/lima/ |
D | lima_nir_algebraic.c | 137 const shader_info *info = &shader->info; in lima_nir_scale_trig() 269 const shader_info *info = &shader->info; in lima_nir_lower_ftrunc()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_debug.h | 48 shader_info = 1 << 4, enumerator
|
D | sfn_debug.cpp | 64 {"si", SfnLog::shader_info, "Log shader info (non-zero values)"},
|
/external/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 122 record_images_used(struct shader_info *info, in record_images_used() 224 record_textures_used(struct shader_info *info, in record_textures_used()
|
/external/mesa3d/prebuilt-intermediates/compiler/ |
D | brw_nir_trig_workarounds.c | 151 const shader_info *info = &shader->info; in brw_nir_apply_trig_workarounds()
|
/external/mesa3d/prebuilt-intermediates/ir3/ |
D | ir3_nir_imul.c | 201 const shader_info *info = &shader->info; in ir3_nir_lower_imul()
|