/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_uniforms.c | 37 get_const_idx(const struct etna_context *ctx, bool frag, unsigned samp_id) in get_const_idx() argument 42 return samp_id; in get_const_idx() 44 return samp_id + screen->specs.vertex_sampler_offset; in get_const_idx()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_load_barycentric_at_sample.c | 36 load_sample_pos(nir_builder *b, nir_ssa_def *samp_id) in load_sample_pos() argument 38 return nir_load_sample_pos_from_id(b, 32, samp_id); in load_sample_pos()
|
D | ir3_context.h | 91 struct ir3_instruction *samp_id, *samp_mask_in; member
|
D | ir3_shader.h | 259 uint8_t samp_id; member
|
D | ir3_compiler_nir.c | 2346 if (!ctx->samp_id) { in emit_intrinsic() 2347 ctx->samp_id = create_sysval_input(ctx, SYSTEM_VALUE_SAMPLE_ID, 0x1); in emit_intrinsic() 2348 ctx->samp_id->dsts[0]->flags |= IR3_REG_HALF; in emit_intrinsic() 2350 dst[0] = ir3_COV(b, ctx->samp_id, TYPE_U16, TYPE_U32); in emit_intrinsic() 4567 fetch->samp_id = instr->prefetch.samp_base; in collect_tex_prefetches() 4573 fetch->samp_id = instr->prefetch.samp; in collect_tex_prefetches() 4584 assert(fetch->samp_id <= 0xf); in collect_tex_prefetches()
|
D | ir3_shader.c | 809 "xyzw"[fetch->dst & 0x3], fetch -> src, fetch -> samp_id, in ir3_shader_disasm()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_texture.c | 238 unsigned samp_id) assert_dt in fd2_get_const_idx() argument 241 return samp_id; in fd2_get_const_idx() 242 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers; in fd2_get_const_idx()
|
D | fd2_emit.c | 114 struct fd_texture_stateobj *tex, unsigned samp_id, texmask emitted) in emit_texture() argument 116 unsigned const_idx = fd2_get_const_idx(ctx, tex, samp_id); in emit_texture() 126 sampler = tex->samplers[samp_id] in emit_texture() 127 ? fd2_sampler_stateobj(tex->samplers[samp_id]) in emit_texture() 129 view = tex->textures[samp_id] ? fd2_pipe_sampler_view(tex->textures[samp_id]) in emit_texture()
|
D | fd2_texture.h | 61 struct fd_texture_stateobj *tex, unsigned samp_id);
|
D | ir2.h | 43 uint16_t samp_id; member
|
D | ir2_assemble.c | 443 info->tex.samp_id = instr->fetch.tex.samp_id; in assemble()
|
D | ir2_private.h | 117 uint8_t samp_id; member
|
D | fd2_program.c | 200 instr->tex.const_idx = fd2_get_const_idx(ctx, tex, fi->tex.samp_id); in patch_fetches()
|
D | ir2_nir.c | 748 instr->fetch.tex.samp_id = tex->sampler_index; in emit_tex()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.h | 62 struct fd_texture_stateobj *tex, unsigned samp_id);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.h | 65 struct fd_texture_stateobj *tex, unsigned samp_id);
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_hlsl.hpp | 251 …d_image_op(uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) override;
|
D | spirv_glsl.hpp | 377 …it_sampled_image_op(uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id); 749 std::string to_combined_image_sampler(VariableID image_id, VariableID samp_id);
|
D | spirv_msl.hpp | 722 …d_image_op(uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) override;
|
D | spirv_glsl.cpp | 6390 string CompilerGLSL::to_combined_image_sampler(VariableID image_id, VariableID samp_id) in to_combined_image_sampler() argument 6405 auto *samp = maybe_get_backing_variable(samp_id); in to_combined_image_sampler() 6409 samp_id = samp->self; in to_combined_image_sampler() 6415 … [samp_id](const SPIRFunction::Parameter ¶m) { return samp_id == param.id; }); in to_combined_image_sampler() 6423 VariableID sid = global_sampler ? samp_id : VariableID(uint32_t(sampler_itr - begin(args))); in to_combined_image_sampler() 6444 …auto itr = find_if(begin(mapping), end(mapping), [image_id, samp_id](const CombinedImageSampler &c… in to_combined_image_sampler() 6445 return combined.image_id == image_id && combined.sampler_id == samp_id; in to_combined_image_sampler() 6482 …mit_sampled_image_op(uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) in emit_sampled_image_op() argument 6486 emit_binary_func_op(result_type, result_id, image_id, samp_id, in emit_sampled_image_op() 6492 emit_op(result_type, result_id, to_combined_image_sampler(image_id, samp_id), true, true); in emit_sampled_image_op()
|
D | spirv_hlsl.cpp | 2276 …mit_sampled_image_op(uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) in emit_sampled_image_op() argument 2280 set<SPIRCombinedImageSampler>(result_id, result_type, image_id, samp_id); in emit_sampled_image_op() 2285 emit_op(result_type, result_id, to_combined_image_sampler(image_id, samp_id), true, true); in emit_sampled_image_op()
|
D | spirv_msl.cpp | 9950 …mit_sampled_image_op(uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) in emit_sampled_image_op() argument 9952 set<SPIRCombinedImageSampler>(result_id, result_type, image_id, samp_id); in emit_sampled_image_op() 10311 uint32_t samp_id = 0; in to_sampler_expression() local 10313 samp_id = combined->sampler; in to_sampler_expression() 10316 return samp_id ? to_expression(samp_id) : expr + sampler_name_suffix; in to_sampler_expression() 10321 return samp_id ? to_expression(samp_id) : (image_expr + sampler_name_suffix + array_expr); in to_sampler_expression()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.c | 535 A6XX_SP_FS_PREFETCH_CMD_SAMP_ID(prefetch->samp_id) | in setup_stateobj()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 1427 A6XX_SP_FS_PREFETCH_CMD_SAMP_ID(prefetch->samp_id) | in tu6_emit_fs_inputs()
|