Home
last modified time | relevance | path

Searched refs:shader_info (Results 1 - 25 of 70) sorted by relevance

123

/third_party/mesa3d/src/panfrost/lib/
H A 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 in pan_shader_prepare_rsd()
[all...]
H A Dpan_indirect_dispatch.c153 struct pan_shader_info shader_info; in pan_indirect_dispatch_init() local
157 GENX(pan_shader_compile)(b.shader, &inputs, &binary, &shader_info); in pan_indirect_dispatch_init()
161 assert(!shader_info.tls_size); in pan_indirect_dispatch_init()
162 assert(!shader_info.wls_size); in pan_indirect_dispatch_init()
163 assert(!shader_info.sysvals.sysval_count); in pan_indirect_dispatch_init()
165 shader_info.push.count = in pan_indirect_dispatch_init()
185 pan_shader_prepare_rsd(&shader_info, address, &cfg); in pan_indirect_dispatch_init()
/third_party/mesa3d/src/amd/vulkan/
H A 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 in load_vs_input()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/
H A 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 in Compile()
[all...]
H A Dshader_compiler_test.cc110 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
112 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F()
129 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
131 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F()
149 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
151 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F()
166 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
168 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F()
239 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
241 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMa in TEST_F()
[all...]
H A Dshader_compiler.cc65 Pipeline::ShaderInfo* shader_info, in Compile()
67 const auto shader = shader_info->GetShader(); 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()
289 Result ShaderCompiler::CompileOpenCLC(Pipeline::ShaderInfo* shader_info, in CompileOpenCLC() argument
293 return clspvhelper::Compile(shader_info, pipeline, env, result); in CompileOpenCLC()
63 Compile( Pipeline* pipeline, Pipeline::ShaderInfo* shader_info, const ShaderMap& shader_map) const Compile() argument
H A 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()
H A Dexecutor.cc37 for (auto& shader_info : pipeline->GetShaders()) { in CompileShaders()
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()
H A Dpipeline.cc674 const auto& shader_info = GetShaders()[0]; in UpdateOpenCLBufferBindings() local
675 const auto& descriptor_map = shader_info.GetDescriptorMap(); in UpdateOpenCLBufferBindings()
679 const auto iter = descriptor_map.find(shader_info.GetEntryPoint()); in UpdateOpenCLBufferBindings()
774 const auto& shader_info = GetShaders()[0]; in GenerateOpenCLPodBuffers() local
775 const auto& descriptor_map = shader_info.GetDescriptorMap(); in GenerateOpenCLPodBuffers()
779 const auto iter = descriptor_map.find(shader_info.GetEntryPoint()); in GenerateOpenCLPodBuffers()
830 shader_info.GetEntryPoint(); in GenerateOpenCLPodBuffers()
893 shader_info.GetEntryPoint(); in GenerateOpenCLPodBuffers()
1006 const auto& shader_info = GetShaders()[0]; in GenerateOpenCLPushConstants() local
1007 if (shader_info in GenerateOpenCLPushConstants()
[all...]
H A Dclspv_helper.h30 Result Compile(Pipeline::ShaderInfo* shader_info,
H A Dshader_compiler.h43 /// If the shader in |shader_info| has a corresponding entry in the
47 /// If |shader_info| specifies shader optimizations to run and there is no
51 /// |pipeline| is the pipeline containing |shader_info|. The name is used to
57 Pipeline::ShaderInfo* shader_info,
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dengine_vulkan.cc142 for (const auto& shader_info : pipeline->GetShaders()) { in CreatePipeline()
143 Result r = SetShader(pipeline, shader_info); in CreatePipeline()
196 for (const auto& shader_info : pipeline->GetShaders()) { in CreatePipeline()
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()
322 if (shader_info in SetShader()
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_copy.c211 const struct pan_shader_info *shader_info, in panvk_meta_copy_to_img_emit_rsd()
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()
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()
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()
208 panvk_meta_copy_to_img_emit_rsd(struct panfrost_device *pdev, struct pan_pool *desc_pool, mali_ptr shader, const struct pan_shader_info *shader_info, enum pipe_format fmt, unsigned wrmask, bool from_img) panvk_meta_copy_to_img_emit_rsd() argument
289 panvk_meta_copy_to_buf_emit_rsd(struct panfrost_device *pdev, struct pan_pool *desc_pool, mali_ptr shader, const struct pan_shader_info *shader_info, bool from_img) panvk_meta_copy_to_buf_emit_rsd() argument
311 panvk_meta_copy_img2img_shader(struct panfrost_device *pdev, struct pan_pool *bin_pool, enum pipe_format srcfmt, enum pipe_format dstfmt, unsigned dstmask, unsigned texdim, bool texisarray, bool is_ms, struct pan_shader_info *shader_info) panvk_meta_copy_img2img_shader() argument
868 panvk_meta_copy_buf2img_shader(struct panfrost_device *pdev, struct pan_pool *bin_pool, struct panvk_meta_copy_format_info key, struct pan_shader_info *shader_info) panvk_meta_copy_buf2img_shader() argument
1147 struct pan_shader_info shader_info; panvk_meta_copy_buf2img_init() local
1241 panvk_meta_copy_img2buf_shader(struct panfrost_device *pdev, struct pan_pool *bin_pool, struct panvk_meta_copy_format_info key, unsigned texdim, unsigned texisarray, struct pan_shader_info *shader_info) panvk_meta_copy_img2buf_shader() argument
1573 struct pan_shader_info shader_info; panvk_meta_copy_img2buf_init() local
1627 panvk_meta_copy_buf2buf_shader(struct panfrost_device *pdev, struct pan_pool *bin_pool, unsigned blksz, struct pan_shader_info *shader_info) panvk_meta_copy_buf2buf_shader() argument
1682 struct pan_shader_info shader_info; panvk_meta_copy_buf2buf_init() local
1763 panvk_meta_fill_buf_shader(struct panfrost_device *pdev, struct pan_pool *bin_pool, struct pan_shader_info *shader_info) panvk_meta_fill_buf_shader() argument
1812 struct pan_shader_info shader_info; panvk_meta_fill_buf_emit_rsd() local
[all...]
H A Dpanvk_vX_meta_clear.c38 struct pan_shader_info *shader_info) in panvk_meta_clear_color_attachment_shader()
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()
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()
35 panvk_meta_clear_color_attachment_shader(struct panfrost_device *pdev, struct pan_pool *bin_pool, enum glsl_base_type base_type, struct pan_shader_info *shader_info) panvk_meta_clear_color_attachment_shader() argument
78 panvk_meta_clear_color_attachment_emit_rsd(struct panfrost_device *pdev, struct pan_pool *desc_pool, enum pipe_format format, unsigned rt, struct pan_shader_info *shader_info, mali_ptr shader) panvk_meta_clear_color_attachment_emit_rsd() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A 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/
H A Dpgmdump2.c31 * - per shader stage section (shader_info) starts with a header,
34 * of shader_info section where the data is found
65 /* current shader_info section, some offsets calculated relative to
142 struct shader_info;
143 static void decode_shader_info(struct state *state, struct shader_info *info);
189 uint32_t fs_info; /* offset of FS shader_info section */
191 uint32_t vs_info; /* offset of VS shader_info section */
193 uint32_t vs_info2; /* offset of VS shader_info section (again?) */
195 uint32_t bs_info; /* offset of binning shader_info section */
209 O(hdr, fs_info, shader_info); in decode_header()
416 struct PACKED shader_info { global() struct
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A 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,
H A Diris_resource.h35 struct shader_info;
473 const struct shader_info *info);
/third_party/mesa3d/src/compiler/glsl/
H A 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/imagination/vulkan/
H A 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/
H A Dshader_info.h125 typedef struct shader_info { struct
535 } shader_info; typedef
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_private.h34 unsigned brw_required_dispatch_width(const struct shader_info *info);
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_gallium.h53 struct shader_info *ir3_get_shader_info(struct ir3_shader_state *hwcso);
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_debug.h58 shader_info = 1 << 4, enumerator
H A Dsfn_debug.cpp54 {"si", SfnLog::shader_info, "Log shader info (non-zero values)"},

Completed in 23 milliseconds

123