Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-20 | tgsi: check for SOA dependencies in SSE and PPC code generators | Brian Paul | |
Fall back to interpreter for now. This doesn't happen very often. | |||
2009-08-20 | tgsi: handle SOA dependencies for MOV/SWZ | Brian Paul | |
SOA dependencies can happen when a register is used both as a source and destination and the source is swizzled. For example: MOV T, T.yxwz; would expand into: MOV t0, t1; MOV t1, t0; MOV t2, t3; MOV t3, t2; The second instruction will produce the wrong result since we wrote to t0 in the first instruction. We need to use an intermediate temporary to fix this. This will take more work to fix for all TGSI instructions. This seems to happen with MOV instructions more than anything else so fix that case now and warn on others. Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317. | |||
2009-08-20 | tgsi: added tgsi_full_instruction::Flags field | Brian Paul | |
Users of the parser can make use of this. | |||
2009-08-18 | tgsi/ppc: we don't implement saturation modes yet | Brian Paul | |
2009-08-18 | tgsi/sse: we don't implement saturation modes yet | Brian Paul | |
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316. | |||
2009-07-10 | tgsi: update some assertions | Brian Paul | |
2009-07-10 | tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE | Brian Paul | |
Same story as in the tgsi_dump.c code (see prev commit). | |||
2009-07-10 | tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE | Brian Paul | |
Fixes TGSI dump output when front/back-face register is declared. Also, add some assertions to make sure the semantic/interpolate string arrays have as many elements as there are tokens in the p_shader_tokens.h file. That should catch problems like this in the future. | |||
2009-07-10 | tgis: implement indirect addressing for destination registers | Brian Paul | |
Includes the TGSI interpreter, but not the SSE/PPC/etc code generators. | |||
2009-06-26 | tgsi: correct handling of return value from util_vsnprintf | Keith Whitwell | |
We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation. | |||
2009-06-04 | tgsi: increase MAX_LABELS to 4096 | Brian Paul | |
2009-05-08 | gallium/tgsi: hack around linker/archiver breakage | Keith Whitwell | |
Add a dummy function which exists only so that tgsi_text_translate() doesn't get magic-ed out of the libtgsi.a archive by the build system. Don't remove unless you know this has been fixed - check on mingw/scons builds as well. | |||
2009-04-29 | tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled) | Brian Paul | |
The TGSI interpeter operates in SOA style. We need to check for data dependencies in instructions which read from and write to the same register. For now just adding some debug code to detect that condition. Actual fixes to follow. | |||
2009-04-24 | tgis: SSE code generator doesn't yet support indirect addressing of temp regs | Brian Paul | |
Fall back to interpreter in this case. | |||
2009-04-10 | tgsi/sse2: Cleanup NRM/NRM4 implementation. | Michal Krol | |
Fix comments. Make sure .w is set to 1.0 for NRM. Optimise for non-.xyzw writemasks. | |||
2009-04-09 | tgsi/sse2: Fix build. | Michal Krol | |
2009-04-09 | tgsi/sse2: Fix ARL instruction. | Michal Krol | |
2009-04-09 | tgsi/sse2: Fix LIT instruction. | Michal Krol | |
2009-04-03 | tgsi/exec: Actually enable switch-case for FLR. | Michal Krol | |
2009-04-03 | tgsi/text: Allow optional component selection for indirect registers. | Michal Krol | |
2009-04-03 | tgsi/text: Allow `-|src|` variant of `-(|src|)`. | Michal Krol | |
2009-04-01 | tgsi: Fix structure members initialisation. | Michal Krol | |
2009-04-01 | tgsi: Lookup alternate instruction mnemonics when parsing tgsi text. | Michal Krol | |
2009-04-01 | tgsi: Provide alternate instruction mnemonics in tgsi info. | Michal Krol | |
2009-04-01 | tgsi/doc: Fix typo. | Michal Krol | |
2009-03-31 | tgsi: added some helpful debug functions in the tgsi interpreter | Brian Paul | |
Check for NaN/Inf, print exec vectors, print temp registers. | |||
2009-03-30 | tgsi: Condition codes are implied in KILP. | Michal Krol | |
2009-03-30 | tgsi: Explain symbols used in instruction set documentation. | Michal Krol | |
2009-03-30 | tgsi: Document BRA opcode. | Michal Krol | |
2009-03-26 | tgsi: pass zero vector to texture sampler for 1D case instead of NULL | Brian Paul | |
Fixes segfault when sampling 1D textures. | |||
2009-03-22 | tgsi: minor comments | Brian Paul | |
2009-03-21 | tgsi: Document KIL, KILP instructions. | Michal Krol | |
2009-03-19 | tgsi: Document vs_2_0 instruction set operations. | Michal Krol | |
2009-03-19 | tgsi: Document vs_1_1 instruction set operations. | Michal Krol | |
2009-03-19 | tgsi: Begin documenting ps_2_x instruction set operations. | Michal Krol | |
2009-03-17 | tgsi: Restore statement ordering. | José Fonseca | |
2009-03-17 | tgsi: Document ps_2_0 instruction set operations. | Michal Krol | |
2009-03-17 | tgsi: Document ps_1_4 instruction set operations. | Michal Krol | |
2009-03-17 | tgsi: Document ps_1_1 instruction set operations. | Michal Krol | |
2009-03-17 | tgsi: Begin documenting GLSL instruction set operations. | Michal Krol | |
2009-03-17 | tgsi: Begin documenting NV_geometry_program4 instruction set operations. | Michal Krol | |
2009-03-17 | tgsi: Silence const pointer cast warnings. | Michal Krol | |
2009-03-16 | tgsi: Begin documenting NV_gpu_program4 instruction set operations. | Michal Krol | |
2009-03-16 | tgsi: Document NV_vertex_program3 instruction set operations.` | Michal Krol | |
2009-03-12 | tgsi: Localise SCS code. | Michal Krol | |
2009-03-12 | tgsi: Rewrite NRM opcode, store 1.0 in W component. | Michal Krol | |
2009-03-12 | tgsi: Begin documenting NV_fragment_program2 instruction set operations. | Michal Krol | |
2009-03-12 | tgsi: Begin documenting ARB_fragment_program instruction set operations. | Michal Krol | |
2009-03-12 | tgsi: Document ARB_vertex_program instruction set operations. | Michal Krol | |
2009-03-12 | tgsi: Begin documenting NV_vertex_program2 instruction set operations. | Michal Krol | |