Home
last modified time | relevance | path

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

1234

/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.h216 pan_shader_prepare_rsd(const struct pan_shader_info *shader_info, in pan_shader_prepare_rsd() argument
221 shader_ptr |= shader_info->midgard.first_tag; in pan_shader_prepare_rsd()
225 rsd->shader.attribute_count = shader_info->attribute_count; in pan_shader_prepare_rsd()
226 rsd->shader.varying_count = shader_info->varyings.input_count + in pan_shader_prepare_rsd()
227 shader_info->varyings.output_count; in pan_shader_prepare_rsd()
228 rsd->shader.texture_count = shader_info->texture_count; in pan_shader_prepare_rsd()
229 rsd->shader.sampler_count = shader_info->sampler_count; in pan_shader_prepare_rsd()
230 rsd->properties.shader_contains_barrier = shader_info->contains_barrier; in pan_shader_prepare_rsd()
231 rsd->properties.uniform_buffer_count = shader_info->ubo_count; in pan_shader_prepare_rsd()
233 if (shader_info->stage == MESA_SHADER_FRAGMENT) { in pan_shader_prepare_rsd()
[all …]
Dpan_indirect_dispatch.c153 struct pan_shader_info shader_info; in GENX() local
157 GENX(pan_shader_compile)(b.shader, &inputs, &binary, &shader_info); in GENX()
161 assert(!shader_info.tls_size); in GENX()
162 assert(!shader_info.wls_size); in GENX()
163 assert(!shader_info.sysvals.sysval_count); in GENX()
165 shader_info.push.count = in GENX()
185 pan_shader_prepare_rsd(&shader_info, address, &cfg); in GENX()
Dpan_indirect_draw.c1123 struct pan_shader_info shader_info; in create_indirect_draw_shader() local
1127 GENX(pan_shader_compile)(b->shader, &inputs, &binary, &shader_info); in create_indirect_draw_shader()
1129 assert(!shader_info.tls_size); in create_indirect_draw_shader()
1130 assert(!shader_info.wls_size); in create_indirect_draw_shader()
1131 assert(!shader_info.sysvals.sysval_count); in create_indirect_draw_shader()
1133 shader_info.push.count = in create_indirect_draw_shader()
1152 pan_shader_prepare_rsd(&shader_info, address, &cfg); in create_indirect_draw_shader()
1155 draw_shader->push = shader_info.push; in create_indirect_draw_shader()
/third_party/vk-gl-cts/external/amber/src/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()
268 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.cc663 const auto& shader_info = GetShaders()[0]; in UpdateOpenCLBufferBindings() local
664 const auto& descriptor_map = shader_info.GetDescriptorMap(); in UpdateOpenCLBufferBindings()
668 const auto iter = descriptor_map.find(shader_info.GetEntryPoint()); in UpdateOpenCLBufferBindings()
763 const auto& shader_info = GetShaders()[0]; in GenerateOpenCLPodBuffers() local
764 const auto& descriptor_map = shader_info.GetDescriptorMap(); in GenerateOpenCLPodBuffers()
768 const auto iter = descriptor_map.find(shader_info.GetEntryPoint()); in GenerateOpenCLPodBuffers()
819 shader_info.GetEntryPoint(); in GenerateOpenCLPodBuffers()
882 shader_info.GetEntryPoint(); in GenerateOpenCLPodBuffers()
995 const auto& shader_info = GetShaders()[0]; in GenerateOpenCLPushConstants() local
996 if (shader_info.GetPushConstants().empty()) in GenerateOpenCLPushConstants()
[all …]
Dclspv_helper.h30 Result Compile(Pipeline::ShaderInfo* shader_info,
Dshader_compiler.h57 Pipeline::ShaderInfo* shader_info,
/third_party/vk-gl-cts/external/amber/src/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 …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c48 const struct radv_shader_info *shader_info; member
107 const struct radv_userdata_locations *user_sgprs_locs = &ctx->shader_info->user_sgprs_locs; in load_descriptor_sets()
108 uint32_t mask = ctx->shader_info->desc_set_used_mask; in load_descriptor_sets()
164 if (is_pre_gs_stage(stage) && ctx->shader_info->is_ngg) { in create_function()
185 (stage == MESA_SHADER_VERTEX && ctx->shader_info->vs.as_ls) || in create_function()
186 ctx->shader_info->is_ngg || in create_function()
242 unsigned output_usage_mask = ctx->shader_info->gs.output_usage_mask[i]; in visit_emit_vertex_with_counter()
243 uint8_t output_stream = ctx->shader_info->gs.output_streams[i]; in visit_emit_vertex_with_counter()
403 ctx->shader_info->vs.input_usage_mask[driver_location]; in load_vs_input()
436 ctx->shader_info->vs.use_per_attribute_vb_descs ? attrib_index : attrib_binding; in load_vs_input()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c211 const struct pan_shader_info *shader_info, in panvk_meta_copy_to_img_emit_rsd() argument
226 pan_shader_prepare_rsd(shader_info, shader, &cfg); in panvk_meta_copy_to_img_emit_rsd()
292 const struct pan_shader_info *shader_info, in panvk_meta_copy_to_buf_emit_rsd() argument
300 pan_shader_prepare_rsd(shader_info, shader, &cfg); in panvk_meta_copy_to_buf_emit_rsd()
316 struct pan_shader_info *shader_info) in panvk_meta_copy_img2img_shader() argument
463 GENX(pan_shader_compile)(b.shader, &inputs, &binary, shader_info); in panvk_meta_copy_img2img_shader()
465 shader_info->fs.sample_shading = is_ms; in panvk_meta_copy_img2img_shader()
731 struct pan_shader_info shader_info; in panvk_meta_copy_img2img_init() local
737 texdim, false, is_ms, &shader_info); in panvk_meta_copy_img2img_init()
740 shader, &shader_info, in panvk_meta_copy_img2img_init()
[all …]
Dpanvk_vX_meta_clear.c38 struct pan_shader_info *shader_info) in panvk_meta_clear_color_attachment_shader() argument
64 GENX(pan_shader_compile)(b.shader, &inputs, &binary, shader_info); in panvk_meta_clear_color_attachment_shader()
66 shader_info->push.count = 4; in panvk_meta_clear_color_attachment_shader()
82 struct pan_shader_info *shader_info, in panvk_meta_clear_color_attachment_emit_rsd() argument
91 pan_shader_prepare_rsd(shader_info, shader, &cfg); in panvk_meta_clear_color_attachment_emit_rsd()
120 shader_info->bifrost.blend[0].format; in panvk_meta_clear_color_attachment_emit_rsd()
306 struct pan_shader_info *shader_info = &meta->clear_attachment.color[base_type].shader_info; in panvk_meta_clear_attachment() local
314 shader_info, in panvk_meta_clear_attachment()
516 &dev->meta.clear_attachment.color[GLSL_TYPE_UINT].shader_info); in panvk_meta_clear_attachment_init()
523 &dev->meta.clear_attachment.color[GLSL_TYPE_INT].shader_info); in panvk_meta_clear_attachment_init()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.h41 typedef struct _shader_info shader_info; typedef
43 typedef GstMemory * (*CommandCreateUniformMemory) (GstVulkanColorConvert * conv, shader_info * sinf…
63 shader_info *current_shader;
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_screen.h48 struct shader_info;
121 const struct shader_info *info,
127 const struct shader_info *info,
131 const struct shader_info *info,
135 const struct shader_info *info,
/third_party/mesa3d/src/freedreno/decode/
Dpgmdump2.c142 struct shader_info;
143 static void decode_shader_info(struct state *state, struct shader_info *info);
209 O(hdr, fs_info, shader_info); in decode_header()
212 O(hdr, vs_info, shader_info); in decode_header()
219 O(hdr, bs_info, shader_info); in decode_header()
416 struct PACKED shader_info { struct
423 decode_shader_info(struct state *state, struct shader_info *info) in decode_shader_info() argument
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_screen.h122 const struct shader_info *info,
128 const struct shader_info *info,
132 const struct shader_info *info,
136 const struct shader_info *info,
Diris_resource.h35 struct shader_info;
473 const struct shader_info *info);
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_hardcode.c79 const struct pvr_compute_pipeline_shader_state shader_info; member
111 .shader_info = {
201 *shader_state_out = data->compute.shader_info; in pvr_hard_code_compute_pipeline()
/third_party/mesa3d/src/compiler/
Dshader_info.h125 typedef struct shader_info { struct
535 } shader_info; typedef
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c122 record_images_used(struct shader_info *info, in record_images_used()
237 record_textures_used(struct shader_info *info, in record_textures_used()
259 record_samplers_used(struct shader_info *info, in record_samplers_used()
/third_party/mesa3d/src/intel/compiler/
Dbrw_private.h34 unsigned brw_required_dispatch_width(const struct shader_info *info);
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.h53 struct shader_info *ir3_get_shader_info(struct ir3_shader_state *hwcso);

1234