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
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
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
Christoph Bumiller
948e9f7c88
nv50: fix texture relocs
...
The new address should go to TIC entries 1, 2 instead of entry 0.
Also, using PIPE_SHADER_* for the program type was wrong, they're
ordered like the tesla method now, sorry for the confusion.
2010-04-11 11:44:12 +02:00
Chia-I Wu
870a9d643b
st/egl: Follow the portability guide.
...
Avoid including standard library headers and use MALLOC/FREE if
possible.
2010-04-11 17:12:42 +08:00
Chia-I Wu
5ec4b636c4
st/egl: Factor driver callbacks to a new file.
...
Factor all callbacks other than Initialize, Terminate, and GetProcAddress
to egl_g3d_api.c.
2010-04-11 17:12:42 +08:00
José Fonseca
47a89e9255
scons: Always build softpipe and llvmpipe (when llvm available).
...
These are our reference software rasterizers. They can build everywhere
and are a precious debugging tool.
Making them always present immensily simplifies the scons logic.
If people want to avoid building it is still possible to pass
direcotries and target names to scons to narrow the build.
2010-04-11 17:17:35 +09:00
José Fonseca
ea532f0e72
scons: Make LLVM a black-white dependency.
...
Now that draw depends on llvm it is very difficult to correctly handle
broken llvm installations. Either the user requests LLVM and it needs to
supply a working installation. Or it doesn't, and it gets no LLVM
accelerate pipe drivers.
2010-04-11 17:17:34 +09:00
José Fonseca
9fc93b8041
scons: Use libdrm options only where needed.
...
Prevents needless recompiles when switching dri=yes to no.
2010-04-11 17:17:34 +09:00
José Fonseca
9faf9529f3
scons: Build glapi regardless of the dri option.
2010-04-11 17:17:34 +09:00