Jonathan White
ab0d13dd60
egl: changes for Windows
2008-08-05 19:22:09 -06:00
Jonathan White
240962faf7
egl: added snprintf, strcasecmp defines
2008-08-05 19:20:43 -06:00
Brian Paul
096b5fa524
mesa: glsl: regenerated file
2008-08-05 16:59:22 -06:00
Brian Paul
7a63e317d1
mesa: glsl: remove invalid use of f.x syntax where f is a float
2008-08-05 16:58:44 -06:00
Brian Paul
013de307ed
mesa: glsl: re-enable assignment type checking
2008-08-05 16:58:31 -06:00
Brian Paul
8abeeb35d3
mesa: glsl: regenerated files
2008-08-05 16:24:53 -06:00
Brian Paul
1308ca6d21
mesa: glsl: re-org of intermediate/temp storage
...
Simplify the code for allocating storage for intermediate results. Use fewer
temps in some cases.
Also, use new asm vec4_move intrinsic instead of regular assigments in various
constructors. For example:
float f;
vec3 v;
v.xyz = f;
is not legal GLSL, so do this instead:
__asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx
Plus, fix assorted bugs in structure comparison.
2008-08-05 16:18:39 -06:00
Brian Paul
749c1b9fbe
mesa: glsl: disable broken assignment type checking for now
2008-08-05 11:13:51 -06:00
Jonathan White
2eb4f86785
egl: don't include stdint.h on Windows
2008-08-05 08:13:50 -06:00
Jonathan White
b51584184a
egl: typedef uint8_t for Windows
2008-08-05 08:12:38 -06:00
Brian Paul
2d8551b30f
mesa: glsl: check struct types in _slang_assignment_compatible()
2008-08-04 17:14:49 -06:00
Brian Paul
793bab2a36
mesa: glsl: varying vars can't be user-defined structs
2008-08-04 17:14:49 -06:00
Brian Paul
9564e58df0
mesa: glsl: regenerated files
2008-08-04 17:14:49 -06:00
Brian Paul
3b5f9588e7
mesa: glsl: added vec4(ivec4) constructor
2008-08-04 17:14:49 -06:00
Brian Paul
50ecc38545
mesa: glsl: if/while/do condition must be boolean
2008-08-04 17:14:49 -06:00
Brian Paul
f70f6e076c
mesa: glsl: additional type checking for ?: and = operators
2008-08-04 17:14:49 -06:00
Brian Paul
e194c457fd
mesa: glsl: don't allow comparision of arrays
2008-08-04 17:14:49 -06:00
Brian Paul
250910a59d
mesa: glsl: error on const-qualified array declarations
2008-08-04 17:14:49 -06:00
Brian Paul
b57c53b2bc
mesa: glsl: added null ptr check
2008-08-04 17:14:49 -06:00
Brian Paul
c610c0d77d
mesa: glsl: set literal_size for const vars
2008-08-04 17:14:49 -06:00
Brian Paul
95ecc33330
mesa: glsl: add missing code emit for struct/field
2008-08-04 17:14:48 -06:00
Brian Paul
02d223a781
mesa: glsl: stop code emit after error is recorded
2008-08-04 17:14:48 -06:00
Brian Paul
1028458354
mesa: glsl: check that rhs of const var initializer is also const
2008-08-04 17:14:48 -06:00
Brian Paul
901c4db2ed
mesa: glsl: handle user-defined const vars in expression simplification
2008-08-04 17:14:48 -06:00
Brian Paul
26ec3780b8
mesa: glsl: fix initialize size error check
2008-08-04 17:14:48 -06:00
Brian Paul
e68a3ef1ef
mesa: glsl: added initializer size/type error checking
2008-08-04 17:14:48 -06:00
Brian Paul
7c59a2b5a2
mesa: glsl: only allow one #version directive
2008-08-04 17:14:48 -06:00
Brian Paul
d95bb24ddc
mesa: glsl: regenerated file
2008-08-04 17:14:48 -06:00
Brian Paul
012a1f1cf6
mesa: glsl: new bvec4 constructor
2008-08-04 17:14:48 -06:00
Jonathan White
73c3c4d1cc
egl: typedef u_int32_t for Windows
2008-08-04 16:30:58 -06:00
Jonathan White
655ca5afad
egl: fix _eglGlobal initialization for Windows
2008-08-04 16:30:04 -06:00
Michal Krol
2783f3bfab
tgsi: Put a newline after IMM.
2008-08-04 12:18:09 +02:00
Brian Paul
eb80ed0d2e
added null ptr check (fix bug 16959)
2008-08-03 11:14:47 -06:00
Younes Manton
4a8b908a46
softpipe: support PIPE_FORMAT_R16_SNORM.
2008-08-02 19:37:16 +02:00
Brian Paul
ab945fc38c
mesa: glsl: remove old assertion (fixes glsl/bitmap.c)
2008-07-29 17:49:47 -06:00
Brian Paul
43ac397fb8
mesa: disable debug code
2008-07-29 17:47:39 -06:00
José Fonseca
76164bf7a2
tgsi: Insert newlines after the statements, instead of before.
...
Prevents shader dumps from getting concatenated with the next debug message.
2008-07-30 00:44:56 +09:00
José Fonseca
28454a512a
util: Don't define replacement math functions for CE.
...
It appears to be working without this before, and it is probably necessary.
2008-07-28 22:42:18 +09:00
José Fonseca
c208a2c791
Merge tgsi/exec and tgsi/util directories.
2008-07-28 12:42:13 +09:00
José Fonseca
ff7a7031ca
gallium: Windows miniport portability fixes.
2008-07-26 09:18:07 +09:00
Brian Paul
40acf8cce2
mesa: glsl: assorted fixes for resolving polymorphic functions
...
Plus,
- fix some issues in casting function arguments to format param types.
- fix some vec/mat constructor bugs
- find/report more syntax/semantic errors
2008-07-25 15:33:02 -06:00
Brian Paul
4b3fb99b50
mesa: regenerated files
2008-07-25 14:48:49 -06:00
Brian Paul
9d9076af5c
mesa: glsl: re-order some constructors
2008-07-25 14:48:36 -06:00
Brian Paul
c72bc3f372
mesa: glsl: remove unneeded operators
2008-07-25 14:48:14 -06:00
Brian Paul
72809f3773
mesa: fix issues causing warnings on Windows
2008-07-25 08:34:54 -06:00
Brian Paul
03de81aea1
mesa: glsl: additional error detection
...
Plus begin some fixes for vec/matrix constructors.
2008-07-25 08:26:53 -06:00
Michal Krol
2acf917f00
mesa: Mark as XXX unresolved warnings on windows.
2008-07-25 10:41:53 +02:00
Brian Paul
7b2ef2b884
mesa: gls: fix broken else clause of conditional break/continue
...
In the following case:
for () {
if (cond)
break; // or continue;
else
something;
}
The "something" block didn't get emitted.
2008-07-24 15:49:09 -06:00
Brian Paul
643228c506
mesa: move extensions->version code into separate function
2008-07-24 15:12:42 -06:00
Brian Paul
0216a58430
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
2008-07-24 15:11:59 -06:00