Corbin Simpson
3623202834
r300/compiler: Unbreak DDX/DDY.
...
Fixes progs/glsl/deriv.
2010-03-30 10:43:51 -07:00
Zack Rusin
dc886ba139
gallivm: cleanup the code (found by coverity)
...
the condition can't be false, declerations are ok even if we don't
emit any.
2010-03-30 08:55:17 -04:00
George Sapountzis
5cc9387d0d
drisw: fix use after free (bug 27370)
2010-03-30 13:10:36 +03:00
Michel Dänzer
e5c7d1e1c8
Merge branch '7.8'
...
Conflicts:
Makefile
src/mesa/main/version.h
Resolved by keeping version strings from master (also in the intel driver).
2010-03-30 12:01:31 +02:00
Michel Dänzer
07c6d94cd7
glx/dri2: Fix debug build with old dri2proto.
...
Apparently the higher compiler optimization level in non-debug builds was
eliminating the unused functions referencing the unresolved DRI2 symbols...
2010-03-30 11:50:13 +02:00
Chia-I Wu
aa1a790360
st/dri: Fix a memory leak in dri1_init_screen.
...
Free the returned configs upon errors.
2010-03-30 15:41:50 +08:00
Chia-I Wu
f6f5cba9a6
mesa/es: Use core mesa's mfeatures.h.
...
Remove mfeatures_es1.h and mfeatures_es2.h. Build the overlay with
either FEATURE_ES1 or FEATURE_ES2 defined.
2010-03-30 15:39:17 +08:00
Chia-I Wu
066477ab22
mesa: Add missing features.
...
Add features tested in the code but missing from mfeatures.h.
This also fixes some tests of features. They should be tested with
"#if", not "#ifdef".
2010-03-30 15:39:17 +08:00
Chia-I Wu
9f0e1be2de
mesa: Add umbrella features.
...
Add FEATURE_GL, FEATURE_ES1, and FEATURE_ES2 for OpenGL, OpenGL ES 1.x,
and OpenGL ES 2.x respectively. Define individual features through the
new umbrella features. There is no real change introduced by this
commit.
2010-03-30 15:39:17 +08:00
Vinson Lee
49289007c1
drisw: Remove unnecessary header.
2010-03-29 23:11:26 -07:00
Vinson Lee
f2c55566ee
swrastg: Silence unused value warning.
2010-03-29 22:54:35 -07:00
Vinson Lee
ba43b74967
r300g: Remove unused variable.
2010-03-29 22:19:28 -07:00
Vinson Lee
9dc51ad4f7
r300g: Remove unnecessary header.
2010-03-29 22:11:37 -07:00
Corbin Simpson
587c5ef01f
r300g: Bind constantbuf to Draw immediately, don't wait for render.
...
Doesn't hurt, and reduces code duplication.
2010-03-29 21:33:19 -07:00
Chia-I Wu
c1a392ac4c
st/glx: Remove a wrong assertion in choose_pixel_format.
...
There are X visuals that Gallium or the code does not support. We could
not assert the color format to be supported. Return PIPE_FORMAT_NONE in
such cases and let the caller handle it.
2010-03-30 11:20:53 +08:00
Brian Paul
8c6f71e01e
gallivm: use constant size array, added assertion check
2010-03-29 18:13:31 -06:00
Roland Scheidegger
56b34e54f2
gallium/util: use other layout instead of the old compressed
2010-03-30 02:01:11 +02:00
Roland Scheidegger
733df0059f
Merge branch 'master' into gallium-new-formats
...
Conflicts:
src/gallium/auxiliary/util/u_format.csv
2010-03-30 01:52:13 +02:00
Roland Scheidegger
6fb364a171
gallium: adapt all code to the renamed depth/stencil formats
2010-03-30 01:35:49 +02:00
Roland Scheidegger
4e9690f00c
gallium: make the python scripts for format parsing not fail on new formats
...
they won't generate any useful conversion code for some of the new formats
but at least don't assert. Also needed some more hacks so they don't generate
code for some of the new formats, as gcc was not impressed.
Also declare unused channels as void, and change the scripts to not fail if
the first channel happened to be unused.
Needs serious fixing.
2010-03-30 01:33:28 +02:00
Chris Li
5fa0984661
Add test case for lp_bld_printf()
2010-03-29 16:09:27 -07:00
Chris Li
3b1a8d9d5b
gallivm: added lp_bld_printf() function
2010-03-29 16:09:27 -07:00
Vinson Lee
90075f34e2
progs/glsl: Add workarounds for Apple GLSL compiler crash.
...
fsraytrace and vsraytrace were crashing on Mac OS X 10.6.3 in the Apple
GLSL compiler function TPPStreamCompiler::assignOperands. Removing some
const qualifers made the crashes go away.
2010-03-29 14:56:12 -07:00
Vinson Lee
52f7289215
progs/glsl: Remove inline keyword.
...
Fixes MSVC build.
2010-03-29 13:58:39 -07:00
José Fonseca
bbe6788807
progs/gallium/python: Get tri.py sample working again.
2010-03-29 21:22:23 +01:00
José Fonseca
d0e7aa25a9
st/python: Update for util_draw_vertex_buffer changes.
2010-03-29 21:22:23 +01:00
José Fonseca
69492c3aca
st/python: Move surface read/write methods to context.
2010-03-29 21:22:23 +01:00
Zack Rusin
012fabca72
gallivm: make sure that the alloca's are the very first thing in the function
...
otherwise mem2reg can't put them in registers
2010-03-29 16:18:16 -04:00
George Sapountzis
625e024b18
st/dri/sw: add drisw_api similarly to dri1_api
...
I am pretty sure that this is in gallium spirit, so commit. Thanks to Chia-I
for suggesting this.
2010-03-29 21:06:54 +03:00
George Sapountzis
6cc5fbd76b
ws/sw/dri: s/xm/dri_sw/
2010-03-29 21:06:53 +03:00
Brian Paul
2aafbd7c2a
docs: fix 7.7.1 release date
...
(cherry picked from commit e6f5ca0fa3bff975f2acb3a825d77f095bc9f43e)
2010-03-29 12:01:28 -06:00
Roland Scheidegger
9de2ee646a
gallium: fix bogus depth/stencil format names (and channel descriptions)
...
only the depth part is normalized, stencil part isn't.
2010-03-29 20:00:41 +02:00
Roland Scheidegger
d9eae63792
gallium: add new texture formats
...
These are needed for DX10 and/or OGL3.3.
This just adds the formats nothing handles them yet.
PIPE_FORMAT_R1_UNORM can't be used currently as it requires special filter.
Need to reclassify compressed formats at some point.
2010-03-29 19:52:29 +02:00
Brian Paul
909f0b356e
progs/glsl: improve the mouse drag/rotate code a little
2010-03-29 11:47:38 -06:00
RALOVICH, Kristóf
8ca937fc3b
progs/glsl: let the mouse rotate the scene
2010-03-29 11:47:38 -06:00
Brian Paul
1cbd510688
glsl: avoid using rcp in length() functions
...
See prev commit for related info.
2010-03-29 11:47:38 -06:00
Brian Paul
ab0b9f80f4
glsl: remove rcp from sqrt()
...
Per a patch from Marek Olšák, we can simply multiply the incoming
value by 1/sqrt(x) instead of using rcp.
We're keeping the x==0 check to avoid generating NaN for sqrt(0).
2010-03-29 11:47:38 -06:00
Roland Scheidegger
e96147e744
gallium/docs: minor fixes
2010-03-29 19:12:14 +02:00
José Fonseca
588dd187c4
Revert "python: Temporarily disable python state tracker until transfers are done by contexts"
...
This reverts commit 50a7786619
.
2010-03-29 17:52:10 +01:00
José Fonseca
f3cb08f3dd
i965g: util_format_is_compressed() -> util_format_is_s3tc().
2010-03-29 17:31:34 +01:00
José Fonseca
cfbbe244d7
mesa/st: util_format_is_compressed() -> util_format_is_s3tc().
2010-03-29 17:31:34 +01:00
José Fonseca
bade76191a
svga: util_format_is_compressed() -> util_format_is_s3tc().
2010-03-29 17:31:34 +01:00
José Fonseca
28cf5e1191
r300: UTIL_FORMAT_LAYOUT_COMPRESSED -> UTIL_FORMAT_LAYOUT_S3TC.
2010-03-29 17:31:34 +01:00
José Fonseca
b9ad95d3ee
util: Distinguish between the different compression formats.
...
In particular, all current uses of util_format_is_compressed() actually
mean s3tc.
2010-03-29 17:31:34 +01:00
Michal Krol
37877b192e
softpipe: Map GS constants, too.
2010-03-29 16:06:10 +02:00
Marek Olšák
1c2912ee7a
r300g: print configurable debugging info on non-debug builds
2010-03-29 03:33:28 +02:00
Ian Romanick
dec94903d9
mesa: Add 7.8 release MD5 sums
2010-03-28 16:35:56 -07:00
Ian Romanick
ef6736e646
intel: Bump intel driver date to reflect status as 2010Q1 release
2010-03-28 16:33:53 -07:00
Ian Romanick
a6a4613135
mesa: set version string to 7.8
...
Also set the correct release date.
2010-03-28 16:33:12 -07:00
Ian Romanick
11289924b8
mesa: Add 7.7.1 release MD5 sums
...
(cherry picked from commit 0c88e340499c961cc7a06107a727710a67e280ed)
2010-03-28 16:33:12 -07:00