Michal Krol
69fec23251
glsl/pp: Avoid using `__VERSION__' as an identifier.
2009-09-24 10:57:32 +02:00
Michal Krol
7a95a3c7c4
glsl/pp: Include missing headers.
2009-09-24 10:56:46 +02:00
Michal Krol
e1eed56702
glsl/pp: Allow builds on all platforms.
2009-09-24 10:56:01 +02:00
Michal Krol
e8e3fe15e1
glsl/apps: Include missing header, properly escape format strings.
2009-09-24 10:55:37 +02:00
Michal Krol
db097a9a3f
glsl/apps: Allow builds on all platforms.
2009-09-24 10:54:56 +02:00
Michal Krol
a58360dbc2
glsl/pp: Use struct instead of union.
2009-09-24 09:04:15 +02:00
Michal Krol
13f9a39cea
glsl/apps: Fix apps after pp interface changes.
2009-09-24 08:43:54 +02:00
Michal Krol
9a1447d449
glsl/pp: Store both line number and file index in a single token.
2009-09-24 08:43:05 +02:00
Michal Krol
8212e4d9fa
grammar: Include the correct glsl pp header.
2009-09-23 09:40:40 +02:00
Michal Krol
1ed1dc8b41
glsl/pp: Include missing headers.
2009-09-23 09:40:24 +02:00
Michal Krol
2f89e1a5a1
glsl/pp: Add 0' and 1' to dictionary.
2009-09-23 09:37:37 +02:00
Michal Krol
32966991c6
glsl/pp: Check for reserved macro names.
2009-09-23 09:33:12 +02:00
Michal Krol
b1e6514a94
slang: Differentiate between uints and floats.
2009-09-22 12:54:45 +02:00
Michal Krol
cd41395073
grammar: Differentiate between uints and floats.
2009-09-22 12:52:53 +02:00
Michal Krol
125691dda3
glsl/apps: Update after recent pp interface changes.
2009-09-22 12:52:21 +02:00
Michal Krol
0481e85af7
glsl/pp: Differentiate between integer and floating-point number tokens.
2009-09-22 12:51:08 +02:00
Michal Krol
bb32b0908f
progs/perf: Fix newlines.
2009-09-18 11:42:30 +02:00
Michal Krol
5f9f30a752
glsl/apps: Use glsl pp public interface.
2009-09-18 11:20:42 +02:00
Michal Krol
8302208b02
slang: Use glsl pp public interface.
2009-09-18 11:19:54 +02:00
Michal Krol
95956bb8cb
glsl/pp: Define a public interface for external modules.
...
Make sl_pp_context struct opaque.
Move all public declarations to sl_pp_public.h.
2009-09-18 11:19:25 +02:00
Michal Krol
2a661c383f
Merge commit 'origin/master' into glsl-pp-rework-2
...
Conflicts:
src/gallium/winsys/gdi/SConscript
2009-09-17 12:44:24 +02:00
Michal Krol
90daefd1c4
glsl/pp: Add a TODO for FEATURE_es2_glsl.
2009-09-17 12:33:26 +02:00
Michal Krol
4fcda5000e
slang/pp: Fix file number parsing.
2009-09-17 12:14:12 +02:00
Michal Krol
ce8f486156
slang/pp: Use a dictionary for the remaining string literals.
2009-09-17 12:12:34 +02:00
Michal Krol
0ddf41d34d
glsl/pp: Add remaining error messages.
2009-09-17 11:51:35 +02:00
Michal Krol
69bdd47dba
glsl/apps: Always write out error condition.
2009-09-17 10:45:16 +02:00
Brian Paul
21caa29fbd
mesa: begin some texstore code refactoring
...
Next step will be to move the calls to ctx->Driver.ChooseTextureFormat()
into the teximage.c functions so drivers don't have to do it.
2009-09-16 21:50:04 -06:00
Brian Paul
1d8fbef4f2
mesa: meta driver functions for glCopyTex[Sub]Image()
...
Implement in terms of glReadPixels + glTex[Sub]Image().
This will allow us to get rid of some swrast texture code.
2009-09-16 20:09:07 -06:00
Brian Paul
9abbedad09
progs/perf: initial set of simple performance test programs
...
Initial tests include:
drawoverhead - measure overhead of state changes w.r.t drawing commands
teximage - measure glTexImage2D() and glTexSubImage2D() speed
vbo - measure glBufferData() and glBufferSubData() speed
vertexrate - measure vertex rate for immediate mode, glDrawArrays, VBOs, etc.
2009-09-16 19:33:01 -06:00
Brian Paul
4df2f7af5e
progs/glsl: minor Makefile clean-ups
2009-09-16 19:28:55 -06:00
Brian Paul
8d47b4906b
swrast: remove mipmap generation checks (done in core Mesa now)
2009-09-16 19:28:55 -06:00
Brian Paul
4e84b96d92
s3v: remove unneeded initializations
2009-09-16 19:28:54 -06:00
Brian Paul
1b1125c239
ffb: remove disabled code
2009-09-16 19:28:54 -06:00
Michal Krol
cc629940d4
glsl/apps: Always write out error condition.
2009-09-16 22:04:22 +02:00
Michal Krol
a7382628f2
glsl/pp: Validate numbers.
2009-09-16 21:51:12 +02:00
José Fonseca
f911d196cf
llvmpipe: Don't assert due to unsupported texture wrap modes.
...
Issue a warning and fallback to clamping.
2009-09-16 20:42:09 +01:00
Michal Krol
de0753e4cb
glsl/pp: Add more error messages.
2009-09-16 20:40:02 +02:00
Michal Krol
c9de313f1b
slang: Propagate error messages from preprocessor.
2009-09-16 20:28:20 +02:00
Michal Krol
d4638f5dce
glsl/pp: Add more error messages.
2009-09-16 20:27:59 +02:00
Michal Krol
eeb5202e5d
slang: Invoke the preprocessor from withing the slang compiler.
...
This allows us to validate the shader version number.
2009-09-16 19:24:50 +02:00
Ian Romanick
5ce72c559c
Merge branch 'mesa_7_6_branch'
2009-09-16 08:05:36 -07:00
Brian Paul
aabcc6cb23
gallium: remove incorrect 'return' stmt
2009-09-16 08:59:32 -06:00
Ian Romanick
88e3a57605
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
...
Conflicts:
src/mesa/main/dlist.c
2009-09-16 07:57:19 -07:00
Ian Romanick
2921a2555d
intel: Deassociated drawables from private context struct in intelUnbindContext
...
The generic DRI infrastructure makes sure that __DRIcontextRec::driDrawablePriv
and __DRIcontextRec::driReadablePriv are set to NULL after unbinding a
context. However, the intel_context structure keeps cached copies of
these pointers. If these cached pointers are not NULLed and the
drawable is actually destroyed after unbinding the context (typically
by way of glXDestroyWindow), freed memory will be dereferenced in
intelDestroyContext.
This should fix bug #23418 .
2009-09-16 07:39:58 -07:00
José Fonseca
c29905aa31
gallium: Deprecate PIPE_CAP_S3TC.
...
No longer used. S3TC support is queried via
pipe_screen::is_format_supported.
2009-09-16 14:33:52 +01:00
Michal Krol
ec48396e0f
softpipe: Do not advertise Z32_UNORM as a supported format.
2009-09-16 13:56:58 +01:00
José Fonseca
b60e1d7630
gdi: Integrate with llvmpipe where available.
2009-09-16 11:35:23 +01:00
José Fonseca
459ea0095c
llvmpipe: Make the code portable for MinGW.
2009-09-16 11:35:23 +01:00
Zou Nan hai
76e836a41a
i965: do a flush in clear, fix openarena render issue,
...
fd.o bug# 23857
2009-09-16 13:25:46 +08:00
Dave Airlie
858a2a2ac7
radeon: cleanup compile defines mess.
...
I inherited this and really it stayed around far too long,
make it nice and simple.
2009-09-16 13:48:45 +10:00