Luca Barbieri
e0af5c9b54
nouveau: bind the 3D engine to subchannel 7 and add RING_3D
...
RING_3D creates a method start for subchannel 7.
Bind the 3D engine to a fixed subchannel to make it work
This is much faster than the old BEGIN_RING, since we don't need
to waste cycles trying to "autobind" stuff, when a fast static binding
is perfectly good.
Subchannel 7 is chosen because the kernel takes up the lowest ones.
2010-04-12 12:13:15 +02:00
Luca Barbieri
507dc546c3
nvfx: avoid flushes in primitives
...
Currently we miscalculate the space needed to push vertices, causing
flushes where they should not happen.
Use a much more conservative estimate to fix it.
It will be done better in the future (e.g. using the nv50 primitive
splitter).
2010-04-12 12:13:15 +02:00
Corbin Simpson
f0b8677d57
r300/compiler: Comment code, add much better mirror maths.
2010-04-12 03:03:37 -07:00
Luca Barbieri
a57dcef636
nvfx: fix bind flags
2010-04-12 11:49:09 +02:00
Corbin Simpson
d5af1dce8f
r300/compiler: Implement texcoord repeat and mirror for NPOT.
2010-04-11 23:39:24 -07:00
Corbin Simpson
f95ff1cf48
r300g: Setup external state for wrap modes.
2010-04-11 23:39:24 -07:00
Corbin Simpson
8f37f910bf
r300g: Cleanup fragment program external state setup.
2010-04-11 23:39:23 -07:00
Corbin Simpson
484079d724
r300/compiler: Add NPOT compatibility fields to external state.
...
Completely unused for now.
2010-04-11 23:38:24 -07:00
José Fonseca
d67e3487ac
llvmpipe: Respect pipe_sampler_view::format.
2010-04-12 15:32:23 +09:00
José Fonseca
cd70b6bd9e
progs/gallium/raw: Update symbols.
...
Untested -- just the same changes done to progs/gallium/python.
2010-04-12 15:32:23 +09:00
José Fonseca
19211bb5b8
progs/gallium/python: Try to fix most regressions.
...
Not enough for retrace to work again though.
2010-04-12 15:32:23 +09:00
José Fonseca
c48f21ea7c
st/python: Fix regressions.
2010-04-12 15:32:23 +09:00
José Fonseca
b77583203e
trace: Fix several regressions introduced by recent interface changes.
2010-04-12 15:32:22 +09:00
José Fonseca
5a549d8b48
llvmpipe: pipe_target needs now 3 bits to be represented.
2010-04-12 15:32:21 +09:00
José Fonseca
0bddb58d2f
stw: Update for pipe_resource interface changes.
2010-04-12 15:32:21 +09:00
José Fonseca
1dc8e08e84
stw: Fix minor st_api migration glitches.
2010-04-12 15:32:21 +09:00
Chia-I Wu
192f06adca
st/wgl: Switch from st_public.h to st_api.h. [V2]
...
This is only compile tested with crossmingw.
V2:
- reference count stw_framebuffer
2010-04-12 15:32:20 +09:00
Török Edwin
bddb6c7a38
Fix build with --enable-32-bit.
...
CFLAGS needs to be passed, as you already know.
Commit 3e17a5b047 broke this by adding a new link
command without CFLAGS.
Signed-off-by: Török Edwin <edwintorok@gmail.com>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-04-11 20:57:28 -07:00
Dan Nicholson
4ebed86386
Revert "dri/drivers: fix 32bit builds on 64bit systems"
...
This reverts commit bd09fce271 . Török
Edwin sent the correct fix to the list a couple days ago in
<1270832747-15611-1-git-send-email-edwintorok@gmail.com>.
2010-04-11 20:57:28 -07:00
Luca Barbieri
930bba24e5
nvfx: make NOUVEAU_NO_TRANSFER default off
...
Otherwise, we read from VRAM...
Yes, again, it should be fixed to tell whether the buffer is in
VRAM or not and behave appropriately.
But this should be in pipebuffer/a generic layer; revisit this later
too.
2010-04-12 05:46:04 +02:00
Luca Barbieri
aa985f339d
nvfx: always use M2MF instead of the blitter
...
Currently we are relocating transfers to VRAM to use the blitter,
which is terrible.
Maybe for ->VRAM the blitter could be better, but we can't be
perfectly sure of that due to relocations.
In other words, just do the simple thing, and defer fine-tuning the
transfer hardware method to a later stage, while making it work
decently now.
2010-04-12 05:46:04 +02:00
Chia-I Wu
927e576284
st/egl: Request the front buffer as needed.
...
The front buffer is added to support old X servers. Check the version
of the server so that it can be added as needed.
2010-04-12 11:44:35 +08:00
Luca Barbieri
5060b99418
nvfx: add missing vtbl for shared textures
2010-04-12 04:40:03 +02:00
Marek Olšák
136bd184a2
r300g: atomize FS constant buffer
2010-04-12 04:16:08 +02:00
Marek Olšák
5633392966
r300g: atomize compiler's state variables for fragment shader
2010-04-12 04:16:08 +02:00
Marek Olšák
34092c55d6
r300g: atomize fragment shader
2010-04-12 04:16:08 +02:00
Marek Olšák
13b86fe207
r300g: remove a false comment
2010-04-12 04:16:08 +02:00
Marek Olšák
78257f3e8c
r300g: emit FS depth output config with FS code
2010-04-12 04:16:08 +02:00
Marek Olšák
953a309de9
r300g: FS constants emission rework
...
* The constant buffer emission is separated from RC state variables emission.
* The immediates are emitted with FS code.
2010-04-12 04:16:08 +02:00
Vinson Lee
132a590d5e
r300g: Remove unnecessary headers.
2010-04-11 18:27:04 -07:00
Vinson Lee
c7dda49aff
r300g: Initialize base.bind member variable.
...
The base.bind member variable was never initialized.
2010-04-11 18:19:24 -07:00
Vinson Lee
8033d7542b
i915g: Fix possible null pointer deference in debug builds.
...
i915_buffer deferences buf in debug builds. Move declaration and
assignment to inside NULL check of buf.
2010-04-11 18:07:41 -07:00
Vinson Lee
4a796264df
i915g: Fix assert.
2010-04-11 17:56:21 -07:00
Vinson Lee
039e77a7d1
progs/trivial: Update .gitignore.
2010-04-11 17:30:44 -07:00
Jakob Bornecrantz
36667036e8
progs/egl: Add lib directories to OpenVG demos
2010-04-12 01:50:52 +02:00
Jakob Bornecrantz
d93c34cf70
st/egl: Fix DRI2 on old X servers
2010-04-12 01:50:52 +02:00
Jakob Bornecrantz
cefe2a1dc2
winsys/sw: Fix error paths
2010-04-12 01:50:52 +02:00
Jakob Bornecrantz
c81f049794
llvmpipe: Fix transfers after resource change
2010-04-12 01:50:51 +02:00
Vinson Lee
b132265f50
util: Remove unnecessary header.
2010-04-11 15:06:07 -07:00
Vinson Lee
3d9199ebf2
i965g: Remove unnecessary header.
2010-04-11 14:59:09 -07:00
Vinson Lee
3601b20c9b
r300g: Add r300_resource.c to SCons build.
...
This was missed in commit 287c94ea49 ,
the gallium-resources branch merge.
2010-04-11 14:51:14 -07:00
Vinson Lee
0ebf7e34b4
svga: Remove unnecessary headers.
2010-04-11 14:27:16 -07:00
Vinson Lee
e188d1e632
trace: Remove unnecessary header.
2010-04-11 14:03:57 -07:00
Marek Olšák
db1b3e714c
r300g: a fix for piglit/texrect-many
...
Broken since 146879284c .
2010-04-11 19:30:09 +02:00
Marek Olšák
6eae8e4482
r300g: use a dummy replacement vertex shader if the shader compilation fails
2010-04-11 19:29:31 +02:00
Marek Olšák
69019afa67
r300g: use a dummy replacement fragment shader if the shader compilation fails
...
Better than killing an application.
2010-04-11 19:29:30 +02:00
Maciej Cencora
bd09fce271
dri/drivers: fix 32bit builds on 64bit systems
2010-04-11 16:33:55 +02:00
Maciej Cencora
0203136e69
Merge commit 'origin/7.8'
2010-04-11 14:12:13 +02:00
Maciej Cencora
2657325c4a
r300: respect radeon common code fallbacks
...
Fixes progs/demos/shadowtex under KMS
2010-04-11 13:42:00 +02:00
Maciej Cencora
6a5518861e
r300: set proper vertex index limits also in non indexed mode
...
Fixes #27521 , broken menus in UT2004 and broken water refraction in Sauerbraten.
2010-04-11 13:41:38 +02:00