Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp34 namespace tgsi { namespace
1628 Instruction::getTexture(const tgsi::Source *code, int s) const in getTexture()
1656 Converter(Program *, const tgsi::Source *, nv50_ir_prog_info_out *);
1671 Value *fetchSrc(const tgsi::Instruction::SrcRegister src, int c, Value *ptr);
1672 void storeDst(const tgsi::Instruction::DstRegister dst, int c,
1679 Symbol *srcToSym(tgsi::Instruction::SrcRegister, int c);
1680 Symbol *dstToSym(tgsi::Instruction::DstRegister, int c);
1709 Value *interpolate(tgsi::Instruction::SrcRegister, int c, Value *ptr);
1739 const tgsi::Source *code;
1743 tgsi::Instruction tgsi; member in __anoned67de820211::Converter
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_image.c46 …pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource); in softpipe_set_shader_images()
47 softpipe->tgsi.image[shader]->sp_iview[idx] = images[i]; in softpipe_set_shader_images()
50 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); in softpipe_set_shader_images()
51 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view)); in softpipe_set_shader_images()
58 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); in softpipe_set_shader_images()
59 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view)); in softpipe_set_shader_images()
80 … pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer); in softpipe_set_shader_buffers()
81 softpipe->tgsi.buffer[shader]->sp_bview[idx] = buffers[i]; in softpipe_set_shader_buffers()
84 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, NULL); in softpipe_set_shader_buffers()
85 … 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()
218 softpipe->tgsi.sampler[i] = sp_create_tgsi_sampler(); in softpipe_create_context()
222 softpipe->tgsi.image[i] = sp_create_tgsi_image(); in softpipe_create_context()
226 softpipe->tgsi.buffer[i] = sp_create_tgsi_buffer(); in softpipe_create_context()
301 softpipe->tgsi.sampler[PIPE_SHADER_VERTEX]); in softpipe_create_context()
306 softpipe->tgsi.sampler[PIPE_SHADER_GEOMETRY]); in softpipe_create_context()
311 softpipe->tgsi.image[PIPE_SHADER_VERTEX]); in softpipe_create_context()
316 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()
Dsp_context.h177 } tgsi; member
/third_party/mesa3d/src/gallium/auxiliary/
Dmeson.build179 'tgsi/tgsi_aa_point.c',
180 'tgsi/tgsi_aa_point.h',
181 'tgsi/tgsi_build.c',
182 'tgsi/tgsi_build.h',
183 'tgsi/tgsi_dump.c',
184 'tgsi/tgsi_dump.h',
185 'tgsi/tgsi_dynamic_indexing.c',
186 'tgsi/tgsi_exec.c',
187 'tgsi/tgsi_exec.h',
188 'tgsi/tgsi_emulate.c',
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c712 draw->gs.tgsi.sampler, in draw_geometry_shader_prepare()
713 draw->gs.tgsi.image, in draw_geometry_shader_prepare()
714 draw->gs.tgsi.buffer); in draw_geometry_shader_prepare()
723 draw->gs.tgsi.machine = tgsi_exec_machine_create(PIPE_SHADER_GEOMETRY); in draw_gs_init()
726 draw->gs.tgsi.machine->Primitives[i] = align_malloc( in draw_gs_init()
728 draw->gs.tgsi.machine->PrimitiveOffsets[i] = align_malloc( in draw_gs_init()
730 if (!draw->gs.tgsi.machine->Primitives[i] || !draw->gs.tgsi.machine->PrimitiveOffsets[i]) in draw_gs_init()
732 memset(draw->gs.tgsi.machine->Primitives[i], 0, in draw_gs_init()
734 memset(draw->gs.tgsi.machine->PrimitiveOffsets[i], 0, in draw_gs_init()
745 if (draw->gs.tgsi.machine) { in draw_gs_destroy()
[all …]
Ddraw_context.c813 draw->vs.tgsi.sampler = sampler; in draw_texture_sampler()
816 draw->gs.tgsi.sampler = sampler; in draw_texture_sampler()
819 draw->tcs.tgsi.sampler = sampler; in draw_texture_sampler()
822 draw->tes.tgsi.sampler = sampler; in draw_texture_sampler()
842 draw->vs.tgsi.image = image; in draw_image()
845 draw->gs.tgsi.image = image; in draw_image()
848 draw->tcs.tgsi.image = image; in draw_image()
851 draw->tes.tgsi.image = image; in draw_image()
871 draw->vs.tgsi.buffer = buffer; in draw_buffer()
874 draw->gs.tgsi.buffer = buffer; in draw_buffer()
[all …]
Ddraw_vs_exec.c78 draw->vs.tgsi.sampler, in vs_exec_prepare()
79 draw->vs.tgsi.image, in vs_exec_prepare()
80 draw->vs.tgsi.buffer); in vs_exec_prepare()
250 vs->machine = draw->vs.tgsi.machine; in draw_create_vs_exec()
Ddraw_private.h320 } tgsi; member
342 } tgsi; member
357 } tgsi; member
372 } tgsi; member
Ddraw_vs.c168 draw->vs.tgsi.machine = tgsi_exec_machine_create(PIPE_SHADER_VERTEX); in draw_vs_init()
169 if (!draw->vs.tgsi.machine) in draw_vs_init()
194 tgsi_exec_machine_destroy(draw->vs.tgsi.machine); in draw_vs_destroy()
/third_party/mesa3d/docs/relnotes/
D21.1.8.rst59 - gallium/nir/tgsi: fixup indentation
60 - gallium/nir/tgsi: initialize file_max for inputs
D10.2.9.rst76 - gallivm,tgsi: fix idiv by zero crash
D17.0.1.rst77 - tgsi: fix memory leak in tgsi sanity check
D18.3.2.rst222 - tgsi/scan: fix loop exit point in tgsi_scan_tess_ctrl()
223 - tgsi/scan: correctly walk instructions in tgsi_scan_tess_ctrl()
D18.1.1.rst61 - tgsi/scan: add hw atomic to the list of memory accessing files
D13.0.6.rst104 - tgsi: fix memory leak in tgsi sanity check
D21.2.2.rst155 - gallium/nir/tgsi: fixup indentation
156 - gallium/nir/tgsi: initialize file_max for inputs
D10.3.1.rst131 - gallivm,tgsi: fix idiv by zero crash
D17.1.10.rst63 - st/glsl->tgsi: fix u64 to bool comparisons.
/third_party/mesa3d/docs/gallium/
Dindex.rst11 tgsi
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c434 tgsi_mask(uint tgsi) in tgsi_mask() argument
438 if (tgsi & TGSI_WRITEMASK_X) mask |= NVFX_FP_MASK_X; in tgsi_mask()
439 if (tgsi & TGSI_WRITEMASK_Y) mask |= NVFX_FP_MASK_Y; in tgsi_mask()
440 if (tgsi & TGSI_WRITEMASK_Z) mask |= NVFX_FP_MASK_Z; in tgsi_mask()
441 if (tgsi & TGSI_WRITEMASK_W) mask |= NVFX_FP_MASK_W; in tgsi_mask()
Dnvfx_vertprog.c449 tgsi_mask(uint tgsi) in tgsi_mask() argument
453 if (tgsi & TGSI_WRITEMASK_X) mask |= NVFX_VP_MASK_X; in tgsi_mask()
454 if (tgsi & TGSI_WRITEMASK_Y) mask |= NVFX_VP_MASK_Y; in tgsi_mask()
455 if (tgsi & TGSI_WRITEMASK_Z) mask |= NVFX_VP_MASK_Z; in tgsi_mask()
456 if (tgsi & TGSI_WRITEMASK_W) mask |= NVFX_VP_MASK_W; in tgsi_mask()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
DADDING8 You can translate GLSL/ARB fairly easily via llvmpipe (LP_DEBUG=tgsi). I don't know the

123