Home
last modified time | relevance | path

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

123

/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c47 &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 …]
Dradv_nir_to_llvm.c152 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 …]
Dradv_shader_args.h32 struct radv_shader_info *shader_info; member
/external/deqp-deps/amber/src/
Dshader_compiler_test.cc110 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 …]
Dclspv_helper.cc33 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()
Dshader_compiler.cc65 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()
Dscript.cc33 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()
Dexecutor.cc37 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()
Dpipeline.cc675 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 …]
Dclspv_helper.h30 Result Compile(Pipeline::ShaderInfo* shader_info,
Dshader_compiler.h57 Pipeline::ShaderInfo* shader_info,
/external/deqp-deps/amber/src/vulkan/
Dengine_vulkan.cc142 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/
Daco_instruction_selection_setup.cpp382 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/
Dpgmdump2.c134 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/
Diris_screen.h117 const struct shader_info *info,
123 const struct shader_info *info,
127 const struct shader_info *info,
131 const struct shader_info *info,
Diris_resource.h34 struct shader_info;
469 const struct shader_info *info);
Diris_program.c804 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/
Dbrw_link.cpp166 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/
Dshader_info.h106 typedef struct shader_info { struct
392 } shader_info; typedef
/external/mesa3d/prebuilt-intermediates/lima/
Dlima_nir_algebraic.c137 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/
Dsfn_debug.h48 shader_info = 1 << 4, enumerator
Dsfn_debug.cpp64 {"si", SfnLog::shader_info, "Log shader info (non-zero values)"},
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c122 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/
Dbrw_nir_trig_workarounds.c151 const shader_info *info = &shader->info; in brw_nir_apply_trig_workarounds()
/external/mesa3d/prebuilt-intermediates/ir3/
Dir3_nir_imul.c201 const shader_info *info = &shader->info; in ir3_nir_lower_imul()

123