summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
2011-01-26tgsi: add cases for array texturesBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
2011-01-25tgsi: add support for 1D/2D texture arraysBrian Paul
2011-01-24gallium: implement modern sampling schemeZack Rusin
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]
2011-01-15Merge branch 'draw-instanced'Brian Paul
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
2011-01-06tgsi: remove redundant name tables from tgsi_text, use those from tgsi_dumpMarek Olšák
I also specified the array sizes in the header so that one can use the Elements macro on it.
2010-12-30tgsi: Clean up header file inclusion in tgsi_text.h.Vinson Lee
2010-12-30tgsi: Clean up header file inclusion in tgsi_sanity.h.Vinson Lee
2010-12-28tgsi_dump: fix assert due to missing property name.Dave Airlie
2010-12-24tgsi_text: just parse as an integer (value is a boolean).Dave Airlie
fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie
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 <airlied@redhat.com>
2010-12-11tgsi: fix rbug compile errorMarek Olšák
../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 <maraeo@gmail.com>
2010-12-08tgsi/ppc: add case for system values and assertBrian Paul
2010-12-08tgsi/sse: add support for system valuesBrian Paul
2010-12-08tgsi: new tgsi_shader_info fields for system valuesBrian Paul
2010-12-08tgsi: add support for system values to TGSI interpreterBrian Paul
2010-11-22gallium: add PIPE_SHADER_CAP_SUBROUTINESMarek Olšák
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 <maraeo@gmail.com>
2010-11-21tgsi: Add STENCIL to text parser.Chia-I Wu
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 )) {
2010-11-12tgsi: fill out CAPs for indirect addressingMarek Olšák
2010-11-04tgsi: remove unused functionBrian Paul
2010-11-04tgsi/build: Reduce interface clutter.Michal Krol
Make private those functions that are used internally only.
2010-11-04tgsi/exec: Get rid of obsolete condition codes.Michal Krol
2010-11-04tgsi/exec: Cleanup the remaining arithmetic instructions.Michal Krol
As a result remove some nasty macros.
2010-10-15tgsi: add scanner support for centroid inputsDave Airlie
2010-10-13gallium/tgsi: add support for stencil writes.Dave Airlie
this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-11tgsi: Export some names for some tgsi enums.José Fonseca
Useful to give human legible names in other cases.
2010-09-27ureg: support centroid interpolationLuca Barbieri
2010-09-22tgsi: Fix missing test before checkJakob Bornecrantz
As introduced with commit d21301675c249602e19310d5b62fad424f2f2ac2 NOTE: This is a candidate for the 7.9 branch.
2010-09-20tgsi: Remove duplicate case value.Vinson Lee
2010-09-21tgsi: Actually care what check_soa_dependencies saysJakob Bornecrantz
Thanks to José for the more complete list of supported opcodes. NOTE: This is a candidate for the 7.9 branch.
2010-09-21tgsi: Don't ignore indirect registers in tgsi_check_soa_dependenciesJosé Fonseca
NOTE: This is a candidate for the 7.9 branch.
2010-09-20tgsi: add switch/case opcodes to tgsi_opcode_tmp.hLuca Barbieri
2010-09-16tgsi/sse: fix aos_to_soa() loop to handle num_inputs==0Brian Paul
Basically, change the loop from: do {...} while (--num_inputs != 0) into: while (num_inputs != 0) { ... --num_inputs; } Fixes fd.o bug 29987.
2010-09-15tgsi: fix incorrect usage_mask for shadow tex instructionsBrian Paul
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.
2010-09-14gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri
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
2010-08-27tgsi: Include missing header in tgsi_parse.h.Vinson Lee
Include p_compiler.h for boolean and INLINE symbols.
2010-08-27tgsi: Include missing header in tgsi_info.h.Vinson Lee
Include p_compiler.h for uint symbol.
2010-08-27tgsi: Include missing header in tgsi_dump.h.Vinson Lee
Include p_compiler.h for uint symbol.
2010-08-26tgsi: Include missing header in tgsi_sse2.h.Vinson Lee
Include p_compiler.h for boolean symbol. Clean up forward declarations.
2010-08-25tgsi: helper for dumping tokens as hexKeith Whitwell
2010-08-23tgsi: fix false CondStackTop==0 assertionBrian Paul
2010-08-15gallium: Make printing info on debug builds default offJakob Bornecrantz
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.
2010-08-06gallium: remove stray semicolonsBrian Paul
2010-08-05tgsi: Fix typo, so we follow what is in the commentsJakob Bornecrantz
2010-08-05tgsi: Add option to stop the sanity checker from printingJakob Bornecrantz
2010-07-30tgsi: remove incorrect assertionBrian Paul
2010-07-29gallium: implement bounds checking for constant buffersBrian Paul
Plumb the constant buffer sizes down into the tgsi interpreter where we can do bounds checking. Optional debug code warns upon out-of-bounds reading. Plus add a few other assertions in the TGSI interpreter.
2010-07-22tgsi: Fix error message on invalid swizzle parseJakob Bornecrantz
2010-07-21tgsi: added tgsi_shader_info::indirect_files fieldBrian Paul
Indicates which register files are accessed with indirect addressing.
2010-07-15tgsi: Remove dead assignment in uprcase function.Vinson Lee
2010-07-10tgsi: make sure that we print out the adjacency prims correctlyZack Rusin