Commit Graph

30937 Commits

Author SHA1 Message Date
Brian Paul 0087f9dc06 cell: adjust structure padding
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.
2010-02-12 11:07:51 -07:00
Brian Paul e4afe725ee cell: remove unused var 2010-02-12 11:06:19 -07:00
Brian Paul 6c35e178d3 cell: include cell_context.h 2010-02-12 11:06:04 -07:00
Brian Paul 0ad0d8125a cell: re-fix undeclared var 2010-02-12 09:47:34 -07:00
Brian Paul 8a92c2b23c cell: declare stencil_value variable 2010-02-12 09:43:18 -07:00
Roland Scheidegger ebe12d5006 gallium: make max_anisotropy a unsigned bitfield member
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.
2010-02-12 00:43:38 +01:00
Roland Scheidegger 16d520f6d6 nouveau: fix compile errors... 2010-02-11 23:11:03 +01:00
Roland Scheidegger 67479eea36 nv50: adapt to stencil ref changes 2010-02-11 22:48:39 +01:00
Roland Scheidegger dc8c0959bd nv40: adapt to stencil ref changes 2010-02-11 22:48:31 +01:00
Roland Scheidegger bedb6faec0 nv30: adapt to stencil ref changes
not sure if this has any hope of working
2010-02-11 20:55:33 +01:00
Roland Scheidegger ed0f3b08b6 gallium: make u_blitter code save/restore stencil ref values 2010-02-11 19:01:10 +01:00
Roland Scheidegger bf4b0773c5 r300g: adapt to stencil ref changes 2010-02-11 18:48:57 +01:00
Roland Scheidegger 94c035f61d cell: adapt to stencil ref changes
not betting this compiles, some of the code handling stencil test seems
incomplete and/or never called?
2010-02-11 18:18:11 +01:00
Roland Scheidegger 0b659dee69 i965g: adapt to stencil ref changes
while there also potentially fix logic ops (were never enabled before)
2010-02-11 18:16:52 +01:00
Roland Scheidegger 388109c04d i915g: adapt to stencil ref changes 2010-02-11 18:16:09 +01:00
Roland Scheidegger 263406addb gallium: give pipe_stencil_ref its own cso_save/restore functions
seems cleaner, and other dynamic state like viewport is handled that way too
2010-02-11 18:15:10 +01:00
Roland Scheidegger b75adabc89 gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alpha
makes life of state trackers easier
2010-02-11 04:06:01 +01:00
Roland Scheidegger 9381a2777c svga: adapt to stencil ref changes
also add some disabled code to handle blendcolor?
2010-02-10 21:21:30 +01:00
Roland Scheidegger 6a509ec6dd llvmpipe: adapt to stencil ref changes
since the driver doesn't actually handle stencil yet the code won't do much.
2010-02-10 21:20:24 +01:00
Roland Scheidegger 4ea2f61e5a identity: adapt to stencil ref changes 2010-02-10 21:18:12 +01:00
Roland Scheidegger 5365d41895 fo: adapt to stencil ref changes 2010-02-10 21:17:46 +01:00
Roland Scheidegger dfc02e3784 st/mesa: more fixes for stencil ref change.
compiles. Might need to do something to make it possible to save/restore
stencil ref.
2010-02-10 21:14:18 +01:00
Roland Scheidegger 0786f38b46 trace: adapt to stencil ref changes 2010-02-10 19:07:26 +01:00
Roland Scheidegger 658e94578f softpipe: adapt to stencil ref changes 2010-02-10 18:59:43 +01:00
Roland Scheidegger 903bb045b5 gallium: adapt state trackers to stencil ref change 2010-02-10 18:46:43 +01:00
Roland Scheidegger 98f8c4d0bb docs: fix up documentation for stencil ref value changes
Also fix and clarify depth/stencil/alpha documentation a bit.
2010-02-09 21:48:43 +01:00
Roland Scheidegger c59446a493 gallium: make valuemask/writemask in pipe_stencil_state bitfield members
More consistent with other state data, might allow some compilers to pack
the struct better (doesn't matter for gcc).
2010-02-09 21:26:35 +01:00
Roland Scheidegger 1a859ecf4a gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state
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.
2010-02-09 21:23:27 +01:00
Roland Scheidegger 653a83445f Merge branch 'gallium-nopointsizeminmax'
Conflicts:
	src/gallium/drivers/nv10/nv10_state.c
	src/gallium/drivers/nv20/nv20_state.c
	src/gallium/drivers/nv50/nv50_program.c
2010-02-09 19:32:21 +01:00
Brian Paul b0613d8767 docs: fix typo: s/osdemo/osdemos/
(cherry picked from commit 0371956d66cdc8a1629753fca9cb3cdc49b0d145)
2010-02-09 11:21:41 -07:00
Chris Li a8f4904fb3 gallium: Adding the %.s rule to generate asm code
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li 62d1e40e0d gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li 8b6ec94aec llvmpipe: Make llvm unit test depend on libllvmpipe.a
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:29 +00:00
Roland Scheidegger dd7be07c96 st/mesa: fix wrong initialization of MaxPointSize 2010-02-08 18:48:08 +01:00
Jakob Bornecrantz 6ef1d60407 vmware/core: Support drm interface version 1.0.0 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz 6a4cd124af vmware/core: Use correct flags in scanout code 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz 6ffb6318a0 vmware/core: Handle new scanout field 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz a9d61c286d vmware/core: Update header to latest version 2010-02-06 03:36:46 +01:00
Jakob Bornecrantz 7afcfa0683 vmware/core: Remove old ioctl structs not used
Leftover that was never used in this driver
2010-02-06 03:36:46 +01:00
Michal Krol 72fa4ef649 llvmpipe: Remove reference to prefilter field. 2010-02-09 16:27:16 +01:00
Kristian Høgsberg 2ecbe4e208 glx: Fix TOP setting in src/glx Makefile
Argh, forgot to commit this fix before pushing.
2010-02-09 10:21:45 -05:00
Kristian Høgsberg 6e8897ff9f Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
Kristian Høgsberg 538539d879 egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAY 2010-02-09 09:51:05 -05:00
Brian Paul a1a441179b fix bug in perspective corrected interpolants for lines 2010-02-09 15:33:06 +01:00
Brian Paul fd6701029b progs/tests: add line drawing option to cylwrap.c 2010-02-09 15:33:03 +01:00
Brian Paul 22a3a817aa progs/tests: add x/y rotation to cylwrap.c 2010-02-09 15:33:00 +01:00
Brian Paul dd98a979b6 st/mesa: remove special-case cyl-wrap code
Cylinder wrap mode works with perspective interpolation now.
2010-02-09 15:32:56 +01:00
Michal Krol 5fbb62f761 softpipe: Properly implement cylindrical wrapping. 2010-02-09 15:32:53 +01:00
Michal Krol 00bd85e574 Revert "softpipe: Implement cylindrical wrapping for linear interpolator."
This reverts commit 444cd62ca33a45bd39e8408979a0a01c246c6381.
2010-02-09 15:32:50 +01:00
Brian Paul 86921aaf3f progs/tests: new test program for exercising cylindrical tex wrap mode 2010-02-09 15:32:47 +01:00