Commit graph

18607 commits

Author SHA1 Message Date
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
Xiang, Haihao
8e8019b49a dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646 2008-08-05 11:34:26 +08:00
Xiang, Haihao
a3024caff1 i965: Use program->SamplerUnits[] to get the appropriate texture unit.
inst->TexSrcUnit is used as an index into program->SamplerUnits[] since
the commit ade508312c, and program->SamplerUnits
is a sampler-to-texture-unit mapping.
2008-08-05 10:18:56 +08: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
Adam Jackson
62fb5f7b9a Drop unused 'entries' field from __glxHashTable. 2008-08-04 15:44:34 -04: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
Brian Paul
61b3ce8f97 added null ptr check (fix bug 16959) 2008-08-03 11:13:12 -06:00
Younes Manton
4a8b908a46 softpipe: support PIPE_FORMAT_R16_SNORM. 2008-08-02 19:37:16 +02:00
Eric Anholt
ded9414024 intel-gem: Always build GEM execbuffer code. 2008-07-31 14:13:30 -07:00
Jesse Barnes
e9bf3e4cc9 intel: sync to vblank by default
Effectively default to vblank_mode=3 on Intel to avoid tearing by default.
Users wanting to go "as fast as possible" (despite not being able to see frames
faster than their refresh rate allows) can still set the vblank_mode manually.
2008-07-31 11:50:37 -07:00
Eric Anholt
c9120a0d19 intel-gem: Use new getparam to detect kernel GEM support. 2008-07-30 14:16:33 -07:00
Guillaume Melquiond
3e8e292db0 Always pass CFLAGS when compiling or linking demos
To ensure that the correct architecture flags are used, always pass the
user's CFLAGS when compiling or linking the demos. Fixes #16860.
2008-07-30 07:56:42 -07:00
Brian Paul
b068ab62a0 updated GLSL bug fixes 2008-07-29 17:50:43 -06:00
Brian Paul
ab945fc38c mesa: glsl: remove old assertion (fixes glsl/bitmap.c) 2008-07-29 17:49:47 -06:00
Brian Paul
1bdb134570 mesa: glsl: remove old assertion (fixes glsl/bitmap.c) 2008-07-29 17:49:38 -06:00
Brian Paul
40f7e5f674 mesa: disable debug code 2008-07-29 17:47:52 -06:00
Brian Paul
43ac397fb8 mesa: disable debug code 2008-07-29 17:47:39 -06:00
Brian Paul
ff916d718a mesa: regenerated files 2008-07-29 17:45:46 -06:00
Brian Paul
016701f686 mesa: Silence compiler warnings on Windows. 2008-07-29 17:43:35 -06:00
Brian Paul
b26a80aa12 mesa: cast to fix warning 2008-07-29 17:37:55 -06:00
Brian Paul
a7dd701421 mesa: fix bug/failure in recursive function inlining
Fixes a failure for cases such as y = f(a, f(a, b))
All the usual tests still pass but regressions are possible...
2008-07-29 17:37:13 -06:00
Brian Paul
6045f17138 mesa: glsl: silence warning (s/int/GLuint) 2008-07-29 17:33:52 -06:00
Brian Paul
a75015ef03 mesa: remove stray debug code 2008-07-29 17:32:35 -06:00
Brian Paul
1638edb325 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-29 17:29:30 -06:00
Brian Paul
6225e51a73 mesa: glsl: re-order some constructors 2008-07-29 17:27:59 -06:00
Brian Paul
d9b6425e00 mesa: glsl: remove unneeded operators 2008-07-29 17:27:54 -06:00
Brian Paul
91e1918f48 mesa: glsl: added null ptr check 2008-07-29 17:27:44 -06:00