r300: Add radeon_program and trivial refactoring of r300_fragprog to use it
authorNicolai Haehnle <nhaehnle@gmail.com>
Fri, 13 Jun 2008 21:46:04 +0000 (23:46 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 14 Jun 2008 02:14:05 +0000 (04:14 +0200)
commitb5170bc9d32530ec93dae4b543d3552e83d6b4a1
tree543131515ec859f224af9b8b16fe46eddfede514
parente2aa45c2f9584ff76151a99b4fcd0ecb56260473
r300: Add radeon_program and trivial refactoring of r300_fragprog to use it

The idea/hope is that radeon_program will serve as an intermediate
representation for r3xx up to r6xx fragment and vertex programs.
Right now, it is nothing more than a simplistic wrapper around Mesa's
prog_instruction, together with the notion of clauses, taken from r6xx docs.

The clauses will eventually be used to represent the nodes that are used in
r300 family fragment programs.
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_fragprog.h
src/mesa/drivers/dri/r300/r300_fragprog_emit.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/radeon_program.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/radeon_program.h [new file with mode: 0644]