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
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
21780adc2e
scons: Make debug build default.
...
I've been back and forth on this, but I believe it's worth to have debug
by default.
Most humans (developers, testers) will want to use the debug version by
default. Many build bots want release but they are bots, and humans >
bots, so I don't care that much.
This is part of my initiative of minimizing the scons option mess many
complain about.
2010-04-11 17:17:34 +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
Marek Olšák
146879284c
r300g: revisit some assertions and fix potential failures
...
* Turn some assertions to error messages.
* At most 16 vertex elements can be set, others are ignored.
* Rasterize at most 8 vertex-shader generic outputs, others are ignored.
This includes fog and WPOS.
* Unknown shader semantic names are ignored.
2010-04-11 10:15:50 +02:00
Marek Olšák
08afcaa56e
r300g: use cliprects for scissoring
...
Cliprects can be disabled, scissors can't. It maps nicely to hardware.
2010-04-11 10:15:50 +02:00
Vinson Lee
f39dcdc70c
st/egl: Remove unnecessary header.
2010-04-10 22:20:10 -07:00
Vinson Lee
5c28928c92
i965: Remove unnecessary header.
2010-04-10 22:14:06 -07:00
Vinson Lee
e13e1c068d
r300: Remove unnecessary header.
2010-04-10 22:03:29 -07:00
Vinson Lee
68341dcfc0
mach64: Remove unnecessary header.
2010-04-10 21:51:24 -07:00
Vinson Lee
6bd99f1130
radeon: Remove unnecessary header.
2010-04-10 21:43:16 -07:00
Marek Olšák
2e7785be22
r300g: fix mipmapped 3D textures
...
This is a bug in the CS checker causing CS being rejected.
2010-04-11 06:40:46 +02:00
Marek Olšák
e1208bbeae
r300g: support some exotic sampler formats
2010-04-11 06:40:46 +02:00
Vinson Lee
93a6db0779
st/mesa: Silence uninitialized variable warning.
2010-04-10 21:05:40 -07:00
Vinson Lee
8369f2005b
nvfx: Silence uninitialized variable warning.
2010-04-10 20:45:03 -07:00
Vinson Lee
ac18b8c44c
nvfx: Silence uninitialized variable warnings.
2010-04-10 20:28:24 -07:00
Vinson Lee
95d3bdd338
r300/compiler: Remove unused variable.
2010-04-10 20:12:32 -07:00
Vinson Lee
e19ea63b80
svga: Silence uninitialized variable warnings.
2010-04-10 20:05:10 -07:00