summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state_fs.c
AgeCommit message (Collapse)Author
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen
2009-01-27gallium: remove redundant size from the constant bufferZack Rusin
reuse the size of the actual buffer
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-05softpipe: Prevent NULL ptr derreference on takedown.José Fonseca
2008-05-17gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul
The caller can then free the token array immediately.
2008-05-01softpipe: fix warningKeith Whitwell
2008-04-22Revert "softpipe: squash warning"Keith Whitwell
This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build.
2008-04-22softpipe: squash warningKeith Whitwell
2008-04-17gallium: assert that we're not deleting the currently bound shaderBrian Paul
2008-03-11gallium: rework CSO-related code in state trackerBrian
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
2008-02-27gallium: remove uses_kill field from softpipe_shaderBrian
2008-02-26gallium: added tgsi_shader_field to sp_fragment_shaderBrian
Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers...
2008-02-23gallium: disable early Z test if fragment shader contains KIL instruction.Brian
Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.