Home
last modified time | relevance | path

Searched refs:tgsi (Results 1 – 25 of 37) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_program.c220 if (((vpv->tgsi.type == PIPE_SHADER_IR_TGSI)) && vpv->tgsi.tokens) in delete_vp_variant()
221 ureg_free_tokens(vpv->tgsi.tokens); in delete_vp_variant()
245 if ((stvp->tgsi.type == PIPE_SHADER_IR_TGSI) && stvp->tgsi.tokens) { in st_release_vp_variants()
246 tgsi_free_tokens(stvp->tgsi.tokens); in st_release_vp_variants()
247 stvp->tgsi.tokens = NULL; in st_release_vp_variants()
282 if ((stfp->tgsi.type == PIPE_SHADER_IR_TGSI) && stfp->tgsi.tokens) { in st_release_fp_variants()
283 ureg_free_tokens(stfp->tgsi.tokens); in st_release_fp_variants()
284 stfp->tgsi.tokens = NULL; in st_release_fp_variants()
326 struct pipe_shader_state *tgsi) in st_release_basic_variants() argument
338 if (tgsi->tokens) { in st_release_basic_variants()
[all …]
Dst_shader_cache.c41 struct pipe_shader_state *tgsi) in write_stream_out_to_cache() argument
43 blob_write_bytes(blob, &tgsi->stream_output, in write_stream_out_to_cache()
44 sizeof(tgsi->stream_output)); in write_stream_out_to_cache()
75 write_stream_out_to_cache(&blob, &stvp->tgsi); in st_serialise_tgsi_program()
76 write_tgsi_to_cache(&blob, stvp->tgsi.tokens, prog, in st_serialise_tgsi_program()
85 write_stream_out_to_cache(&blob, &stcp->tgsi); in st_serialise_tgsi_program()
86 write_tgsi_to_cache(&blob, stcp->tgsi.tokens, prog, in st_serialise_tgsi_program()
93 write_tgsi_to_cache(&blob, stfp->tgsi.tokens, prog, in st_serialise_tgsi_program()
100 write_tgsi_to_cache(&blob, stcp->tgsi.prog, prog, in st_serialise_tgsi_program()
137 struct pipe_shader_state *tgsi) in read_stream_out_from_cache() argument
[all …]
Dst_program.h144 struct pipe_shader_state tgsi; member
186 struct pipe_shader_state tgsi; member
208 struct pipe_shader_state tgsi; member
262 struct pipe_shader_state tgsi; member
285 struct pipe_compute_state tgsi; member
393 struct pipe_compute_state *tgsi,
416 struct pipe_shader_state *tgsi);
Dst_cb_program.c115 &p->tgsi); in st_delete_program()
179 &stgp->tgsi); in st_program_string_notify()
201 &sttcp->tgsi); in st_program_string_notify()
213 &sttep->tgsi); in st_program_string_notify()
Dst_glsl_to_nir.cpp430 stvp->tgsi.type = PIPE_SHADER_IR_NIR; in set_st_program()
431 stvp->tgsi.ir.nir = nir; in set_st_program()
438 stp->tgsi.type = PIPE_SHADER_IR_NIR; in set_st_program()
439 stp->tgsi.ir.nir = nir; in set_st_program()
444 stfp->tgsi.type = PIPE_SHADER_IR_NIR; in set_st_program()
445 stfp->tgsi.ir.nir = nir; in set_st_program()
450 stcp->tgsi.ir_type = PIPE_SHADER_IR_NIR; in set_st_program()
451 stcp->tgsi.prog = nir; in set_st_program()
Dst_debug.c100 tgsi_dump( st->vp->variants[0].tgsi.tokens, 0 ); in st_print_current()
104 tgsi_dump(st->fp->tgsi.tokens, 0); in st_print_current()
/external/virglrenderer/src/gallium/auxiliary/
DMakefile.sources5 tgsi/tgsi_build.c \
6 tgsi/tgsi_dump.c \
7 tgsi/tgsi_info.c \
8 tgsi/tgsi_iterate.c \
9 tgsi/tgsi_parse.c \
10 tgsi/tgsi_sanity.c \
11 tgsi/tgsi_scan.c \
12 tgsi/tgsi_strings.c \
13 tgsi/tgsi_text.c \
14 tgsi/tgsi_transform.c \
[all …]
DMakefile.am49 tgsi/tgsi_build.h \
50 tgsi/tgsi_dump.h \
51 tgsi/tgsi_info.h \
52 tgsi/tgsi_iterate.h \
53 tgsi/tgsi_opcode_tmp.h \
54 tgsi/tgsi_parse.h \
55 tgsi/tgsi_sanity.h \
56 tgsi/tgsi_scan.h \
57 tgsi/tgsi_strings.h \
58 tgsi/tgsi_text.h \
[all …]
/external/mesa3d/src/gallium/auxiliary/
DMakefile.sources138 tgsi/tgsi_aa_point.c \
139 tgsi/tgsi_aa_point.h \
140 tgsi/tgsi_build.c \
141 tgsi/tgsi_build.h \
142 tgsi/tgsi_dump.c \
143 tgsi/tgsi_dump.h \
144 tgsi/tgsi_exec.c \
145 tgsi/tgsi_exec.h \
146 tgsi/tgsi_emulate.c \
147 tgsi/tgsi_emulate.h \
[all …]
Dmeson.build158 'tgsi/tgsi_aa_point.c',
159 'tgsi/tgsi_aa_point.h',
160 'tgsi/tgsi_build.c',
161 'tgsi/tgsi_build.h',
162 'tgsi/tgsi_dump.c',
163 'tgsi/tgsi_dump.h',
164 'tgsi/tgsi_exec.c',
165 'tgsi/tgsi_exec.h',
166 'tgsi/tgsi_emulate.c',
167 'tgsi/tgsi_emulate.h',
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp34 namespace tgsi { namespace
1632 Instruction::getTexture(const tgsi::Source *code, int s) const in getTexture()
1660 Converter(Program *, const tgsi::Source *);
1682 Value *fetchSrc(const tgsi::Instruction::SrcRegister src, int c, Value *ptr);
1683 void storeDst(const tgsi::Instruction::DstRegister dst, int c,
1690 Symbol *srcToSym(tgsi::Instruction::SrcRegister, int c);
1691 Symbol *dstToSym(tgsi::Instruction::DstRegister, int c);
1723 Value *interpolate(tgsi::Instruction::SrcRegister, int c, Value *ptr);
1753 const tgsi::Source *code;
1763 tgsi::Instruction tgsi; member in __anon70d097b80111::Converter
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_image.c45 …pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource); in softpipe_set_shader_images()
46 softpipe->tgsi.image[shader]->sp_iview[idx] = images[i]; in softpipe_set_shader_images()
49 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); in softpipe_set_shader_images()
50 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view)); in softpipe_set_shader_images()
71 … pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer); in softpipe_set_shader_buffers()
72 softpipe->tgsi.buffer[shader]->sp_bview[idx] = buffers[i]; in softpipe_set_shader_buffers()
75 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, NULL); in softpipe_set_shader_buffers()
76 … memset(&softpipe->tgsi.buffer[shader]->sp_bview[idx], 0, sizeof(struct pipe_shader_buffer)); in softpipe_set_shader_buffers()
Dsp_context.c123 FREE(softpipe->tgsi.sampler[i]); in softpipe_destroy()
124 FREE(softpipe->tgsi.image[i]); in softpipe_destroy()
125 FREE(softpipe->tgsi.buffer[i]); in softpipe_destroy()
206 softpipe->tgsi.sampler[i] = sp_create_tgsi_sampler(); in softpipe_create_context()
210 softpipe->tgsi.image[i] = sp_create_tgsi_image(); in softpipe_create_context()
214 softpipe->tgsi.buffer[i] = sp_create_tgsi_buffer(); in softpipe_create_context()
292 softpipe->tgsi.sampler[PIPE_SHADER_VERTEX]); in softpipe_create_context()
297 softpipe->tgsi.sampler[PIPE_SHADER_GEOMETRY]); in softpipe_create_context()
302 softpipe->tgsi.image[PIPE_SHADER_VERTEX]); in softpipe_create_context()
307 softpipe->tgsi.image[PIPE_SHADER_GEOMETRY]); in softpipe_create_context()
[all …]
Dsp_state_derived.c290 softpipe->tgsi.sampler[shader]->sp_sampler[i] = in set_shader_sampler()
352 tgsi.sampler[PIPE_SHADER_FRAGMENT], in update_fragment_shader()
353 (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_FRAGMENT], in update_fragment_shader()
354 … (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_FRAGMENT]); in update_fragment_shader()
Dsp_compute.c212 (struct tgsi_sampler *)softpipe->tgsi.sampler[PIPE_SHADER_COMPUTE], in softpipe_launch_grid()
213 (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_COMPUTE], in softpipe_launch_grid()
214 (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_COMPUTE]); in softpipe_launch_grid()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c684 draw->gs.tgsi.sampler, in draw_geometry_shader_prepare()
685 draw->gs.tgsi.image, in draw_geometry_shader_prepare()
686 draw->gs.tgsi.buffer); in draw_geometry_shader_prepare()
695 draw->gs.tgsi.machine = tgsi_exec_machine_create(PIPE_SHADER_GEOMETRY); in draw_gs_init()
696 if (!draw->gs.tgsi.machine) in draw_gs_init()
699 draw->gs.tgsi.machine->Primitives = align_malloc( in draw_gs_init()
701 if (!draw->gs.tgsi.machine->Primitives) in draw_gs_init()
703 memset(draw->gs.tgsi.machine->Primitives, 0, in draw_gs_init()
712 if (draw->gs.tgsi.machine) { in draw_gs_destroy()
713 align_free(draw->gs.tgsi.machine->Primitives); in draw_gs_destroy()
[all …]
Ddraw_vs_exec.c75 draw->vs.tgsi.sampler, in vs_exec_prepare()
76 draw->vs.tgsi.image, in vs_exec_prepare()
77 draw->vs.tgsi.buffer); in vs_exec_prepare()
239 vs->machine = draw->vs.tgsi.machine; in draw_create_vs_exec()
Ddraw_vs.c153 draw->vs.tgsi.machine = tgsi_exec_machine_create(PIPE_SHADER_VERTEX); in draw_vs_init()
154 if (!draw->vs.tgsi.machine) in draw_vs_init()
179 tgsi_exec_machine_destroy(draw->vs.tgsi.machine); in draw_vs_destroy()
Ddraw_context.c726 draw->vs.tgsi.sampler = sampler; in draw_texture_sampler()
729 draw->gs.tgsi.sampler = sampler; in draw_texture_sampler()
744 draw->vs.tgsi.image = image; in draw_image()
747 draw->gs.tgsi.image = image; in draw_image()
762 draw->vs.tgsi.buffer = buffer; in draw_buffer()
765 draw->gs.tgsi.buffer = buffer; in draw_buffer()
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/
Dcompiler.cpp99 clover::tgsi::compile_program(const std::string &source, std::string &r_log) {
116 clover::tgsi::link_program(const std::vector<module> &modules)
Dinvocation.hpp29 namespace tgsi { namespace
/external/mesa3d/src/gallium/state_trackers/clover/
DMakefile.sources67 tgsi/compiler.cpp \
68 tgsi/invocation.hpp
Dmeson.build30 files('tgsi/compiler.cpp', 'tgsi/invocation.hpp'),
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dprogram.cpp55 tgsi::compile_program(_source, log) : in compile()
80 tgsi::link_program(ms) : in link()
/external/mesa3d/src/gallium/docs/source/
Dindex.rst16 tgsi

12