summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger2010-02-1212-34/+34
| | | | | | | saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
* nouveau: fix compile errors...Roland Scheidegger2010-02-113-8/+8
|
* nv50: adapt to stencil ref changesRoland Scheidegger2010-02-113-5/+32
|
* nv40: adapt to stencil ref changesRoland Scheidegger2010-02-114-6/+47
|
* nv30: adapt to stencil ref changesRoland Scheidegger2010-02-114-6/+46
| | | | not sure if this has any hope of working
* gallium: make u_blitter code save/restore stencil ref valuesRoland Scheidegger2010-02-113-0/+11
|
* r300g: adapt to stencil ref changesRoland Scheidegger2010-02-113-4/+17
|
* cell: adapt to stencil ref changesRoland Scheidegger2010-02-114-29/+54
| | | | | not betting this compiles, some of the code handling stencil test seems incomplete and/or never called?
* i965g: adapt to stencil ref changesRoland Scheidegger2010-02-113-6/+34
| | | | while there also potentially fix logic ops (were never enabled before)
* i915g: adapt to stencil ref changesRoland Scheidegger2010-02-114-6/+24
|
* gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger2010-02-113-5/+18
| | | | seems cleaner, and other dynamic state like viewport is handled that way too
* gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger2010-02-112-20/+8
| | | | makes life of state trackers easier
* svga: adapt to stencil ref changesRoland Scheidegger2010-02-103-6/+42
| | | | also add some disabled code to handle blendcolor?
* llvmpipe: adapt to stencil ref changesRoland Scheidegger2010-02-104-2/+28
| | | | since the driver doesn't actually handle stencil yet the code won't do much.
* identity: adapt to stencil ref changesRoland Scheidegger2010-02-101-0/+12
|
* fo: adapt to stencil ref changesRoland Scheidegger2010-02-103-6/+24
|
* st/mesa: more fixes for stencil ref change.Roland Scheidegger2010-02-102-2/+20
| | | | | compiles. Might need to do something to make it possible to save/restore stencil ref.
* trace: adapt to stencil ref changesRoland Scheidegger2010-02-103-1/+37
|
* softpipe: adapt to stencil ref changesRoland Scheidegger2010-02-106-6/+20
|
* gallium: adapt state trackers to stencil ref changeRoland Scheidegger2010-02-103-13/+18
|
* docs: fix up documentation for stencil ref value changesRoland Scheidegger2010-02-092-8/+12
| | | | Also fix and clarify depth/stencil/alpha documentation a bit.
* gallium: make valuemask/writemask in pipe_stencil_state bitfield membersRoland Scheidegger2010-02-091-2/+2
| | | | | More consistent with other state data, might allow some compilers to pack the struct better (doesn't matter for gcc).
* gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger2010-02-096-50/+60
| | | | | | | | This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
* Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger2010-02-0928-104/+1381
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
| * st/mesa: fix wrong initialization of MaxPointSizeRoland Scheidegger2010-02-081-0/+4
| |
| * gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger2010-02-0410-6/+22
| | | | | | | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
| * gallium: add point size clamp to implementation limits in vertex shaderRoland Scheidegger2010-02-045-1/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point size min/max registers (unused by mesa state tracker) were removed since most hardware couldn't do much with them. However, we don't want to have to rely on hw to do point size clamping correctly to implementation dependent limits, hence have to do that in the vertex shader. This should also solve a potential problem with (non-AA) points smaller than 1.0 which according to OGL still have size 1.0. Note that OGL point rendering is odd, in particular point sprites are rasterized differently to points. Some hardware might support those different modes, but in any case the different clamping values used for smooth/multisampled/sprite enabled points might help a bit for hw which rasterizes points the same as point sprites. Also tweak mesa's ff to vertex shader translation so don't have to clamp twice in case of point attenuation.
| * docs: clean up TGSI_SEMANTIC_PSIZE descriptionRoland Scheidegger2010-02-031-4/+2
| | | | | | | | there was some confusion between point size state and point size output.
| * docs: fix point sprite documentationRoland Scheidegger2010-02-031-9/+10
| |
| * gallium: clean up point sprite rasterizer stateRoland Scheidegger2010-02-0318-62/+64
| | | | | | | | | | | | | | | | | | | | Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
| * gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger2010-01-1211-35/+11
| | | | | | | | | | | | | | The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
* | docs: fix typo: s/osdemo/osdemos/Brian Paul2010-02-091-1/+1
| | | | | | | | (cherry picked from commit 0371956d66cdc8a1629753fca9cb3cdc49b0d145)
* | gallium: Adding the %.s rule to generate asm codeChris Li2010-02-091-0/+3
| | | | | | | | Signed-off-by: José Fonseca <[email protected]>
* | gallium: Using the proper pattern rules for Makefile template.Chris Li2010-02-091-3/+3
| | | | | | | | | | | | The .o.c rule is consider obsolete. Signed-off-by: José Fonseca <[email protected]>
* | llvmpipe: Make llvm unit test depend on libllvmpipe.aChris Li2010-02-091-3/+2
| | | | | | | | Signed-off-by: José Fonseca <[email protected]>
* | vmware/core: Support drm interface version 1.0.0Jakob Bornecrantz2010-02-061-1/+1
| |
* | vmware/core: Use correct flags in scanout codeJakob Bornecrantz2010-02-061-4/+4
| |
* | vmware/core: Handle new scanout fieldJakob Bornecrantz2010-02-064-4/+35
| |
* | vmware/core: Update header to latest versionJakob Bornecrantz2010-02-061-3/+9
| |
* | vmware/core: Remove old ioctl structs not usedJakob Bornecrantz2010-02-061-43/+0
| | | | | | | | Leftover that was never used in this driver
* | llvmpipe: Remove reference to prefilter field.Michal Krol2010-02-091-1/+0
| |
* | glx: Fix TOP setting in src/glx MakefileKristian Høgsberg2010-02-091-1/+1
| | | | | | | | Argh, forgot to commit this fix before pushing.
* | Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg2010-02-0970-4367/+114
| |
* | egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAYKristian Høgsberg2010-02-091-6/+6
| |
* | fix bug in perspective corrected interpolants for linesBrian Paul2010-02-091-2/+1
| |
* | progs/tests: add line drawing option to cylwrap.cBrian Paul2010-02-091-10/+34
| |
* | progs/tests: add x/y rotation to cylwrap.cBrian Paul2010-02-091-14/+45
| |
* | st/mesa: remove special-case cyl-wrap codeBrian Paul2010-02-091-9/+1
| | | | | | | | Cylinder wrap mode works with perspective interpolation now.
* | softpipe: Properly implement cylindrical wrapping.Michal Krol2010-02-091-31/+148
| |
* | Revert "softpipe: Implement cylindrical wrapping for linear interpolator."Michal Krol2010-02-091-35/+11
| | | | | | | | This reverts commit 444cd62ca33a45bd39e8408979a0a01c246c6381.