/third_party/mesa3d/src/panfrost/lib/ |
D | pan_shader.h | 216 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 …]
|
D | pan_indirect_dispatch.c | 153 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()
|
D | pan_indirect_draw.c | 1123 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/ |
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() 268 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 | 663 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 …]
|
D | clspv_helper.h | 30 Result Compile(Pipeline::ShaderInfo* shader_info,
|
D | shader_compiler.h | 57 Pipeline::ShaderInfo* shader_info,
|
/third_party/vk-gl-cts/external/amber/src/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 …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 48 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/ |
D | panvk_vX_meta_copy.c | 211 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 …]
|
D | panvk_vX_meta_clear.c | 38 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/ |
D | vkcolorconvert.h | 41 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/ |
D | crocus_screen.h | 48 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/ |
D | pgmdump2.c | 142 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/ |
D | iris_screen.h | 122 const struct shader_info *info, 128 const struct shader_info *info, 132 const struct shader_info *info, 136 const struct shader_info *info,
|
D | iris_resource.h | 35 struct shader_info; 473 const struct shader_info *info);
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_hardcode.c | 79 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/ |
D | shader_info.h | 125 typedef struct shader_info { struct 535 } shader_info; typedef
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 122 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/ |
D | brw_private.h | 34 unsigned brw_required_dispatch_width(const struct shader_info *info);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_gallium.h | 53 struct shader_info *ir3_get_shader_info(struct ir3_shader_state *hwcso);
|