summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_program.h
AgeCommit message (Collapse)Author
2009-06-05nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs
2009-05-28nv50: use multiple constant buffersChristoph Bumiller
Use different buffers for immds, FP params, and VP params. One has to map constant buffer indices in shader code to buffers defined via CB_DEF. In principle, we could use more buffers so we'd have to change the shader code less frequently.
2009-05-28nv50: modified FP attribute loadingChristoph Bumiller
VP outputs that should be loadable in the FP are mapped to interpolant indices by HPOS, COL0 etc.; of course HPOS is always written, so the highest byte of 1988 is a bitmask that selects which components of HPOS are used for interpolants, i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]).
2008-08-07nouveau: fix buildBen Skeggs
2008-06-29nv50: a couple more bits'n'piecesBen Skeggs
2008-06-29nv50: use constbuf segment 0 for everything - I can't make the others work..Ben Skeggs
2008-06-29nv50: carry instructions around in nv50_program_exec, not a flat arrayBen Skeggs
2008-06-29nv50: rename nv50_state.h to nv50_program.hBen Skeggs