Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-20 | tgsi: get texturing working in vertex shader sse2 path | Keith Whitwell | |
2009-07-20 | tgsi: fix regression in indexed const lookups | Keith Whitwell | |
This function was calling get_input_base() and get_output_base() to get the names of a couple of register to use as temps. Those functions no longer return registers, so adjust it to get the registers elsewhere. This change doesn't address the issue that it's a fairly poor way to grab a register name by calling a function with an apparently unrelated meaning. | |||
2009-07-16 | tgsi: simplify and fix sse KIL implementation | Keith Whitwell | |
Use sse_movmskps to extract the correct bits of the comparison result for use in updating the killmask. Simplify some logic around identifying the set of necessary comparisons to make. | |||
2009-07-16 | tgsi: initial texturing support on sse path | Keith Whitwell | |
Most obvious problem is drawpixels comes out blocky, but this may be an existing issue of KIL on the sse path. | |||
2009-07-16 | tgsi: make sse function callout mechanism more generic | Keith Whitwell | |
Take a list of arguments rather than hardcoding TEMP_R0. | |||
2009-07-16 | tgsi: reduce x86 reg usage in tgsi_sse generated programs | Keith Whitwell | |
Pass the tgsi_exec_machine struct in directly and just hold a single pointer to this struct, rather than keeping one for each of its internal members. | |||
2009-07-16 | tgsi: no need to separately malloc input and output arrays | Keith Whitwell | |
Can now guarantee alignment in the initial allocation of the tgsi exec machine. | |||
2009-07-16 | gallium: reduce recursive include of tgsi_exec.h | Keith Whitwell | |
A lot of draw code no longer needs to see this header. | |||
2009-07-16 | tgsi: make function call code in tgsi_sse.c less opaque | Keith Whitwell | |
Explictly pass src and dst arguments (previously dst argument was also being used as a src). Separate argument handling from the rest of the function call emit. | |||
2009-07-16 | gallium: proper constructor and destructor for tgsi_exec_machine | Keith Whitwell | |
Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives. | |||
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 | |