Home
last modified time | relevance | path

Searched refs:tgsi_tex (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.h132 enum tgsi_texture_type tgsi_tex,
139 enum tgsi_texture_type tgsi_tex);
144 enum tgsi_texture_type tgsi_tex);
149 enum tgsi_texture_type tgsi_tex);
154 enum tgsi_texture_type tgsi_tex, unsigned nr_samples,
160 enum tgsi_texture_type tgsi_tex,
Du_simple_shaders.c591 enum tgsi_texture_type tgsi_tex, in util_make_fs_blit_msaa_gen() argument
613 const char *type = tgsi_texture_names[tgsi_tex]; in util_make_fs_blit_msaa_gen()
618 assert(tgsi_tex == TGSI_TEXTURE_2D_MSAA || in util_make_fs_blit_msaa_gen()
619 tgsi_tex == TGSI_TEXTURE_2D_ARRAY_MSAA); in util_make_fs_blit_msaa_gen()
645 enum tgsi_texture_type tgsi_tex, in util_make_fs_blit_msaa_color() argument
672 return util_make_fs_blit_msaa_gen(pipe, tgsi_tex, samp_type, in util_make_fs_blit_msaa_color()
685 enum tgsi_texture_type tgsi_tex) in util_make_fs_blit_msaa_depth() argument
687 return util_make_fs_blit_msaa_gen(pipe, tgsi_tex, "FLOAT", in util_make_fs_blit_msaa_depth()
699 enum tgsi_texture_type tgsi_tex) in util_make_fs_blit_msaa_stencil() argument
701 return util_make_fs_blit_msaa_gen(pipe, tgsi_tex, "UINT", in util_make_fs_blit_msaa_stencil()
[all …]
Du_blitter.c873 enum tgsi_texture_type tgsi_tex = in blitter_get_fs_texfetch_col() local
927 *shader = util_make_fs_msaa_resolve_bilinear(pipe, tgsi_tex, in blitter_get_fs_texfetch_col()
932 *shader = util_make_fs_msaa_resolve(pipe, tgsi_tex, in blitter_get_fs_texfetch_col()
947 *shader = util_make_fs_blit_msaa_color(pipe, tgsi_tex, stype, dtype); in blitter_get_fs_texfetch_col()
963 *shader = util_make_fragment_tex_shader(pipe, tgsi_tex, in blitter_get_fs_texfetch_col()
988 enum tgsi_texture_type tgsi_tex; in blitter_get_fs_texfetch_depth() local
990 tgsi_tex = util_pipe_tex_to_tgsi_tex(target, nr_samples); in blitter_get_fs_texfetch_depth()
991 *shader = util_make_fs_blit_msaa_depth(pipe, tgsi_tex); in blitter_get_fs_texfetch_depth()
1005 enum tgsi_texture_type tgsi_tex; in blitter_get_fs_texfetch_depth() local
1007 tgsi_tex = util_pipe_tex_to_tgsi_tex(target, 0); in blitter_get_fs_texfetch_depth()
[all …]
Du_blit.c181 unsigned tgsi_tex = util_pipe_tex_to_tgsi_tex(pipe_tex, 0); in set_fragment_shader() local
186 util_make_fragment_tex_shader_writemask(ctx->pipe, tgsi_tex, in set_fragment_shader()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.h82 tgsi_util_get_texture_coord_dim(enum tgsi_texture_type tgsi_tex);
85 tgsi_util_get_shadow_ref_src_index(enum tgsi_texture_type tgsi_tex);
Dtgsi_util.c452 tgsi_util_get_texture_coord_dim(enum tgsi_texture_type tgsi_tex) in tgsi_util_get_texture_coord_dim() argument
478 switch (tgsi_tex) { in tgsi_util_get_texture_coord_dim()
517 tgsi_util_get_shadow_ref_src_index(enum tgsi_texture_type tgsi_tex) in tgsi_util_get_shadow_ref_src_index() argument
519 switch (tgsi_tex) { in tgsi_util_get_shadow_ref_src_index()
Dtgsi_exec.c3777 get_image_coord_dim(unsigned tgsi_tex) in get_image_coord_dim() argument
3780 switch (tgsi_tex) { in get_image_coord_dim()
3808 get_image_coord_sample(unsigned tgsi_tex) in get_image_coord_sample() argument
3811 switch (tgsi_tex) { in get_image_coord_sample()
/external/virglrenderer/src/
Dvrend_blitter.c371 unsigned tgsi_tex = util_pipe_tex_to_tgsi_tex(pipe_tex_target, nr_samples); in blit_get_frag_tex_writedepth() local
373 *shader = blit_build_frag_blit_msaa_depth(blit_ctx, tgsi_tex); in blit_get_frag_tex_writedepth()
381 unsigned tgsi_tex = util_pipe_tex_to_tgsi_tex(pipe_tex_target, 0); in blit_get_frag_tex_writedepth() local
383 *shader = blit_build_frag_tex_writedepth(blit_ctx, tgsi_tex); in blit_get_frag_tex_writedepth()
406 unsigned tgsi_tex = util_pipe_tex_to_tgsi_tex(pipe_tex_target, nr_samples); in blit_get_frag_tex_col() local
412 *shader = blit_build_frag_tex_col_msaa(blit_ctx, tgsi_tex, tgsi_ret, in blit_get_frag_tex_col()
415 *shader = blit_build_frag_tex_col(blit_ctx, tgsi_tex, tgsi_ret, swizzle); in blit_get_frag_tex_col()
423 unsigned tgsi_tex = util_pipe_tex_to_tgsi_tex(pipe_tex_target, 0); in blit_get_frag_tex_col() local
426 *shader = blit_build_frag_tex_col(blit_ctx, tgsi_tex, tgsi_ret, NULL); in blit_get_frag_tex_col()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c376 tgsi_util_get_texture_coord_dim(int tgsi_tex, int *shadow_or_sample) in tgsi_util_get_texture_coord_dim() argument
404 switch (tgsi_tex) { in tgsi_util_get_texture_coord_dim()
438 switch (tgsi_tex) { in tgsi_util_get_texture_coord_dim()
Dtgsi_util.h83 tgsi_util_get_texture_coord_dim(int tgsi_tex, int *shadow_or_sample);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c7006 static int tgsi_tex(struct r600_shader_ctx *ctx) in tgsi_tex() function
10287 [TGSI_OPCODE_DDX] = { FETCH_OP_GET_GRADIENTS_H, tgsi_tex},
10288 [TGSI_OPCODE_DDY] = { FETCH_OP_GET_GRADIENTS_V, tgsi_tex},
10302 [TGSI_OPCODE_TEX] = { FETCH_OP_SAMPLE, tgsi_tex},
10303 [TGSI_OPCODE_TXD] = { FETCH_OP_SAMPLE_G, tgsi_tex},
10304 [TGSI_OPCODE_TXP] = { FETCH_OP_SAMPLE, tgsi_tex},
10318 [TGSI_OPCODE_TXB] = { FETCH_OP_SAMPLE_LB, tgsi_tex},
10322 [TGSI_OPCODE_TXL] = { FETCH_OP_SAMPLE_L, tgsi_tex},
10344 [TGSI_OPCODE_TXF] = { FETCH_OP_LD, tgsi_tex},
10345 [TGSI_OPCODE_TXQ] = { FETCH_OP_GET_TEXTURE_RESINFO, tgsi_tex},
[all …]