Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/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 __anon08b2b8790211::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.c111 FREE(softpipe->tgsi.sampler[i]); in softpipe_destroy()
112 FREE(softpipe->tgsi.image[i]); in softpipe_destroy()
113 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()
288 softpipe->tgsi.sampler[PIPE_SHADER_VERTEX]); in softpipe_create_context()
293 softpipe->tgsi.sampler[PIPE_SHADER_GEOMETRY]); in softpipe_create_context()
298 softpipe->tgsi.image[PIPE_SHADER_VERTEX]); in softpipe_create_context()
303 softpipe->tgsi.image[PIPE_SHADER_GEOMETRY]); in softpipe_create_context()
[all …]
Dsp_state_derived.c289 softpipe->tgsi.sampler[shader]->sp_sampler[i] = in set_shader_sampler()
348 tgsi.sampler[PIPE_SHADER_FRAGMENT], in update_fragment_shader()
349 (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_FRAGMENT], in update_fragment_shader()
350 … (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_FRAGMENT]); in update_fragment_shader()
Dsp_compute.c211 (struct tgsi_sampler *)softpipe->tgsi.sampler[PIPE_SHADER_COMPUTE], in softpipe_launch_grid()
212 (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_COMPUTE], in softpipe_launch_grid()
213 (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_COMPUTE]); in softpipe_launch_grid()
Dsp_context.h161 } tgsi; member
/third_party/mesa3d/src/gallium/auxiliary/
Dmeson.build175 'tgsi/tgsi_aa_point.c',
176 'tgsi/tgsi_aa_point.h',
177 'tgsi/tgsi_build.c',
178 'tgsi/tgsi_build.h',
179 'tgsi/tgsi_dump.c',
180 'tgsi/tgsi_dump.h',
181 'tgsi/tgsi_dynamic_indexing.c',
182 'tgsi/tgsi_exec.c',
183 'tgsi/tgsi_exec.h',
184 'tgsi/tgsi_from_mesa.c',
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c713 draw->gs.tgsi.sampler, in draw_geometry_shader_prepare()
714 draw->gs.tgsi.image, in draw_geometry_shader_prepare()
715 draw->gs.tgsi.buffer); in draw_geometry_shader_prepare()
724 draw->gs.tgsi.machine = tgsi_exec_machine_create(PIPE_SHADER_GEOMETRY); in draw_gs_init()
727 draw->gs.tgsi.machine->Primitives[i] = align_malloc( in draw_gs_init()
729 draw->gs.tgsi.machine->PrimitiveOffsets[i] = align_malloc( in draw_gs_init()
731 if (!draw->gs.tgsi.machine->Primitives[i] || !draw->gs.tgsi.machine->PrimitiveOffsets[i]) in draw_gs_init()
733 memset(draw->gs.tgsi.machine->Primitives[i], 0, in draw_gs_init()
735 memset(draw->gs.tgsi.machine->PrimitiveOffsets[i], 0, in draw_gs_init()
746 if (draw->gs.tgsi.machine) { in draw_gs_destroy()
[all …]
Ddraw_context.c809 draw->vs.tgsi.sampler = sampler; in draw_texture_sampler()
812 draw->gs.tgsi.sampler = sampler; in draw_texture_sampler()
815 draw->tcs.tgsi.sampler = sampler; in draw_texture_sampler()
818 draw->tes.tgsi.sampler = sampler; in draw_texture_sampler()
838 draw->vs.tgsi.image = image; in draw_image()
841 draw->gs.tgsi.image = image; in draw_image()
844 draw->tcs.tgsi.image = image; in draw_image()
847 draw->tes.tgsi.image = image; in draw_image()
867 draw->vs.tgsi.buffer = buffer; in draw_buffer()
870 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
373 } 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
D21.2.2.rst155 - gallium/nir/tgsi: fixup indentation
156 - gallium/nir/tgsi: initialize file_max for inputs
D13.0.6.rst104 - tgsi: fix memory leak in tgsi sanity check
D10.3.1.rst131 - gallivm,tgsi: fix idiv by zero crash
D21.2.4.rst88 - r300: implement forgotten tgsi's cases of textures
/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