History log of /external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bdbe77f9c6f06cfaa155f27c2ade3c523d7fbea7 24-Jan-2011 Zack Rusin <zackr@vmware.com> gallium: implement modern sampling scheme

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]
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
7f5202be63c6dc639e57d11ef8253e79dd349f59 15-Aug-2010 Jakob Bornecrantz <wallbraker@gmail.com> gallium: Make printing info on debug builds default off

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.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
14e9fbee1cef281c6849a5f2a6d2cc66bfd4b3fd 06-Aug-2010 Brian Paul <brianp@vmware.com> gallium: remove stray semicolons
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
1a3a04d56b01714e4fa19aa7efcdae4b6644af46 06-Aug-2010 Jakob Bornecrantz <jakob@vmware.com> tgsi: Fix typo, so we follow what is in the comments
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
9f5c1194ff0ff69be5d7641d68169b152bc6cd0a 06-Aug-2010 Jakob Bornecrantz <jakob@vmware.com> tgsi: Add option to stop the sanity checker from printing
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
101f792a2af9c9a19a050afba8b60caa689466a5 18-Jun-2010 Zack Rusin <zackr@vmware.com> gallium: add a temporary array register file

like normal temporaries, but allows to define a number of distinct
arrays, all of which make it explicit that they contain /indexable/
registers.
as a side-effect we're adding support for multi-dimensional destination
registers.
The whole thing looks like this:
DCL TEMPX[0][0..128] # 0 array with 128 registers

ADD TEMPX[0][0], IN[0], IMM[0]
ADD TEMPX[0][1], IN[0], IMM[0]
ABS OUT[0], TEMPX[0][TEMP[0]]
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
2b221e11da7a8bf759e3c359f22ba6f49d5f0997 18-Jun-2010 Zack Rusin <zackr@vmware.com> gallium: add a new register file - immediate array

allows one to specify a safe (bound checked) array
filled with immediates. it works just like a const
array and declares much like our current immediates.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
23969670387bc0bb7d0761936905e5eb4df963dc 11-Jun-2010 Zack Rusin <zack@kde.org> tgsi: support 2d indirect addressing
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
d288698a76e2ad8408d303570578856a05ea96d0 03-May-2010 José Fonseca <jfonseca@vmware.com> gallium: Remove loop register file.

It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is
just like another address register now.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
73e1405de0277bab2d617742ff5a764467e32899 27-Apr-2010 José Fonseca <jfonseca@vmware.com> tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
28e80aa0b85aac3ed3d34ee13b6412be4d9d5773 22-Feb-2010 José Fonseca <jfonseca@vmware.com> tgsi: Report an error when a destination has an empty writemask.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
4367de152cc5bd7240d75a33e75c1b1671b5cc16 19-Jan-2010 Michal Krol <michal@vmware.com> tgsi: Handle 2-D declarations.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
7472cd0f1f0f8284729274bc5c453d59d9ab4b55 18-Jan-2010 Michal Krol <michal@vmware.com> tgsi: Fix behaviour of dimension index.

The dimension index always addresses the second-dimension axis.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
463351ea6c953c3db7f135ba97160a212562daef 18-Jan-2010 Michal Krol <michal@vmware.com> tgsi: Allow TEMPORARY registers as indirect address into source operands.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
d1767bfdabac4fd1eedb1ad9ddea368e077725c6 15-Jan-2010 Michal Krol <michal@vmware.com> tgsi: Fix sanity checks for indirect registers.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
7335d8006fdc065c8dbe6b63007ffa77ffd53470 07-Jan-2010 Brian Paul <brianp@vmware.com> tgsi: add assertion to verify legal register file

This assertion fails with piglit glsl-vs-mov-after-deref test
because we're double freeing the memory. It seems there's some
confusion between what's placed in the hash table and what isn't.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
0c6794c46fdd1225bb1d8ece77ea937cb822a1a3 07-Jan-2010 Brian Paul <brianp@vmware.com> tgsi: fix incorrectly placed braces, add more braces to be clear
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
16b5d2eba3b5ccb56c26c0d1c66763f99f1ad191 07-Jan-2010 Brian Paul <brianp@vmware.com> tgsi: move register checking code before check_register_usage()

check_register_usage() frees the scan_register *reg data so we were
reading from freed memory. This fixes a valgrind error found with
piglit's glsl-vs-mov-after-deref test.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
55b5c8816e95528cbe68599bade44796e10711cd 05-Jan-2010 Michal Krol <michal@vmware.com> tgsi: Use FREE() to release MALLOC-ed() memories in sanity.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
767d1472df68a777c51c406fa3f8d642c7cf58c0 05-Jan-2010 Michal Krol <michal@vmware.com> tgsi: Fix bogus loop condition in sanity.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
ff56a12051a91c5c69db9afb85e4a3ebdb17ef96 23-Dec-2009 Michal Krol <michal@vmware.com> tgsi: Support signed/unsigned integer immediate types.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
a00da63e6612607044e93f2900fba21bddfd0cad 24-Dec-2009 Zack Rusin <zackr@vmware.com> util: put vertices_per_primitive function in its proper location
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
22370990f28987b361c6adf8e81c5a18184e88ea 23-Dec-2009 Zack Rusin <zackr@vmware.com> tgsi: add missing support for two dimensional arrays in various places

in particular asm text parsing and sanity checking were missing code
to handle multi-dimensional arrays/geometry shaders
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
3ff688ea299581e60caf5d6e1a464f68c717fe83 14-Dec-2009 Zack Rusin <zackr@vmware.com> tgsi: add properties and system value register

adds support for properties to all parts of the tgsi framework, plus
introduces a new register which will be used for system generated
values.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
87eec80c1120d2cd9749ee360b77922feabf7f10 01-Dec-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/tgsi-simplify-ext'

Conflicts:
src/gallium/drivers/r300/r300_vs.c
2fd1aee217988caacd5c87d76deab3c0caf1bb00 27-Nov-2009 Michal Krol <michal@vmware.com> tgsi/sanity: Up MAX_REGISTERS to 1024.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
91a4e6d53f83c45c1da9240b6325011d96b61386 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_src_register to reduce verbosity

SrcRegister -> Register
SrcRegisterInd -> Indirect
SrcRegisterDim -> Dimension
SrcRegisterDimInd -> DimIndirect
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
5b0824dfe5eaf59fa87134e7482b3d147b262901 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_dst_register to reduce verbosity

DstRegister -> Register
DstRegisterInd -> Indirect
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
fe2b31e4a896167a33d267822b36eb2de0ceecba 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_declaration to reduce verbosity

DeclarationRange -> Range
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
7d6c8f980d1e23ad6f557d650e89c715861a3b0c 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosity

InstructionPredicate -> Predicate
InstructionLabel -> Label
InstructionTexture -> Texture
FullSrcRegisters -> Src
FullDstRegisters -> Dst
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
aa2b2e5d7d53ddd08425536edddec509a8834bfc 02-Nov-2009 Michal Krol <michal@vmware.com> tgsi: Update for gallium interface changes.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
983b261e6d85020ae19418428d25f2e70f43d7dd 12-Sep-2009 Keith Whitwell <keithw@vmware.com> tgsi: add const qualifier
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
848ab8be8c34b00b2afe6120882f8c29f047ced5 03-Sep-2009 Keith Whitwell <keithw@vmware.com> aux/tgsi: pull back ureg work from 0.1 branch

Manual merge of ureg changes on the branch. Too much unrelated stuff
for a proper merge.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
cb90c43676c258419e4b617c908570891d3674cb 31-Jul-2009 Michal Krol <michal@vmware.com> Rename TGSI LOOP instruction to better match theri usage.

The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour
is similar to a C language for-loop.

The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now
there is no name collision.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
6c70285e330bd19db78b7d45e43a01b0255ca15f 30-Jul-2009 Michal Krol <michal@vmware.com> tgsi: Add proper constraints to sanity.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
cf8907018e449580b397f09c267219a612ba5db4 30-Jul-2009 Michal Krol <michal@vmware.com> tgsi: Declare a LOOP register.

The only valid usage for LOOP/ENDLOOP instructions
is LOOP[0] as a destination register.
The only valid usage for the remaining instructions
is LOOP[0].x as an indirect register.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
ba91e79dad6a3666ae31b13c0c4b3b174f10b747 28-Feb-2009 Michal Krol <michal@vmware.com> tgsi: More descriptive sanity diagnostic messages.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
ea4bf267e4b023b08043f91ac44592fed1736e7f 18-Feb-2009 José Fonseca <jfonseca@vmware.com> util: Move p_debug.h into util module.

The debug functions depend on several util function for os abstractions, and
these depend on debug functions, so a seperate module is not possible.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
639a2b0ec853eda49e3e7150b2ed7f8f40d101af 06-Nov-2008 Brian <brian.paul@tungstengraphics.com> gallium: don't range check tgsi register index for indirect accesses

Fixes progs/vp/arl.txt test.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
e6a120fefea44078b3a8d4292d83671e6c41357f 17-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix tgsi sanity checker with respect to END.

Subroutine code may be found after the END instruction so it's not always
the last instruction.
At least check for presence of exactly one END instruction though.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
ad16ecbbe4fe8c1bcb18ed8fbbd672c68a0b17fa 16-Sep-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> tgsi: Make tgsi_sanity.c compile with make
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
eb5b16d278e0f7ee0121049e43dfee1d52f2b0f7 10-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> tgsi: Fix newline pos.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
4b929b32d03a58d80cacbd63c172dbd7221c8a8f 13-Aug-2008 Michal Krol <michal@tungstengraphics.com> tgsi: Validate instruction opcode and operand counts.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c
c208a2c791fa24c7c5887fc496738cbddbfafc72 27-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> Merge tgsi/exec and tgsi/util directories.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_sanity.c