Brian Paul
4f481cb87a
glsl: added uniform initializer check
...
GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later
allows them. This patch uses the #version directive to allow/disallow
uniform initializers.
This addresses bug 25807, but piglit also needs to be fixed to specify
the GLSL version in the shader.
2009-12-29 10:11:29 -07:00
Brian Paul
639e7a140e
ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slots
...
This function will search the constant parameters in an effort to re-use
constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in
one constant slot and accessed with different swizzles. The swizzle info
must be propogated though the parsing code in a few places.
Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.
2009-12-29 09:08:02 -07:00
Vinson Lee
b4658dbf04
st/egl: Move declaration before code.
2009-12-28 19:09:33 -08:00
Vinson Lee
c67bb15d4e
intel: Silence compiler warnings.
2009-12-28 18:46:15 -08:00
Vinson Lee
46c2196de3
llvmpipe: Fix assert.
2009-12-28 18:07:09 -08:00
Vinson Lee
e049ddb754
llvmpipe: Silence compiler warnings.
2009-12-28 18:05:30 -08:00
Keith Whitwell
f0ba7d897d
util: better fix for unused variable warnings with asserts
...
Modify the non-debug (ie disabled) version of assert to expose the
value in the expression to the compiler (avoiding the unused variable
messages) while still expanding to a noop.
2009-12-28 11:06:11 +00:00
Vinson Lee
31d1822473
llvmpipe: Silence compiler warnings.
2009-12-28 00:44:30 -08:00
Vinson Lee
c441386b0c
st/xorg: Silence unused variable warnings.
2009-12-27 23:02:55 -08:00
Vinson Lee
aa0437532e
g3dvl: Silence compiler warnings.
2009-12-27 22:49:49 -08:00
Vinson Lee
bf63b9d7a9
st/vega: Silence compiler warnings.
2009-12-27 22:39:31 -08:00
Vinson Lee
9d3092d134
gallium/xlib: Silence unused variable warning.
2009-12-27 22:18:18 -08:00
Vinson Lee
d1f64fa72f
trace: Silence unused variable warnings.
2009-12-27 18:12:58 -08:00
Vinson Lee
f31f9cf485
i915g: Silence unused variable warning.
2009-12-27 18:09:58 -08:00
Vinson Lee
3a2f96f18a
softpipe: Silence unintialized variable warnings.
2009-12-27 18:06:02 -08:00
Vinson Lee
180ccffe55
softpipe: Silence unused variable warning.
2009-12-27 17:52:47 -08:00
Vinson Lee
0463ee64e3
tgsi/ureg: Silence uninitialized variable warnings.
2009-12-27 17:40:48 -08:00
Brian Paul
b0d5e44f24
docs: insert 7.7 release date
2009-12-27 15:33:25 -07:00
Brian Paul
d0b7ff551a
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
src/gallium/auxiliary/util/u_network.c
src/gallium/auxiliary/util/u_network.h
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/trace/tr_rbug.c
src/gallium/state_trackers/vega/bezier.c
src/gallium/state_trackers/vega/vg_context.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/winsys/xlib/xlib_brw_context.c
src/mesa/main/mtypes.h
2009-12-27 15:31:08 -07:00
Brian Paul
da876fa3a5
docs: insert 7.6.1 release date
2009-12-27 15:14:25 -07:00
Brian Paul
7831515e69
st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM
2009-12-27 10:09:24 -07:00
Vinson Lee
331e910b5c
gallium/util: Remove comma at end of enumerator list.
2009-12-26 16:22:25 -08:00
Vinson Lee
3c2fd1bae0
rbug: Remove comma at end of enumerator list.
2009-12-26 16:18:47 -08:00
Vinson Lee
f8ca25e02f
rbug: Remove comma at end of enumerator list.
2009-12-26 16:14:39 -08:00
Vinson Lee
fc11424bcd
mesa: Remove comma at end of enumerator list.
2009-12-26 16:09:41 -08:00
Vinson Lee
309c156bae
i915: Fix assert.
2009-12-26 15:55:38 -08:00
Vinson Lee
e81fe088f4
progs/demos: Silence warn_unused_result warnings.
2009-12-26 01:08:26 -08:00
Vinson Lee
cdc69e3469
progs/util: Silence warn_unused_result warnings.
2009-12-25 23:13:50 -08:00
Vinson Lee
cd59e6f553
intel: Silence implicit function declaration warning.
2009-12-25 22:34:35 -08:00
Vinson Lee
67a4abcc3b
glu/sgi: Fix include recursion.
...
arcsorter.h should not include itself.
2009-12-25 14:23:10 -08:00
Vinson Lee
2447786ed0
i965: Fix assert.
2009-12-24 22:58:05 -08:00
Vinson Lee
f5ad1d0d02
i965: Add missing va_end.
2009-12-24 16:26:09 -08:00
Vinson Lee
098f10c270
glsl: Initialize member a_obj of struct slang_operation.
2009-12-23 18:00:06 -08:00
Vinson Lee
261c3cd530
glu/sgi: Initialize variable in directedLine.
2009-12-23 17:50:02 -08:00
Vinson Lee
520955a0cd
gallium/util: Initialize variable in util_clear.
2009-12-23 16:22:03 -08:00
Vinson Lee
6138145b35
glu/sgi: Silence compiler warnings.
2009-12-23 16:11:10 -08:00
Vinson Lee
51dcea2aac
util: Ensure debug_dump_flags generates a null-terminated string.
2009-12-23 15:19:45 -08:00
Vinson Lee
2ea061509d
st/xorg: Use C-style comments.
2009-12-23 14:52:06 -08:00
Vinson Lee
15ecd0337e
st/vega: Move declaration outside for loop.
2009-12-23 14:43:53 -08:00
Vinson Lee
1b0ab3e3c9
st/egl: Use C-style comments.
2009-12-23 14:18:11 -08:00
Vinson Lee
6c8c1ce78b
glx: Add XF86DRI[Open|Close]FullScreen prototypes to xf86dri.h.
2009-12-23 14:09:36 -08:00
Vinson Lee
cf3bb0cf31
glx: Move declaration outside for loop.
2009-12-23 12:42:38 -08:00
Tom Fogal
f42c861f02
Regenerate gl_mangle.h.
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-23 11:38:14 -07:00
Maarten Maathuis
8e8502bc63
gallium: only create pipe buffer when size is nonzero
...
- This fixes a crash upon starting spring (a rts engine/game).
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2009-12-23 16:33:54 +00:00
Vinson Lee
57b5ca5d11
glu/sgi: Silence uninitialized variable warnings.
2009-12-22 23:07:00 -08:00
Vinson Lee
19a40524d3
Add gallium to darwin config.
2009-12-22 18:21:41 -08:00
Vinson Lee
aae32df718
xlib: Use C-style comments.
2009-12-22 17:51:58 -08:00
Vinson Lee
b20382d477
trace: Silence uninitialized variable warnings.
2009-12-22 17:34:39 -08:00
Vinson Lee
f6ca26e5a7
trace: Add PIPE_OS_APPLE.
2009-12-22 17:17:28 -08:00
Vinson Lee
6ce28a755c
gallium/util: Add PIPE_OS_APPLE to u_stream_stdc.c.
2009-12-22 16:23:00 -08:00