Commit graph

30928 commits

Author SHA1 Message Date
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 0371956d66)
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
Brian Paul
ae4dde6598 st/mesa: check for PROG_PARAM_BIT_CYL_WRAP flag 2010-02-09 15:32:43 +01:00
Brian Paul
4a9f1eed2b mesa: add back-door support for cylindrical texture wrap mode
If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP
flag.  The gallium state tracker will look for this flag.

This feature is only for testing purposes and may be remove at some
point.  But if it's useful we could write a GL/Mesa extension to
expose it properly.
2010-02-09 15:32:40 +01:00
Michal Krol
9a8473da83 gallium: Remove prefilter member from pipe_sampler_state struct. 2010-02-09 15:32:36 +01:00
Michal Krol
63d6097910 docs: Document TGSI Declaration token. 2010-02-09 15:29:52 +01:00
Michal Krol
e04c8ecc61 softpipe: Implement cylindrical wrapping for linear interpolator. 2010-02-09 15:29:49 +01:00
Michal Krol
607a830fe2 tgsi: Gather cylindrical wrap info in tgsi_shader_info struct. 2010-02-09 15:29:46 +01:00
Michal Krol
33a9fb35dd tgsi: Add ureg_DECL_fs_input_cyl().
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-09 15:29:42 +01:00
Michal Krol
6f6d740c85 gallium: Add cylindrical wrap info to TGSI declaration. 2010-02-09 15:29:39 +01:00
Michal Krol
5ee856e195 tgsi: Remove tgsi_dump_c.[ch].
Little utility after development stabilisation, use tgsi_dump instead.
2010-02-09 15:29:34 +01:00