Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: make max_anisotropy a unsigned bitfield member | Roland Scheidegger | 2010-02-12 | 12 | -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 Scheidegger | 2010-02-11 | 3 | -8/+8 |
| | |||||
* | nv50: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 3 | -5/+32 |
| | |||||
* | nv40: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 4 | -6/+47 |
| | |||||
* | nv30: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 4 | -6/+46 |
| | | | | not sure if this has any hope of working | ||||
* | gallium: make u_blitter code save/restore stencil ref values | Roland Scheidegger | 2010-02-11 | 3 | -0/+11 |
| | |||||
* | r300g: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 3 | -4/+17 |
| | |||||
* | cell: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 4 | -29/+54 |
| | | | | | not betting this compiles, some of the code handling stencil test seems incomplete and/or never called? | ||||
* | i965g: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 3 | -6/+34 |
| | | | | while there also potentially fix logic ops (were never enabled before) | ||||
* | i915g: adapt to stencil ref changes | Roland Scheidegger | 2010-02-11 | 4 | -6/+24 |
| | |||||
* | gallium: give pipe_stencil_ref its own cso_save/restore functions | Roland Scheidegger | 2010-02-11 | 3 | -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_alpha | Roland Scheidegger | 2010-02-11 | 2 | -20/+8 |
| | | | | makes life of state trackers easier | ||||
* | svga: adapt to stencil ref changes | Roland Scheidegger | 2010-02-10 | 3 | -6/+42 |
| | | | | also add some disabled code to handle blendcolor? | ||||
* | llvmpipe: adapt to stencil ref changes | Roland Scheidegger | 2010-02-10 | 4 | -2/+28 |
| | | | | since the driver doesn't actually handle stencil yet the code won't do much. | ||||
* | identity: adapt to stencil ref changes | Roland Scheidegger | 2010-02-10 | 1 | -0/+12 |
| | |||||
* | fo: adapt to stencil ref changes | Roland Scheidegger | 2010-02-10 | 3 | -6/+24 |
| | |||||
* | st/mesa: more fixes for stencil ref change. | Roland Scheidegger | 2010-02-10 | 2 | -2/+20 |
| | | | | | compiles. Might need to do something to make it possible to save/restore stencil ref. | ||||
* | trace: adapt to stencil ref changes | Roland Scheidegger | 2010-02-10 | 3 | -1/+37 |
| | |||||
* | softpipe: adapt to stencil ref changes | Roland Scheidegger | 2010-02-10 | 6 | -6/+20 |
| | |||||
* | gallium: adapt state trackers to stencil ref change | Roland Scheidegger | 2010-02-10 | 3 | -13/+18 |
| | |||||
* | docs: fix up documentation for stencil ref value changes | Roland Scheidegger | 2010-02-09 | 2 | -8/+12 |
| | | | | Also fix and clarify depth/stencil/alpha documentation a bit. | ||||
* | gallium: make valuemask/writemask in pipe_stencil_state bitfield members | Roland Scheidegger | 2010-02-09 | 1 | -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_state | Roland Scheidegger | 2010-02-09 | 6 | -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 Scheidegger | 2010-02-09 | 28 | -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 MaxPointSize | Roland Scheidegger | 2010-02-08 | 1 | -0/+4 |
| | | |||||
| * | gallium: add point_quad_rasterization bit to rasterizer state | Roland Scheidegger | 2010-02-04 | 10 | -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 shader | Roland Scheidegger | 2010-02-04 | 5 | -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 description | Roland Scheidegger | 2010-02-03 | 1 | -4/+2 |
| | | | | | | | | there was some confusion between point size state and point size output. | ||||
| * | docs: fix point sprite documentation | Roland Scheidegger | 2010-02-03 | 1 | -9/+10 |
| | | |||||
| * | gallium: clean up point sprite rasterizer state | Roland Scheidegger | 2010-02-03 | 18 | -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 state | Roland Scheidegger | 2010-01-12 | 11 | -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 Paul | 2010-02-09 | 1 | -1/+1 |
| | | | | | | | | (cherry picked from commit 0371956d66cdc8a1629753fca9cb3cdc49b0d145) | ||||
* | | gallium: Adding the %.s rule to generate asm code | Chris Li | 2010-02-09 | 1 | -0/+3 |
| | | | | | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | | gallium: Using the proper pattern rules for Makefile template. | Chris Li | 2010-02-09 | 1 | -3/+3 |
| | | | | | | | | | | | | The .o.c rule is consider obsolete. Signed-off-by: José Fonseca <[email protected]> | ||||
* | | llvmpipe: Make llvm unit test depend on libllvmpipe.a | Chris Li | 2010-02-09 | 1 | -3/+2 |
| | | | | | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | | vmware/core: Support drm interface version 1.0.0 | Jakob Bornecrantz | 2010-02-06 | 1 | -1/+1 |
| | | |||||
* | | vmware/core: Use correct flags in scanout code | Jakob Bornecrantz | 2010-02-06 | 1 | -4/+4 |
| | | |||||
* | | vmware/core: Handle new scanout field | Jakob Bornecrantz | 2010-02-06 | 4 | -4/+35 |
| | | |||||
* | | vmware/core: Update header to latest version | Jakob Bornecrantz | 2010-02-06 | 1 | -3/+9 |
| | | |||||
* | | vmware/core: Remove old ioctl structs not used | Jakob Bornecrantz | 2010-02-06 | 1 | -43/+0 |
| | | | | | | | | Leftover that was never used in this driver | ||||
* | | llvmpipe: Remove reference to prefilter field. | Michal Krol | 2010-02-09 | 1 | -1/+0 |
| | | |||||
* | | glx: Fix TOP setting in src/glx Makefile | Kristian Høgsberg | 2010-02-09 | 1 | -1/+1 |
| | | | | | | | | Argh, forgot to commit this fix before pushing. | ||||
* | | Retire miniglx and move the actual glx code up to src/glx | Kristian Høgsberg | 2010-02-09 | 70 | -4367/+114 |
| | | |||||
* | | egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAY | Kristian Høgsberg | 2010-02-09 | 1 | -6/+6 |
| | | |||||
* | | fix bug in perspective corrected interpolants for lines | Brian Paul | 2010-02-09 | 1 | -2/+1 |
| | | |||||
* | | progs/tests: add line drawing option to cylwrap.c | Brian Paul | 2010-02-09 | 1 | -10/+34 |
| | | |||||
* | | progs/tests: add x/y rotation to cylwrap.c | Brian Paul | 2010-02-09 | 1 | -14/+45 |
| | | |||||
* | | st/mesa: remove special-case cyl-wrap code | Brian Paul | 2010-02-09 | 1 | -9/+1 |
| | | | | | | | | Cylinder wrap mode works with perspective interpolation now. | ||||
* | | softpipe: Properly implement cylindrical wrapping. | Michal Krol | 2010-02-09 | 1 | -31/+148 |
| | | |||||
* | | Revert "softpipe: Implement cylindrical wrapping for linear interpolator." | Michal Krol | 2010-02-09 | 1 | -35/+11 |
| | | | | | | | | This reverts commit 444cd62ca33a45bd39e8408979a0a01c246c6381. |