aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: silence all debug_named_value related warningsJoakim Sindholt2010-06-031-9/+9
|
* st/mesa: add missing debug entry for DEBUG_CONSTANTSBrian Paul2010-04-281-0/+1
|
* st/mesa: clean-up: use st_context() everywhereBrian Paul2010-04-231-1/+1
|
* st/mesa: rename state -> tgsi, updated commentsBrian Paul2010-02-121-2/+2
|
* mesa/st: refactor vertex and fragment shader translationKeith Whitwell2009-11-151-1/+2
| | | | | | | | | | | | | | | | | Translate vertex shaders independently of fragment shaders. Previously tried to make fragment shader semantic indexes always start at zero and exclude holes. This was unnecessary but meant that vertex shader translation had to be adjusted to take this into account. Now use a fixed scheme for labelling special FS input semantics (color, etc), and another fixed scheme for the generics. With this, vertex shaders can be translated independently of the bound fragment shader, assuming mesa has done its own job and ensured that the vertex shader provides at least the inputs the fragment shader is looking for. The state-tracker didn't attempt to do anything about this previously, so it shouldn't be needed now.
* mesa/st: add ST_DEBUG environment variableKeith Whitwell2009-10-051-0/+28
| | | | | At last it's possible to turn on tgsi dumps and other debugging in the state tracker without modifying sources...
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-281-1/+1
|
* gallium: unused var silence warningBrian2008-03-201-1/+2
|
* gallium: remove semantic info from pipe_shader_stateBrian Paul2008-03-131-0/+2
| | | | Brian's patch to clean up the shader interfaces.
* gallium: rework CSO-related code in state trackerBrian2008-03-111-3/+3
| | | | | | | | | | 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...
* Code reorganization: update build.José Fonseca2008-02-151-2/+2
| | | | | | | | | 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.
* Fix problems with vertex shaders and the private draw module.Brian2008-01-141-2/+2
| | | | | | | | The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program.
* gallium: reorg tgsi directories.Michal Krol2007-11-231-1/+2
|
* print vertex input mappingBrian2007-10-181-0/+6
|
* debug functionsBrian2007-10-181-0/+60