Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-28 | ureg: return imm1f values as scalars | Keith Whitwell | 1 | -1/+7 | |
Instead of IMM[5].wxxx, where .x is some random value, return the more useful IMM[5].wwww | |||||
2009-08-28 | st/d3d: correction for sampler decl emit | Keith Whitwell | 1 | -3/+2 | |
Recent change broke this | |||||
2009-08-28 | util: don't swallow debug output when running on console | Keith Whitwell | 1 | -0/+11 | |
2009-08-28 | tgsi: add generic instruction builder | Keith Whitwell | 2 | -0/+33 | |
When translating an incoming shader (rather than building one from scratch) it's preferable to be able to call a single, generic instruction emitter rather than figuring out which of the opcode-specific functions to call. (cherry picked from commit b570a7e6b6ebd05e94fd91f2df53de7d2e2e05d2) | |||||
2009-08-28 | ureg: make sampler decl take an explicit index | Keith Whitwell | 2 | -6/+29 | |
2009-08-28 | ureg: add explicit undefined src/dest constructors | Keith Whitwell | 1 | -0/+50 | |
Also functions to test for undefined registers. | |||||
2009-08-28 | ureg: shorten ureg_DECL_immediate*f to ureg_imm*f | Keith Whitwell | 1 | -4/+4 | |
2009-08-27 | ureg: respect Negate flag in src regs | Keith Whitwell | 1 | -0/+3 | |
2009-08-27 | tgsi: Ensure ureg inputs match the processor. | José Fonseca | 1 | -0/+2 | |
2009-08-27 | tgsi: Rewrite NRM opcode, store 1.0 in W component. | Michal Krol | 1 | -23/+27 | |
2009-08-27 | tgsi: Implement RFL, SFL, STR, X2D opcodes. | Michal Krol | 1 | -5/+87 | |
2009-08-27 | tgsi: Implement RCC opcode. | Michal Krol | 1 | -1/+32 | |
2009-08-27 | tgsi: Implement CLAMP opcode. | Michal Krol | 1 | -7/+14 | |
2009-08-27 | tgsi: Implement CND, CND0 opcodes. | Michal Krol | 1 | -2/+14 | |
2009-08-25 | tgsi: Disable ureg debug output. | José Fonseca | 1 | -1/+1 | |
2009-08-25 | tgsi: Initialize immediate swizzle. | José Fonseca | 1 | -1/+1 | |
2009-08-25 | softpipe: add additional surface formats in tile cache code | Brian Paul | 1 | -0/+3 | |
2009-08-25 | softpipe: some improvements to texture tile cache | Brian Paul | 1 | -4/+12 | |
Use a somewhat better function in tex_cache_pos() to get better caching. Increase number of cache entries to 50. Also fix a texture invalidation bug. If texture is marked as modified, invalidate all texture tiles. | |||||
2009-08-24 | tgsi: Add more sanity checking to ureg. | José Fonseca | 2 | -1/+25 | |
2009-08-24 | tgsi: Make ureg C++ friendly. | José Fonseca | 1 | -1/+7 | |
2009-08-24 | Revert "tgsi: Dummy ureg_complement/ureg_modulate." | José Fonseca | 1 | -26/+1 | |
These deprecated D3D PS 1.x features are better handled explicitely. This reverts commit ef5ba95e1913556834cdb623f62ab470dd4ed47a. | |||||
2009-08-24 | scons: Don't use deprecated Options. | José Fonseca | 2 | -9/+9 | |
2009-08-24 | tgsi: add missing functionality to support instructions with labels | Keith Whitwell | 2 | -1/+57 | |
Could previously emit opcodes with label arguments, but was no way to patch them with the actual destinations of those labels. Adds two functions: ureg_get_instruction_number - to get the id of the next instruction to be emitted ureg_fixup_label - to patch an emitted label to point to a given instruction number. Need some more complex examples than u_simple_shader, so far this has only been compile-tested. | |||||
2009-08-24 | tgsi: Only free temp uregs. | José Fonseca | 1 | -2/+3 | |
Shorthand. | |||||
2009-08-24 | tgsi: Pass pipe_context as a parameter to ureg_create_shader. | José Fonseca | 2 | -14/+30 | |
Simplifies migration to tgsi_ureg. | |||||
2009-08-24 | tgsi: Dummy ureg_complement/ureg_modulate. | José Fonseca | 1 | -1/+26 | |
2009-08-21 | draw: Remove unused variable. | José Fonseca | 1 | -1/+0 | |
2009-08-21 | draw: cope with more primitives in draw_pipeline_run | Keith Whitwell | 1 | -22/+55 | |
This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad) | |||||
2009-08-18 | tgsi: Fix typo in ureg constant creation. | José Fonseca | 1 | -1/+1 | |
2009-08-17 | tgsi: Backport tgsi_ureg to gallium-0.1. | José Fonseca | 2 | -11/+10 | |
2009-08-17 | tgsi: Remove unused argument. | José Fonseca | 1 | -4/+2 | |
2009-08-17 | tgsi: Add missing include. | José Fonseca | 1 | -0/+1 | |
2009-08-17 | tgsi: add simple facility for releasing and reusing temporaries | Keith Whitwell | 2 | -4/+40 | |
2009-08-17 | tgsi: rename ureg src/dest converters | Keith Whitwell | 1 | -3/+3 | |
Also fix a typo in ureg_src(). | |||||
2009-08-17 | tgsi: turn off debugging | Keith Whitwell | 1 | -1/+1 | |
2009-08-17 | tgsi: use REALLOC for growing token pool | Keith Whitwell | 1 | -11/+5 | |
2009-08-17 | tgsi: add tgsi_ureg, a simplified tgsi shader builder | Keith Whitwell | 5 | -0/+1381 | |
This is modelled on the nice & easy-to-use facilities we had for building shaders in mesa, eg. in texenvprogram.c and friends. Key points include pass-by-value register structs that can be manipulated in a functional style, eg: negate(swizzle(reg, X,X,X,X)) and per-opcode instruction functions, eg: emit_MOV( p, writemask(dst, 0x1), negate(src)); and similar. Additionally, the interface allows mixed emit of instructions and decls, which are sorted out internally to obey TGSI ordering. Immediates may be emitted at any time and are scanned against existing immediates to try and reduce redundancy. Not all TGSI functionality is accessible through this interface, but most or all of what mesa uses should be. | |||||
2009-08-14 | tgsi: Remove the ENDLOOP destination register. | José Fonseca | 1 | -1/+1 | |
2009-08-14 | tgsi: Output faulty opcode name when possible. | José Fonseca | 1 | -2/+2 | |
2009-08-13 | mesa: Don't call get_minmax_index on VBOs. | José Fonseca | 1 | -10/+2 | |
It can be very slow to do this on uncached memory. Let the driver do this if it deems necessary. | |||||
2009-07-30 | tgsi: Fix definitions of LOOP/ENDLOOP instructions. | Michal Krol | 7 | -14/+20 | |
2009-07-27 | softpipe: Only supports integer depth formats. | José Fonseca | 1 | -0/+1 | |
Attempts to use PIPE_FORMAT_Z32_FLOAT cause assertion failure. | |||||
2009-05-31 | python/retrace: Open bz2 files correctly. | José Fonseca | 1 | -1/+1 | |
2009-05-20 | util: Add missing include. | José Fonseca | 1 | -0/+1 | |
For assert macro. | |||||
2009-05-20 | trace: Make calls dumping threadsafe. | José Fonseca | 1 | -0/+7 | |
2009-05-20 | trace: Make call no global. | José Fonseca | 1 | -3/+4 | |
2009-05-20 | trace: Number calls. | José Fonseca | 2 | -1/+12 | |
2009-05-18 | python/retrace: Fix flush dirty logic. | José Fonseca | 1 | -1/+1 | |
2009-05-18 | python/retrace: Try to cope with failures creating textures. | José Fonseca | 1 | -0/+6 | |
2009-05-18 | python/retrace: Use colors on windows console. | José Fonseca | 1 | -0/+70 | |