summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple
Commit message (Collapse)AuthorAgeFilesLines
* gallium/i915: plug in aaline draw stageBrian2008-02-251-1/+5
|
* gallium/i915: make sure state is up to date in ↵Brian2008-02-251-1/+8
| | | | i915_vbuf_render_get_vertex_info(), also disable bogus assertion
* gallium/i915: need to recompute vertex info if vertex shader changesBrian2008-02-253-1/+4
|
* gallium/i915: call draw_flush() in i915_flush()Brian2008-02-251-0/+3
|
* gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords.Brian2008-02-251-46/+53
| | | | | We now produce the correct 915 vertex layout regardless of the order in which fragment shader inputs are declared.
* gallium/i915: added SGT/SLE opcodesBrian2008-02-251-0/+31
|
* gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵Brian2008-02-227-150/+226
| | | | | | | | | | | | | | | | | | allocation Before, fragment shaders were translated to i915 hw code at bind time, rather than create time. Now there's an i915_fragment_shader struct with the expected contents that's created by i915_create_fs_state(). Translation to i915 code takes place there too. Immediates are handled correctly now. During program translation we keep track of which constant buffer slots are free (i.e. not referenced by the shader). Then the TGSI immediates and ancillary immediates (introduced for SIN/COS/etc) are put into those free slots. When it's time to upload the constant buffer, use the fp->constant_flags[] array to determine if we should grab an immediate from the shader, or a user-defined parameter from the gallium constant buffer.
* gallium: replace some ordinary assignments with pipe_reference_texture()Brian2008-02-202-1/+5
| | | | This fixes at least one instance of dereferencing an invalid texture pointer.
* gallium: minor re-org of 915 surface/texture codeBrian2008-02-204-60/+84
|
* gallium: new pipe->texture_update() functionBrian2008-02-203-0/+12
| | | | | Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-191-2/+0
|
* Simplify makefile boilerplate code.José Fonseca2008-02-191-8/+1
| | | | | Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
* Standardize on using the pipe/ include prefix.José Fonseca2008-02-182-3/+3
|
* Code reorganization: update build.José Fonseca2008-02-1510-12/+12
| | | | | | | | | 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.
* Code reorganization: move files into their places.José Fonseca2008-02-1531-0/+8871
This is in a separate commit to ensure renames are properly preserved.