Brian
bb611c5f1f
Checkpoint: rework shader input/output register mapping.
...
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-18 19:38:35 -06:00
Zack Rusin
ccd63b54cf
Convert shader to an immutable state object.
2007-09-18 13:24:44 -04:00
Keith Whitwell
07d97e80e6
checkpoint in constant tracking rework
2007-08-25 22:01:32 +01:00
michal
4fd7bc00f0
Hook-up SSE2 to VS.
2007-08-24 17:51:12 +01:00
Keith Whitwell
c89502bb4e
Fixup include paths after rename
2007-08-24 10:01:20 +01:00
Brian
c0bb4ba9e6
Rework of shader constant buffers.
...
They're now totally independent of the actual shaders.
Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-22 12:26:46 -06:00
Brian
de653b4c9b
Begin added vertex shader state/support.
...
Renamed pipe_fs_state to pipe_shader_state since it can be used for both
vertex and fragment shader info.
2007-08-16 13:33:43 -06:00
Brian
6da9234fd4
New st_init_*_functions() to initialize the driver functions table.
...
We need to do these initializations before initializing the Mesa context
because context init involves creating texture/program/etc objects.
2007-08-06 20:53:28 +01:00
Brian
43d7c1fe9d
Basic fragment programs run now.
...
Handling of constants might change. For now, the st_fragment_program struct
contains a pipe_constant_buffer (not a pointer).
2007-07-24 12:27:38 -06:00
Keith Whitwell
4824c342c8
Trigger tgsi compilation for fragment programs.
...
Not sure the generated program looks correct though...
2007-07-19 20:24:55 +01:00
Keith Whitwell
6393cda676
Renamed softpipe directories and files to something less confusing.
...
softpipe/state_tracker --> state_tracker/
softpipe/ --> pipe/
softpipe/generic --> pipe/softpipe/
I don't think pipe is a great name, but I disliked all the others too.
Luckily it's fairly easy to rename with git, so this can be revisited
later.
2007-06-14 18:11:48 +01:00