Searched refs:samp_id (Results 1 - 25 of 32) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.h61 struct fd_texture_stateobj *tex, unsigned samp_id);
63 bool fd2_texture_swap_xy(struct fd_texture_stateobj *tex, unsigned samp_id);
H A Dfd2_texture.c234 unsigned samp_id)
237 return samp_id;
238 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers;
242 bool fd2_texture_swap_xy(struct fd_texture_stateobj *tex, unsigned samp_id) argument
244 return tex->textures[samp_id]->format == PIPE_FORMAT_ETC1_RGB8 &&
245 tex->textures[samp_id]->texture->target == PIPE_TEXTURE_CUBE;
233 fd2_get_const_idx(struct fd_context * ctx,struct fd_texture_stateobj * tex,unsigned samp_id) argument
H A Dir2.h43 uint16_t samp_id; member in struct:ir2_fetch_info::__anona57b754f010a::__anona57b754f0308
H A Dfd2_emit.c114 struct fd_texture_stateobj *tex, unsigned samp_id, texmask emitted)
116 unsigned const_idx = fd2_get_const_idx(ctx, tex, samp_id);
126 sampler = tex->samplers[samp_id] ?
127 fd2_sampler_stateobj(tex->samplers[samp_id]) :
129 view = tex->textures[samp_id] ?
130 fd2_pipe_sampler_view(tex->textures[samp_id]) :
113 emit_texture(struct fd_ringbuffer * ring,struct fd_context * ctx,struct fd_texture_stateobj * tex,unsigned samp_id,texmask emitted) argument
H A Dfd2_program.c211 instr->tex.const_idx = fd2_get_const_idx(ctx, tex, fi->tex.samp_id);
213 if (fd2_texture_swap_xy(tex, fi->tex.samp_id)) {
H A Dir2_private.h117 uint8_t samp_id; member in struct:ir2_instr::__anon0ec1ae09030a::__anon0ec1ae090408::__anon0ec1ae09050a::__anon0ec1ae090708
H A Dir2_assemble.c439 info->tex.samp_id = instr->fetch.tex.samp_id;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.h63 struct fd_texture_stateobj *tex, unsigned samp_id);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.h61 struct fd_texture_stateobj *tex, unsigned samp_id);
H A Dir2.h43 uint16_t samp_id; member in struct:ir2_fetch_info::__anond9066522010a::__anond90665220308
H A Dfd2_texture.c238 unsigned samp_id) assert_dt
241 return samp_id;
242 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers;
237 fd2_get_const_idx(struct fd_context * ctx,struct fd_texture_stateobj * tex,unsigned samp_id) argument
H A Dfd2_emit.c114 struct fd_texture_stateobj *tex, unsigned samp_id, texmask emitted)
116 unsigned const_idx = fd2_get_const_idx(ctx, tex, samp_id);
126 sampler = tex->samplers[samp_id]
127 ? fd2_sampler_stateobj(tex->samplers[samp_id])
129 view = tex->textures[samp_id] ? fd2_pipe_sampler_view(tex->textures[samp_id])
113 emit_texture(struct fd_ringbuffer * ring,struct fd_context * ctx,struct fd_texture_stateobj * tex,unsigned samp_id,texmask emitted) argument
H A Dir2_private.h117 uint8_t samp_id; member in struct:ir2_instr::__anon5c5cc0dc030a::__anon5c5cc0dc0408::__anon5c5cc0dc050a::__anon5c5cc0dc0708
H A Dir2_assemble.c443 info->tex.samp_id = instr->fetch.tex.samp_id;
H A Dfd2_program.c200 instr->tex.const_idx = fd2_get_const_idx(ctx, tex, fi->tex.samp_id);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.h62 struct fd_texture_stateobj *tex, unsigned samp_id);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_uniforms.c36 get_const_idx(const struct etna_context *ctx, bool frag, unsigned samp_id) argument
39 return samp_id;
41 return samp_id + ctx->specs.vertex_sampler_offset;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_texture.h65 struct fd_texture_stateobj *tex, unsigned samp_id);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_texture.h64 struct fd_texture_stateobj *tex, unsigned samp_id);
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_nir_lower_load_barycentric_at_sample.c36 load_sample_pos(nir_builder *b, nir_ssa_def *samp_id) argument
38 return nir_load_sample_pos_from_id(b, 32, samp_id);
H A Dir3_context.h91 struct ir3_instruction *samp_id, *samp_mask_in; member in struct:ir3_context
H A Dir3_shader.h254 uint8_t samp_id; member in struct:ir3_sampler_prefetch
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_uniforms.c37 get_const_idx(const struct etna_context *ctx, bool frag, unsigned samp_id) argument
42 return samp_id;
44 return samp_id + screen->specs.vertex_sampler_offset;
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_nir_lower_load_barycentric_at_sample.c36 load_sample_pos(nir_builder *b, nir_ssa_def *samp_id) argument
42 load_sp->src[0] = nir_src_for_ssa(samp_id);
H A Dir3_context.h77 struct ir3_instruction *samp_id, *samp_mask_in; member in struct:ir3_context

Completed in 16 milliseconds

12