Commit Graph

15762 Commits

Author SHA1 Message Date
Brian Paul
275b09f256 gallium: fix a few bugs on the fallback CopyTex[Sub]Image() path. 2008-08-07 13:32:43 -06:00
Brian Paul
ae2195caf5 gallium: s/printf/debug_printf/ 2008-08-07 13:32:43 -06:00
Brian Paul
b1ff7dac53 gallium: new/better debug code (disabled) 2008-08-07 13:32:43 -06:00
Brian Paul
600aa7501f gallium: implement a bunch of missing put_tile functions 2008-08-07 13:32:43 -06:00
Brian Paul
c8f3191383 gallium: enable the call to r16_put_tile_rgba(), silences warning 2008-08-07 13:32:43 -06:00
Brian Paul
2c2d6c90fe mesa: fix glBindTexture comment/error string 2008-08-07 13:32:43 -06:00
Brian Paul
14ac52e457 mesa: glsl: regenerated files 2008-08-07 13:32:43 -06:00
Brian Paul
a78f295f7c mesa: glsl: finish up support for precision qualifiers 2008-08-07 13:32:43 -06:00
José Fonseca
1ffd6908d4 mesa: pf_sprint_name->pf_name. 2008-08-07 19:25:54 +01:00
José Fonseca
fdafa1f863 gallium: Simplify format->name conversion. 2008-08-07 19:25:28 +01:00
José Fonseca
9dee60969d trace: Dump state. 2008-08-07 18:58:30 +01:00
José Fonseca
f2e19c34e0 trace: Trace pipe context calls. 2008-08-07 18:58:30 +01:00
José Fonseca
c76d86f0ab raw2png: Fix channel order in a8b8g8r8/x8b8g8r8 formats. 2008-08-07 18:58:30 +01:00
José Fonseca
f6e0514736 trace: Add missing XSL and CSS. 2008-08-07 18:58:30 +01:00
José Fonseca
18fb8f1486 xlib: Integrate with the trace pipe driver. 2008-08-07 18:58:30 +01:00
José Fonseca
35355f7610 trace: New pipe driver to trace incoming calls.
Only pipe_screen calls traced, and only linux supported, for now.
2008-08-07 18:58:29 +01:00
José Fonseca
1ee500ac73 pipebuffer: Add an extra assertion to ensure buffers do not jump between lists. 2008-08-07 18:58:29 +01:00
José Fonseca
eb422a7243 raw2png: support some depth formats. 2008-08-07 18:58:29 +01:00
José Fonseca
72a5e47978 gallium: New function to dump surfaces. 2008-08-07 18:58:29 +01:00
Michal Krol
9a20cecc5c mesa: Extend GLSL syntax to accept type precision in full type specifiers. 2008-08-07 16:49:54 +02:00
Michal Krol
c5c7130385 mesa: Silence compiler warnings on Windows. 2008-08-07 16:23:15 +02:00
Michal Krol
d50d7a54de softpipe: Silence compiler warnings on Windows. 2008-08-07 16:22:34 +02:00
Brian Paul
a56ccb90c6 gallium: fix clipping/stride bugs in pipe_get_tile_raw(), pipe_put_tile_raw()
We need to compute the default dst_stride and src_stride _before_ clipping.
After clipping, the width value may have changed.
This fixes visible tile glitches in some demos like progs/glsl/texdemo.c
2008-08-06 19:15:10 -06:00
Brian Paul
be66a8f431 gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEAT
Check for these caps in state tracker and enable corresponding GL extensions
if supported.
2008-08-06 17:22:29 -06:00
Brian Paul
ea0007cc4c softpipe: add texture border color code 2008-08-06 17:14:22 -06:00
Jonathan White
b908ce93d4 egl: define vsnprintf 2008-08-06 16:42:38 -06:00
Jonathan White
bd953fdd54 egl: fixes for Windows 2008-08-06 16:37:49 -06:00
Brian Paul
695fc32503 mesa: glsl: regenerated file 2008-08-06 16:29:50 -06:00
Brian Paul
35b9aedf7f mesa: glsl: report 'Syntax Error' instead of 'Invalid external declaration' 2008-08-06 16:29:40 -06:00
Brian Paul
95d3642122 mesa: glsl: additional error checking 2008-08-06 16:29:10 -06:00
Brian Paul
8a40fe06d7 mesa: glsl: fix a number of glUniform issues
Additional error checking.
Allow setting elements of uniform arrays.  This involves encoding both
a uniform location and a parameter offset in the value returned by
glGetUniformLocation().
Limit glUniform[if]v()'s count to the size of the uniform array.
When setting bool-valued uniforms, convert all float/int values to 0 or 1.
2008-08-06 16:26:47 -06:00
Jonathan White
7e2458c7b5 egl: fix version handling 2008-08-06 13:40:03 -06:00
Brian Paul
7a6eba54d0 mesa: glsl: fix glGetUniform for matrix queries 2008-08-06 13:07:09 -06:00
Brian Paul
18cd9c229a mesa: glsl: fix error check in get_uniformfv() 2008-08-06 12:45:14 -06:00
Brian Paul
5fc6f6a33f mesa: glsl: check for rect tex samplers 2008-08-06 12:21:25 -06:00
Brian Paul
ac553c6ce4 mesa: glsl: disallow initializers for varying vars 2008-08-06 11:58:52 -06:00
Brian Paul
acb81d0268 mesa: glsl: more type checking for attribute/varying/uniform vars/locals 2008-08-06 11:45:42 -06:00
Brian Paul
64a795d8e6 mesa: glsl: check that attribute vars are of float/vec/mat type 2008-08-06 11:22:36 -06:00
Brian Paul
b9be69b85e mesa: glsl: more assignment type checking
Also that const declarations have initializers and that uniforms/samplers
can't have initializers.
2008-08-06 11:15:55 -06:00
Brian Paul
93ed8f9fc9 mesa: glsl: fix SLANG_OPER_VARIABLE_DECL type checking case 2008-08-06 11:15:42 -06:00
Haihao Xiang
8d1627c25a mesa: glsl: count number of temp regs used 2008-08-06 09:05:09 -06:00
Brian Paul
d23b54a423 fix some FBO/texture queries (bug 15296) 2008-08-06 08:42:09 -06:00
Brian Paul
efd730c5d3 mesa: glsl: code consolidation in _slang_gen_declaration() 2008-08-05 20:57:17 -06:00
Brian Paul
a4fad98dfb mesa: glsl: disallow user-defined functions/vars prefixed with gl_ 2008-08-05 20:57:17 -06:00
Brian Paul
6b888a10d3 mesa: glsl: additional type checking for assignments, inequalities 2008-08-05 20:57:17 -06:00
Brian Paul
bf3040d476 mesa: glsl: generate error for main(any args) 2008-08-05 20:57:17 -06:00
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