Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'gallium-dynamicstencilref' | Roland Scheidegger | 2010-02-12 | 66 | -195/+580 |
|\ | |||||
| * | cell: adjust structure padding | Brian Paul | 2010-02-12 | 1 | -1/+2 |
| | | | | | | | | | | | | The size of some core Gallium state structures has changed so the padding on some cell structs needed to be adjusted to keep them a multiple of 16 bytes. | ||||
| * | cell: remove unused var | Brian Paul | 2010-02-12 | 1 | -1/+0 |
| | | |||||
| * | cell: include cell_context.h | Brian Paul | 2010-02-12 | 1 | -0/+1 |
| | | |||||
| * | cell: re-fix undeclared var | Brian Paul | 2010-02-12 | 1 | -1/+1 |
| | | |||||
| * | cell: declare stencil_value variable | Brian Paul | 2010-02-12 | 1 | -0/+1 |
| | | |||||
| * | 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. | ||||
* | | progs/tests: Add checks for GL_NV_vertex_program. | Vinson Lee | 2010-02-12 | 4 | -0/+21 |
| | | |||||
* | | Revert "r600c: substract vbo offset to vbo size" | Jerome Glisse | 2010-02-12 | 1 | -1/+1 |
| | | | | | | | | | | This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things | ||||
* | | nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has ↵ | Patrice Mandin | 2010-02-12 | 1 | -2/+2 |
| | | | | | | | | | | | | 16 texture units Signed-off-by: Patrice Mandin <[email protected]> | ||||
* | | r600c: substract vbo offset to vbo size | Jerome Glisse | 2010-02-12 | 1 | -1/+1 |
| | | | | | | | | | | To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size. | ||||
* | | r600: be more exact in vb size calculation | Andre Maasikas | 2010-02-12 | 1 | -1/+2 |
| | | | | | | | | | | to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib | ||||
* | | r600: support GL_SHORT attributes | Andre Maasikas | 2010-02-12 | 1 | -5/+5 |
| | | | | | | | | normalized seems to work with this setting. | ||||
* | | Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats." | Michal Krol | 2010-02-12 | 1 | -2/+2 |
| | | | | | | | | This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f. | ||||
* | | util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats. | Michal Krol | 2010-02-12 | 1 | -2/+2 |
| | | | | | | | | Fill in ones for missing components. | ||||
* | | nouveau: nv30: Define number of texture samplers | Patrice Mandin | 2010-02-12 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Patrice Mandin <[email protected]> | ||||
* | | wgl: Do not reach out and destroy contexts on cleanup. | José Fonseca | 2010-02-12 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Simply skip cleanup when contexts are still active. This addresses two issues: - in some situations the ICD DLL may be unloaded before the DLL that is using GL contexts is, so we may receive GL calls after stw_cleanup. - when aborting (exception, or control-c) the contexts may have been left in an inconsistent state and attempting to destroy can cause unpredictable results. | ||||
* | | gdi: Never fail at DLL load time. | José Fonseca | 2010-02-12 | 2 | -10/+10 |
| | | | | | | | | | | | | | | | | | | Windows doesn't really expect things to fail at this point -- it will try many times until it finally gives up, worse, something bad happens. The WGL state tracker will gracefully decline to do work even when it is loaded. | ||||
* | | wgl: Fail gracefully whenever 3D could not be enabled for some reason. | José Fonseca | 2010-02-12 | 4 | -1/+30 |
| | | |||||
* | | svgadump: Several improvements to shader dumping. | José Fonseca | 2010-02-12 | 4 | -336/+411 |
| | | |||||
* | | glu/sgi: Initialize member of class primStream. | Vinson Lee | 2010-02-12 | 1 | -0/+2 |
| | | |||||
* | | glu/sgi: Initialize members of class Arc. | Vinson Lee | 2010-02-12 | 1 | -0/+6 |
| | | |||||
* | | glu/sgi: Initialize member of class Bin. | Vinson Lee | 2010-02-12 | 1 | -0/+1 |
| | | |||||
* | | nouveau: use AVAIL_RING() | Ben Skeggs | 2010-02-12 | 4 | -15/+14 |
| | | |||||
* | | nouveau: switch to nouveau_bo_new_tile() | Ben Skeggs | 2010-02-12 | 1 | -4/+6 |
| | | |||||
* | | svga: check min_index, max_index before assertions | Brian Paul | 2010-02-11 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | It's possible for min_index and max_index to be ~0 if the min/max values were not actually set or computed in the state tracker. Skip some assertions in that case. This only effects the debug build error checking. (cherry picked from commit 408f32dc165b36eb5ec0e2bbc7dcecd28f3a62d3) | ||||
* | | main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵ | Karl Schultz | 2010-02-11 | 1 | -2/+2 |
| | | | | | | | | | | | | just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines. | ||||
* | | Turn off 64-bit portability problems detection. | Karl Schultz | 2010-02-11 | 1 | -2/+2 |
| | |