summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_shader_state.c
AgeCommit message (Collapse)Author
2011-03-03nv50: increase size of shader code boChristoph Bumiller
512 KiB should be quite enough, but dynamic resize might be nicer.
2011-03-02nv50: fix POINT_COORD_REPLACE_MAP method sizeChristoph Bumiller
Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87.
2011-03-02nv50: fix point sprite state validationChristoph Bumiller
Wasn't updated if the FP didn't change, and coordinate replacement wasn't disabled anymore.
2011-03-02nv50: apply relocations to shader codeChristoph Bumiller
On nv50, branches are absolute, so we need to adjust them according to the shader's position in the code buffer.
2011-03-01nouveau: ensure vbo_dirty is set when buffer write transfer completeBen Skeggs
This introduces a shared nouveau_context struct to track such things. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nv50: move onto common linear buffer managerBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-02-28nv50: replace most of it with nvc0 driver ported to nv50Christoph Bumiller
We'll have to do some unification now to reduce code duplication.
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák
2010-11-02st/mesa: unbind constant buffer when not in useKeith Whitwell
Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change.
2010-09-28nv50: fix GP state bind and validateChristoph Bumiller
2010-09-18nv50: fix typo in fifo packet length limitChristoph Bumiller
2010-09-18nv50: emit constbuf relocs before uploading constantsChristoph Bumiller
2010-09-18nv50: add relocs for stack and local mem buffersChristoph Bumiller
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Remove unnecessary headers.Vinson Lee
2010-09-12nv50: minor compiler fixes and cleanupsChristoph Bumiller
2010-08-23nv50: fix check for sprite/point coord enableChristoph Bumiller
2010-08-23nv50: yet another case we need a nop.exitChristoph Bumiller
2010-08-17nv50: fix PSIZ and PRIMID mappingChristoph Bumiller
Initializing map to 0x40 (0x80) instead of 0 now, so need to clear it first.
2010-08-05nv50: fix constbuf validationChristoph Bumiller
We only uploaded up to the highest offset a program would use, and if the constant buffer isn't changed when a new program is used, the new program is missing the rest of them. Might want to introduce a "fill state" for user mem constbufs.
2010-07-23nv50: import new compilerChristoph Bumiller