Home
last modified time | relevance | path

Searched refs:samp_id (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_uniforms.c37 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()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_texture.c245 unsigned samp_id) in fd2_get_const_idx() argument
248 return samp_id; in fd2_get_const_idx()
249 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers; in fd2_get_const_idx()
Dfd2_emit.c114 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] ? in emit_texture()
130 fd2_pipe_sampler_view(tex->textures[samp_id]) : in emit_texture()
Dfd2_texture.h61 struct fd_texture_stateobj *tex, unsigned samp_id);
Dir2.h43 uint16_t samp_id; member
Dir2_assemble.c439 info->tex.samp_id = instr->fetch.tex.samp_id; in assemble()
Dir2_private.h117 uint8_t samp_id; member
Dfd2_program.c198 instr->tex.const_idx = fd2_get_const_idx(ctx, tex, fi->tex.samp_id); in patch_fetches()
Dir2_nir.c737 instr->fetch.tex.samp_id = tex->sampler_index; in emit_tex()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_load_barycentric_at_sample.c36 load_sample_pos(nir_builder *b, nir_ssa_def *samp_id) in load_sample_pos() argument
41 load_sp->src[0] = nir_src_for_ssa(samp_id); in load_sample_pos()
Dir3_context.h89 struct ir3_instruction *samp_id, *samp_mask_in; member
Dir3_compiler_nir.c1821 if (!ctx->samp_id) { in emit_intrinsic()
1822 ctx->samp_id = create_sysval_input(ctx, SYSTEM_VALUE_SAMPLE_ID, 0x1); in emit_intrinsic()
1823 ctx->samp_id->regs[0]->flags |= IR3_REG_HALF; in emit_intrinsic()
1825 dst[0] = ir3_COV(b, ctx->samp_id, TYPE_U16, TYPE_U32); in emit_intrinsic()
3462 fetch->samp_id = instr->prefetch.samp_base; in collect_tex_prefetches()
3468 fetch->samp_id = instr->prefetch.samp; in collect_tex_prefetches()
3479 assert(fetch->samp_id < 0xf); in collect_tex_prefetches()
Dir3_shader.h258 uint8_t samp_id; member
Dir3_shader.c561 fetch->src, fetch->samp_id, fetch->tex_id, in ir3_shader_disasm()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.h63 struct fd_texture_stateobj *tex, unsigned samp_id);
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.h65 struct fd_texture_stateobj *tex, unsigned samp_id);
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c443 A6XX_SP_FS_PREFETCH_CMD_SAMP_ID(prefetch->samp_id) | in setup_stateobj()
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1228 A6XX_SP_FS_PREFETCH_CMD_SAMP_ID(prefetch->samp_id) | in tu6_emit_fs_inputs()