summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: remove set-but-unused variablesMarek Olšák2011-05-011-4/+0
|
* tgsi: Fix parsing of properties with digits in the nameJakob Bornecrantz2011-03-131-1/+1
|
* tgsi: Disable SSE2 code generation.José Fonseca2011-03-041-3/+20
| | | | | | It's broken now that tgsi_exec_machine::Inputs/Ouputs are pointers. Temporary if anybody still cares about tgsi_sse2.c. Permanent otherwise.
* tgsi: Update assert.José Fonseca2011-03-031-1/+1
| | | | | Elements(mach->Inputs) is wrong now that mach->Inputs is dynamically allocated.
* tgsi: defer allocation of huge inputs/outputs until we have a gsZack Rusin2011-03-022-6/+45
|
* gallium/tgsi: shuffle ureg_src structure to work around gcc4.6.0 issueJerome Glisse2011-02-251-14/+14
| | | | | | | | | | | | There is an issue with gcc 4.6.0 that leads to segfault/assert with mesa due to ureg_src size, reshuffling the structure member to better better alignment work around the issue. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47893 7.9 + 7.10 candidate Signed-off-by: Jerome Glisse <[email protected]>
* tgsi: add cases for array texturesBrian Paul2011-01-261-0/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
* tgsi: add support for 1D/2D texture arraysBrian Paul2011-01-253-2/+39
|
* gallium: implement modern sampling schemeZack Rusin2011-01-2412-33/+607
| | | | | | | | | | | largely a merge of the previously discussed origin/gallium-resource-sampling but updated. the idea is to allow arbitrary binding of resources, the way opencl, new gl versions and dx10+ require, i.e. DCL RES[0], 2D, FLOAT LOAD DST[0], SRC[0], RES[0] SAMPLE DST[0], SRC[0], RES[0], SAMP[0]
* Merge branch 'draw-instanced'Brian Paul2011-01-156-8/+99
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
| * tgsi/ppc: add case for system values and assertBrian Paul2010-12-081-1/+3
| |
| * tgsi/sse: add support for system valuesBrian Paul2010-12-081-3/+51
| |
| * tgsi: new tgsi_shader_info fields for system valuesBrian Paul2010-12-082-1/+22
| |
| * tgsi: add support for system values to TGSI interpreterBrian Paul2010-12-082-3/+23
| |
* | tgsi: remove redundant name tables from tgsi_text, use those from tgsi_dumpMarek Olšák2011-01-063-56/+33
| | | | | | | | | | I also specified the array sizes in the header so that one can use the Elements macro on it.
* | tgsi: Clean up header file inclusion in tgsi_text.h.Vinson Lee2010-12-301-2/+4
| |
* | tgsi: Clean up header file inclusion in tgsi_sanity.h.Vinson Lee2010-12-301-2/+4
| |
* | tgsi_dump: fix assert due to missing property name.Dave Airlie2010-12-281-1/+2
| |
* | tgsi_text: just parse as an integer (value is a boolean).Dave Airlie2010-12-241-1/+0
| | | | | | | | | | | | fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <[email protected]>
* | gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie2010-12-243-2/+23
| | | | | | | | | | | | | | | | | | | | For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the basic TGSI + documentation. v2: fix missing comma pointed out by Tilman on mesa-dev. Signed-off-by: Dave Airlie <[email protected]>
* | tgsi: fix rbug compile errorMarek Olšák2010-12-111-1/+2
|/ | | | | | | ../mesa/src/gallium/auxiliary/tgsi/tgsi_parse.h:139: error: dereferencing pointer ‘tokens.25’ does break strict-aliasing rules Signed-off-by: Marek Olšák <[email protected]>
* gallium: add PIPE_SHADER_CAP_SUBROUTINESMarek Olšák2010-11-221-0/+2
| | | | | | | | | | | This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers which don't support RET (i915g, r300g, r600g, svga). ir_to_mesa does not currently generate subroutines, but it's a matter of time till it's added. It would then break all the drivers which don't implement them, so this CAP makes sense. Signed-off-by: Marek Olšák <[email protected]>
* tgsi: Add STENCIL to text parser.Chia-I Wu2010-11-211-1/+2
| | | | | | | | | Fix OpenVG "filter" demo Program received signal SIGSEGV, Segmentation fault. 0xb7153dc9 in str_match_no_case (pcur=0xbfffe564, str=0x0) at tgsi/tgsi_text.c:86 86 while (*str != '\0' && *str == uprcase( *cur )) {
* tgsi: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* tgsi: remove unused functionBrian Paul2010-11-041-11/+0
|
* tgsi/build: Reduce interface clutter.Michal Krol2010-11-042-541/+367
| | | | Make private those functions that are used internally only.
* tgsi/exec: Get rid of obsolete condition codes.Michal Krol2010-11-042-33/+4
|
* tgsi/exec: Cleanup the remaining arithmetic instructions.Michal Krol2010-11-041-378/+413
| | | | As a result remove some nasty macros.
* tgsi: add scanner support for centroid inputsDave Airlie2010-10-152-0/+2
|
* gallium/tgsi: add support for stencil writes.Dave Airlie2010-10-133-4/+8
| | | | | | this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <[email protected]>
* tgsi: Export some names for some tgsi enums.José Fonseca2010-10-112-23/+35
| | | | Useful to give human legible names in other cases.
* ureg: support centroid interpolationLuca Barbieri2010-09-272-9/+31
|
* tgsi: Fix missing test before checkJakob Bornecrantz2010-09-221-1/+2
| | | | | | As introduced with commit d21301675c249602e19310d5b62fad424f2f2ac2 NOTE: This is a candidate for the 7.9 branch.
* tgsi: Remove duplicate case value.Vinson Lee2010-09-201-1/+0
|
* tgsi: Actually care what check_soa_dependencies saysJakob Bornecrantz2010-09-211-17/+39
| | | | | | Thanks to José for the more complete list of supported opcodes. NOTE: This is a candidate for the 7.9 branch.
* tgsi: Don't ignore indirect registers in tgsi_check_soa_dependenciesJosé Fonseca2010-09-211-2/+4
| | | | NOTE: This is a candidate for the 7.9 branch.
* tgsi: add switch/case opcodes to tgsi_opcode_tmp.hLuca Barbieri2010-09-201-0/+4
|
* tgsi/sse: fix aos_to_soa() loop to handle num_inputs==0Brian Paul2010-09-161-6/+9
| | | | | | | | | Basically, change the loop from: do {...} while (--num_inputs != 0) into: while (num_inputs != 0) { ... --num_inputs; } Fixes fd.o bug 29987.
* tgsi: fix incorrect usage_mask for shadow tex instructionsBrian Paul2010-09-151-5/+6
| | | | | | The shadow versions of the texture targets use an extra component (Z) to express distance from light source to the fragment. Fixes the shadowtex demo with llvmpipe.
* gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri2010-09-141-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested
* tgsi: Include missing header in tgsi_parse.h.Vinson Lee2010-08-271-0/+1
| | | | Include p_compiler.h for boolean and INLINE symbols.
* tgsi: Include missing header in tgsi_info.h.Vinson Lee2010-08-271-0/+1
| | | | Include p_compiler.h for uint symbol.
* tgsi: Include missing header in tgsi_dump.h.Vinson Lee2010-08-271-0/+1
| | | | Include p_compiler.h for uint symbol.
* tgsi: Include missing header in tgsi_sse2.h.Vinson Lee2010-08-261-1/+4
| | | | | Include p_compiler.h for boolean symbol. Clean up forward declarations.
* tgsi: helper for dumping tokens as hexKeith Whitwell2010-08-252-13/+25
|
* tgsi: fix false CondStackTop==0 assertionBrian Paul2010-08-231-0/+5
|
* gallium: Make printing info on debug builds default offJakob Bornecrantz2010-08-152-2/+2
| | | | | | | This commit silences the printing off most of the debug information when running debug builds. The big culprits are: the tgsi sanity checker that gets run on all shaders on debug; all the options; and finaly the cpu caps printer.
* gallium: remove stray semicolonsBrian Paul2010-08-061-1/+1
|
* tgsi: Fix typo, so we follow what is in the commentsJakob Bornecrantz2010-08-051-1/+1
|
* tgsi: Add option to stop the sanity checker from printingJakob Bornecrantz2010-08-052-1/+15
|