summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_mesa_to_tgsi.c
AgeCommit message (Collapse)Author
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-19mesa: Fix arb parse constantsBrian Paul
2008-09-17gallium: include prog_print.h to silence warningBrian Paul
2008-09-17tgsi: Add a ugly fix for CONSTANT problemsJakob Bornecrantz
2008-09-17tgsi: More debug printing on sanity check errorJakob Bornecrantz
2008-09-16mesa: State tracker now checks for faulty shaders on debugJakob Bornecrantz
2008-08-19st: Do not translate program constants to immediates whenMichal Krol
indirect addressing used.
2008-08-19st: Translate address register declaration.Michal Krol
2008-08-19st: Fix immediate construction.Michal Krol
2008-08-13mesa: KIL -> KIL, KIL_NV -> KILP.Michal Krol
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-23gallium: fix translation of extended swizzles, per-component negationBrian Paul
2008-06-24mesa: Replace abort by asserts.José Fonseca
2008-06-12glsl: implement variable array indexesZack Rusin
2008-05-31mesa: Fix build after TGSI declaration interface changes.Michal Krol
2008-05-01mesa: squash harmless warningKeith Whitwell
2008-04-14gallium: fix semantic indexes for outputsBrian
2008-04-04gallium: always pass size=4 to make_immediate()Brian
Mesa always packs 4 immediates into each parameter/const buffer slot. I think we were just getting lucky with this as it was.
2008-03-12gallium: use TXP rather than ExtDivide flagBrian
2008-03-11gallium: rework CSO-related code in state trackerBrian
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-01-17Revert "temporarily don't emit TGSI immediates, use the constant buffer"José Fonseca
This reverts commit 310e7ca44b33558a9aa22f43024d1bfb63642128.
2008-01-17temporarily don't emit TGSI immediates, use the constant bufferBrian
This allows a few more programs to run and not crash. Need to get constant buffer uploads working...
2007-12-20gallium: translate ARB fp/vp immediates consistently to tgsi immediatesKeith Whitwell
2007-12-19Add some prototype code for converting RET to END for main(). Disabled for now.Brian
2007-12-19convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RETBrian
2007-12-17Emit declarations for constants (references to the const buffer)Brian
2007-12-14emit tgsi declarations for texture samplersBrian
2007-12-14Don't always declare frag shader INPUT[0] as fragment position.Brian
We were doing this for the sake of softpipe and the tgsi intergrepter since we always need the fragment position and W-coordinate information in order to compute fragment interpolants. But that's not appropriate for hardware drivers. The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector variable setup by softpipe. The new pipe_shader_state->input_map[] defines how vert shader outputs map to frag shader inputs. It may go away though, since one can also examine the semantic label on frag shader input[0] to figure things out.
2007-11-23gallium: reorg tgsi directories.Michal Krol
2007-11-22Fix build errors.José Fonseca
2007-10-30tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.Michel Dänzer
2007-10-30Enable immediates in TGSI and work with them in LLVM code.Zack Rusin
Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
2007-10-29Remove TGSI_INTERPOLATE_ATTRIB.Michal Krol
2007-10-29Fix newlines.Michal Krol
2007-10-28Update comments.Michal Krol
2007-10-28Declare temporaries in a more compact fashion.michal
The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
2007-10-28Declare temporaries in a more compact fashion.michal
The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
2007-10-27Comments about texture instructions and the src regsBrian
2007-10-27Move mesa_to_tgsi.[ch] to state_trackerBrian
2007-10-27Move mesa_to_tgsi.[ch] into state tracker.Brian