summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_vs.c
AgeCommit message (Collapse)Author
2007-09-21use VERT_ATTRIB_MAX for loop limitBrian
2007-09-21Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian
2007-09-21rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16Brian
2007-09-21pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵Brian
output DECs
2007-09-21fix in/out typosBrian
2007-09-21Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵Brian
produce DCLs.
2007-09-21fix 1/i typosBrian
2007-09-20Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian
Still need to produce decl instructions for vertex shaders...
2007-09-20remove lots of dead code related to program input/output mappingBrian
2007-09-20Checkpoint: vertex attribute clean-up.Brian
Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
2007-09-20Always update st->state.vs, not just when the program is dirty.Brian
This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders.
2007-09-20fix input/output typosBrian
2007-09-20Switch fragment/vertex shaders to the new caching semantics.Zack Rusin
Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
2007-09-19Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian
TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
2007-09-19Only generate vertex shader code when necessary.Michel Dänzer
2007-09-19Finish up conversions of shaders to immutable objects.Zack Rusin
Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
2007-09-18Checkpoint: rework shader input/output register mapping.Brian
This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done...
2007-09-18Fix linux-dri-x86 target.Michel Dänzer
2007-09-18Convert shader to an immutable state object.Zack Rusin
2007-09-17Fix linux-dri-x86 build.Michel Dänzer
2007-08-25add names to tracked state atoms to improve debugkeithw
2007-08-25checkpoint in constant tracking reworkKeith Whitwell
2007-08-25remove unneeded dirty flagkeithw
2007-08-24Add support for more surface types in sp_surface.cBrian
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-24Hook-up SSE2 to VS.michal
2007-08-24fix a tracking of changed lighting stateBrian
2007-08-24Fixup include paths after renameKeith Whitwell
2007-08-23track more vertex-related state changesBrian
2007-08-23Vertex shader outputs are now tightly packed into the output slots.Brian
Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-18added tnl state atomBrian
2007-08-17added outputs_written field to pipe_shader_stateBrian
2007-08-16Move VS code from st_atom_fs.c to st_atom_vs.c.michal
2007-07-19Trigger tgsi compilation for fragment programs.Keith Whitwell
Not sure the generated program looks correct though...