Brian Paul
0a39620d6d
swrast: handle additional Z24 formats in read_depth_pixels()
2009-11-11 19:38:19 -07:00
Roland Scheidegger
ab12e764ba
i965: fix EXT_provoking_vertex support
...
This didn't work for quad/quadstrips at all, and for all other primitive types
it only worked when they were unclipped.
Fix up the former in gs stage (could probably do without these changes and
instead set QuadsFollowProvokingVertexConvention to false), and the rest in
clip stage.
2009-11-11 17:57:56 -08:00
Zack Rusin
2cfbbc76e4
st/xorg: implement repeatnone and make some code smell less like ass
2009-11-11 19:55:50 -05:00
Zack Rusin
493d599af4
st/xorg: fallback until daddy can implement you properly
2009-11-11 19:55:50 -05:00
Corbin Simpson
cbee31a1f8
r300, r300g: Add missing registers.
2009-11-11 10:24:19 -08:00
Corbin Simpson
d030ce6a84
dri-st: Add some required GL 2.0 extensions.
...
Two-sided stencil and NPOT textures.
2009-11-11 10:24:06 -08:00
Eric Anholt
1220aba99b
i965: Fix VS constant buffer value loading.
...
Previously, we'd load linearly from ParameterValues[0] for the constants,
though ParameterValues[1] may not equal ParameterValues[0] + 4. Additionally,
the STATE_VAL type paramters didn't get updated.
Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations.
Bug #23226 .
2009-11-10 14:44:40 -08:00
Eric Anholt
e5ffb9f5ea
i965: Unalias src/dst registers for SGE and friends.
...
Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/
Bug #22228
(cherry picked from commit 56ab92bad8 )
2009-11-10 14:44:39 -08:00
Eric Anholt
23a4a6727e
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.
...
Fixes piglit arl.vp.
(cherry picked from commit d52d78b4bc )
2009-11-10 14:44:39 -08:00
Michal Krol
d44cebd1ee
glsl/pp: Add sl_pp_purify_getc().
2009-11-10 20:49:45 +01:00
Chia-I Wu
4b9cc50345
st/egl: Allow APIs other than OpenGL.
...
This is done by stopping linking to libmesagallium.a and removing DRI
related stuff. The state tracker an application links to decides the
API supported.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-10 11:24:26 -07:00
Chia-I Wu
5f0ea53747
egl_softpipe: Clean up Makefile.
...
Fix generation of depend. Link to the dynamic libraries used.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-10 11:24:10 -07:00
Chia-I Wu
9de051e85e
mesa/es: Add .gitignore.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-10 11:23:40 -07:00
Jakob Bornecrantz
e4a19ffb13
st/xorg: Fallback if picture format doesn't match texture format
2009-11-10 10:05:40 +01:00
Jakob Bornecrantz
3201c655e4
st/xorg: Don't segfault when debug printing
2009-11-10 10:00:04 +01:00
Zack Rusin
fca8b2c3ae
st/xorg: wrap to border color
2009-11-10 20:30:48 -05:00
brian
b81f213157
swrast: update renderbuffer format assertions
2009-11-10 18:23:59 -07:00
brian
a65b84d955
mesa: fix some begin/end render-to-texture logic
...
Before, we weren't aggressive enough in checking for the start or end
of render-to-texture. In particular, if only the ctx->ReadBuffer had
texture attachments, we were treating that as a render-to-texture case.
This fixes a regression from commit 75bdbdd90b
"intel: Don't validate in a texture image used as a render target."
2009-11-10 18:09:13 -07:00
brian
bc569cd6be
mesa: move check_begin/end_texture_render() calls
2009-11-10 18:09:13 -07:00
brian
d96e55fa7b
mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()
2009-11-10 18:09:13 -07:00
brian
e6f60d3037
mesa: rename vars in _mesa_BindFramebufferEXT()
2009-11-10 18:09:13 -07:00
brian
a492ab765a
mesa: added comment for check_begin_texture_render()
2009-11-10 18:09:12 -07:00
Jakob Bornecrantz
4c54f8e9aa
st/egl: Probe hardware for depth stencil format
2009-11-10 08:29:41 +01:00
Zack Rusin
d2c886c8ca
st/xorg: cleanup the naming
2009-11-10 19:42:03 -05:00
Zack Rusin
e08512f3d4
st/xorg: print ouf the picture formats when compositing
2009-11-10 19:42:02 -05:00
Eric Anholt
e42b156fac
Merge remote branch 'origin/mesa_7_6_branch'
2009-11-10 16:01:28 -08:00
Eric Anholt
c5413839b3
i965: avoid memsetting all the BRW_WM_MAX_INSN arrays for every compile.
...
For an app that's blowing out the state cache, like sauerbraten, the
memset of the giant arrays ended up taking 11% of the CPU even when only a
"few" of the entries got used. With this, the WM program compile drops back
down to 1% of CPU time.
Bug #24981 (bisected to BRW_WM_MAX_INSN increase).
2009-11-10 16:00:30 -08:00
Eric Anholt
eb6a1f8a00
i965: Add a note explaining the data cache domain.
2009-11-10 16:00:30 -08:00
Vinson Lee
520b6abdec
i915g: Fix memory leak when pci id is unknown.
2009-11-10 12:39:42 -08:00
Eric Anholt
56ab92bad8
i965: Unalias src/dst registers for SGE and friends.
...
Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/
Bug #22228
2009-11-10 10:54:15 -08:00
Eric Anholt
d52d78b4bc
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.
...
Fixes piglit arl.vp.
2009-11-10 10:46:57 -08:00
Michal Krol
28039ffdc8
slang: Fix return value check.
2009-11-10 19:25:51 +01:00
Michel Dänzer
5e17c89ead
st/xorg: Fix SCons build.
...
Check for new DPMS header and add xorg_renderer.c source file.
2009-11-10 10:09:56 -08:00
Michal Krol
413e933fd5
slang: Check OOM conditions for alloc_node_storage().
2009-11-10 18:30:10 +01:00
José Fonseca
eef5a0b3a3
llvmpipe: Fix derived blend color state.
2009-11-10 05:22:15 -08:00
Michal Krol
cc470bf0ca
slang: Check return value from new_instruction().
2009-11-10 04:03:55 +01:00
Michal Krol
b2a29ad309
slang: Fix signed/unsigned int handling in _slang_free_temp().
2009-11-10 03:25:06 +01:00
Michal Krol
b5d8a7b6dc
tgsi/exec: Exit early on error.
2009-11-10 03:12:02 +01:00
Michal Krol
e44c77028c
tgsi/ureg: Simplify logic in tokens_expand().
2009-11-10 03:08:21 +01:00
Michal Krol
83760d961f
slang: Handle OOM condition in new_instruction().
2009-11-10 02:46:24 +01:00
Michal Krol
4703d7d3f8
slang: Update for glsl/pp interface changes.
2009-11-10 00:16:09 +01:00
Michal Krol
b5c8c87eab
glsl/apps: Update for glsl/pp interface changes.
2009-11-10 00:15:54 +01:00
Michal Krol
d37f7694b6
glsl/pp: Have sl_pp_purify() return error msg/line no.
2009-11-10 00:15:33 +01:00
Zack Rusin
031fbb9681
st/xorg: remove deprecated rendering code
2009-11-09 18:04:21 -05:00
Zack Rusin
a6d527d7b8
st/xorg: fix composite batching
...
quite a large performance optimization (text demo from 1.6fps to 9fps)
2009-11-09 18:04:21 -05:00
Jerome Glisse
216319fc0f
r600/r700: typo, fix mask of DB_ALPHA_TO_MASK
2009-11-09 22:37:41 +01:00
Alex Deucher
74ef3207d8
r600: don't emit htile regs
...
These are needed for HiZ which is not currently used and
the _BASE reg requires a reloc which is not currently supported
in the drm.
2009-11-09 12:27:27 -05:00
Alex Deucher
66d6f9e860
r600: rework DB render setup
...
- consolidate DB render setup
- only enable perfect ZPASS counts and cull disable
when OQ is active
- enable early Z
2009-11-09 12:20:47 -05:00
Alex Deucher
37676b396a
r600: don't emit htile regs
...
These are needed for HiZ which is not currently used and
the _BASE reg requires a reloc which is not currently supported
in the drm.
2009-11-09 12:16:55 -05:00
Alex Deucher
a9035f3dc3
r600: add missing ZPASS setup bits for r7xx+
2009-11-09 12:16:55 -05:00