summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
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
2010-06-18gallium: add a temporary array register fileZack Rusin
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]]
2010-06-18gallium: add a new register file - immediate arrayZack Rusin
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.
2010-06-15gs: make sure we end primitives when finishing executing shadersZack Rusin
2010-06-11tgsi: support 2d indirect addressingZack Rusin
2010-06-09geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin
of vertices lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer.
2010-06-07tgsi: null-terminate string in parse_identifierKeith Whitwell
Hit this parsing geometry shader properties.
2010-06-07tgsi: reject interpolation and semantics on vs inputsKeith Whitwell
2010-06-03tgsi: we don't support indirect input/output registers in SSE codegen yetBrian Paul
Extend the check for indirect addressing of temp regs to include input/output regs. Fixes failure with piglit glsl-texcoord-array.shader_test test when using SSE codegen.
2010-06-03tgsi: whitespace cleanupBrian Paul
2010-06-01tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca
It was not used anywhere; the code was buggy (it didn't take care of indirect registers and could potential cause buffer underflows) and the same effect can now be easily achieved by just by looking at input_semantic_name[] and input_usage_mask[].
2010-06-01tgsi: Remove tgsi-instruction-set.txt.José Fonseca
Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
2010-06-01tgsi: Determine which shader input channels are effectively.José Fonseca
TGSI's UsageMask flag is never set. We can move this logic into tgsi_ureg, but there there are still cases where's not used, so this seems a better place for now.
2010-05-19tgsi: Implement OPCODE_DIV.Michal Krol
2010-05-14tgsi: add a dummy function to silence warningBrian Paul
2010-05-12tgsi: also count instructions in tgsi_scan_shader()Brian Paul
2010-05-12softpipe: Adverstise (tgsi_exec's) shader limits.José Fonseca
2010-05-11mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().José Fonseca
This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
2010-05-07tgis: fix SOA aliasing for MUL instruction in SSE codegenBrian Paul
Part of a fix for piglit trinity-fp1 test failure.
2010-05-06tgsi: make SSE ADD instruction SOA-safeBrian Paul
To properly execute an instruction such as "ADD tmp, tmp.wzyx, foo;" with SOA we (sometimes) need to put the results into temporaries before writing the results to the destination register. This patch fixes the ADD instruction but this needs to be done for many more instructions. Helps to fix piglit fp-long-alu test (fd.o bug 27989).
2010-05-06tgsi: code refactoringBrian Paul
2010-05-06tgsi: added tgsi_get_processor_name()Brian Paul
2010-05-06tgsi: fix tgsi_exec_machine_bind_shader() to handle NULL tokens, samplersBrian Paul
This lets us unbind a shader from the tgsi_exec_machine. Since shaders aren't ref counted we need this to properly clean up when deleting shaders elsewhere.
2010-05-06gallium/tgsi: remove unused tgsi_exec_labels codeBrian Paul
2010-05-05tgsi: make dumping work on non-debug buildsMarek Olšák
2010-05-03tgsi: Parse and dump predicates.José Fonseca
2010-05-03gallium: Remove loop register file.José Fonseca
It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is just like another address register now.
2010-04-27tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-18tgsi: add comment about potential code removalBrian Paul
2010-04-18tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul
2010-03-28aux/tgsi: fix some minor glitches in string routinesKeith Whitwell
Not sure why we are open-coding these rather than using standard library functions.
2010-03-01tgsi: Cleanup exec code for CLAMP, CMP and CND.Michal Krol
2010-02-25tgsi: Remove dead code.Michal Krol
2010-02-22tgsi: Report an error when a destination has an empty writemask.José Fonseca
2010-02-20tgsi: ifdef out unused function micro_sqrt.Vinson Lee
2010-02-19tgsi: Make more exec opcodes look pretty.Michal Krol
2010-02-19tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.Michal Krol
2010-02-19tgsi: Rewrite exec implementations of NRM and NRM4.Michal Krol
2010-02-09tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol
2010-02-09tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-09gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol
2010-02-09tgsi: Remove tgsi_dump_c.[ch].Michal Krol
Little utility after development stabilisation, use tgsi_dump instead.