Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-07 | tgsi: fix SSE code emit for XPD | Brian Paul | |
Rearrange things so that the writes to the dest registers happen after we've fetched/used all src registers. The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2]; Note that the dst reg is also a src reg. This fixes bad shading with progs/glsl/bump.c since Eric's changes to the Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904. The optimizer rearranges some registers so we occasionally wind up with something like the above. | |||
2010-01-07 | tgsi: add assertion to verify legal register file | Brian Paul | |
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. | |||
2010-01-07 | tgsi: fix incorrectly placed braces, add more braces to be clear | Brian Paul | |
2010-01-07 | tgsi: move register checking code before check_register_usage() | Brian Paul | |
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. | |||
2010-01-07 | gallium: Fix texture sampling with explicit LOD in softpipe. | Michal Krol | |
2010-01-07 | gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵ | Michal Krol | |
sampler. | |||
2010-01-07 | tgsi: Cleanup exec_tex(). | Michal Krol | |
2010-01-08 | tgsi: Silence uninitialized variable warnings. | Vinson Lee | |
2010-01-05 | Merge branch 'master' into instanced-arrays | Michal Krol | |
Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h | |||
2010-01-05 | tgsi: Simplify implementation of few interpreter's instructions. | Michal Krol | |
2010-01-05 | tgsi: Use FREE() to release MALLOC-ed() memories in sanity. | Michal Krol | |
2010-01-05 | tgsi: Fix bogus loop condition in sanity. | Michal Krol | |
2010-01-05 | tgsi: Treat MOV source operand as FLOAT so modifiers works as expected. | Michal Krol | |
2010-01-05 | tgsi: Store ADDR file in interpreter as an int. | Michal Krol | |
2010-01-05 | tgsi: Remove dead micro_umod(). | Michal Krol | |
2010-01-05 | tgsi: Make interpreter aware of float and integer data types. | Michal Krol | |
Debug check for inf and nan only on float channels. Apply absolute and negate source operand modifiers based on opcode type. | |||
2010-01-05 | gallium: Add UMOD TGSI opcode. | Michal Krol | |
Either that or have UDIV have two destination operands. | |||
2010-01-05 | gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI. | Michal Krol | |
Provide reference implementation of them in tgsi_exec. Note that BREAK opcode is overloaded and can be used to break out of either a loop or a switch-case statement. | |||
2010-01-05 | tgsi/ureg: Improve immediate match & expand logic. | Michal Krol | |
Do not pollute immediates with unsuccessfull attempts to expand them. | |||
2010-01-05 | tgsi: Support signed/unsigned integer immediate types. | Michal Krol | |
2010-01-05 | tgsi: Cleanup interpreter code for other existing integer opcodes. | Michal Krol | |
2010-01-05 | Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR. | Michal Krol | |
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR. | |||
2010-01-05 | tgsi: Implement new integer opcodes. | Michal Krol | |
Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR. | |||
2010-01-04 | tgsi: Fix assert. | Vinson Lee | |
2010-01-04 | Fix test | Alan Hourihane | |
2010-01-01 | tgsi: Add missing semantic name in text parser. | Igor Oliveira | |
2010-01-01 | gallium: Generate a single library for auxiliaries with Make too. | José Fonseca | |
2010-01-01 | scons: Aggregate all tiny libraries in a single library. | José Fonseca | |
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree, | |||
2009-12-31 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c | |||
2009-12-30 | tgsi: Support system values in ureg. | Michal Krol | |
2009-12-29 | Implement draw_arrays_instanced() in softpipe. | Michal Krol | |
Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset. | |||
2009-12-27 | tgsi/ureg: Silence uninitialized variable warnings. | Vinson Lee | |
2009-12-26 | tgsi: Don't dump parenthesis for negation. | José Fonseca | |
It doesn't seem necessary, and more importantly, tgsi_parse doesn't know how to read them. | |||
2009-12-25 | gallium: remove TGSI_SEMANTIC_VERTICES | Zack Rusin | |
it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size. | |||
2009-12-25 | util: put vertices_per_primitive function in its proper location | Zack Rusin | |
2009-12-25 | draw/tgsi: fix geometry shader input/output swizzling | Zack Rusin | |
2009-12-25 | tgsi: dump the indices correctly when dealing with 2d arrays | Zack Rusin | |
2009-12-25 | tgsi: fix property parsing/building | Zack Rusin | |
2009-12-25 | tgsi: add missing support for two dimensional arrays in various places | Zack Rusin | |
in particular asm text parsing and sanity checking were missing code to handle multi-dimensional arrays/geometry shaders | |||
2009-12-25 | tgsi: make the tgsi assembly parser report line/column on error | Zack Rusin | |
2009-12-25 | gallium: add geometry shader support to gallium | Zack Rusin | |
2009-12-22 | Merge branch 'gallium-edgeflags' | Roland Scheidegger | |
Conflicts: src/mesa/state_tracker/st_draw.c | |||
2009-12-22 | tgsi: Implement BREAKC in interpreter. | Michal Krol | |
2009-12-18 | gallium: store edgflag info in tgsi_shader_info | Roland Scheidegger | |
provides easier access for drivers which may base fallback decision on this | |||
2009-12-16 | gallium: edgeflags change fixes | Roland Scheidegger | |
use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken | |||
2009-12-15 | tgsi/text: Don't use strncasecmp(), it breaks windows build. | Michal Krol | |
Also, break out of the for-loop when a matching property is found. | |||
2009-12-14 | tgsi: add properties and system value register | Zack Rusin | |
adds support for properties to all parts of the tgsi framework, plus introduces a new register which will be used for system generated values. | |||
2009-12-14 | tgsi/ureg: Add ureg_DECL_gs_input(). | Michal Krol | |
Allows one to declare GS input registers. | |||
2009-12-08 | tgsi: fix some off-by-one errors in shader length, instruction length | Brian Paul | |
The ureg and/or tgsi-simplification work introduced some inconsistencies between the ureg and traditional TGSI construction code. Now the tgsi_instruction::NrTokens field is consistant and the tgsi_header::BodySize field isn't off by one. Fixes bug 25455. | |||
2009-12-03 | tgsi/ureg: Fix ureg_emit_src(). | Michal Krol | |