Commit graph

15748 commits

Author SHA1 Message Date
Brian Paul
e55093bf2f mesa: glsl: add check for exceeding max number of constants/uniforms 2008-08-20 14:39:10 -06:00
Brian Paul
29bee15b1e mesa: glsl: regenerated file 2008-08-20 11:07:25 -06:00
Brian Paul
ef33697c7e mesa: glsl: better implementation of ftransform() 2008-08-20 11:06:53 -06:00
Brian Paul
0fae764898 gallium: test for and cull prims with inf/nan vertices in sp_setup.c code. 2008-08-20 10:32:26 -06:00
Brian Paul
f6abdb2043 gallium: fix typo in LINE() macro (replace i+1 with i1 var)
We were sometimes referencing an invalid vertex.
Fixes progs/trivial/line-clip.c test among others.
2008-08-20 10:32:26 -06:00
José Fonseca
34cffce334 python/retrace: Retrace draw_elements and draw_range_elements. 2008-08-20 16:57:51 +01:00
José Fonseca
1d881b8e84 python: bindings for draw_range_elements. 2008-08-20 16:57:51 +01:00
Brian Paul
815cdcfbc0 mesa: allow for extra per-context init 2008-08-19 18:14:15 -06:00
Brian Paul
7f9959ae83 gallium: fix do_flip bug in sp_surface_copy()
Surfaces are always in y=0=top raster order so the caller should invert
the Y coordinate if needed; don't do it in sp_surface_copy().

Fixes a glCopyTexture regression.
2008-08-19 17:41:34 -06:00
Brian Paul
63c0970dca gallium: fix an assertion 2008-08-19 17:04:48 -06:00
Brian Paul
84a496746e gallium: implement a fast-path for glReadPixels for common cases 2008-08-19 14:35:32 -06:00
Brian Paul
e90c0c976d gallium: do a proper implementation of GL_OES_read_format
Examine the currently bound color buffer's format to see if there's a good
format/type match.
2008-08-19 14:35:31 -06:00
José Fonseca
9e3aaa5048 gallium: WinCE build fixes. 2008-08-19 21:35:06 +01:00
José Fonseca
d7f8b95e09 python/retrace: Add several missing functions. 2008-08-19 21:35:06 +01:00
José Fonseca
d27ffb8c6d trace: Fix pipe_clip_state dump. 2008-08-19 21:35:06 +01:00
José Fonseca
9adfc57a4c python: Handle null state. 2008-08-19 21:35:06 +01:00
José Fonseca
5f1ef11ad2 python/retrace: Trim null chars.
They are often left in memory mapped files, and are not part of the XML
accept chars anyway.
2008-08-19 21:35:06 +01:00
José Fonseca
200d6dcc83 trace: Support C++. 2008-08-19 21:35:06 +01:00
Brian Paul
ff01a12b23 mesa: glsl: more writemask error checking 2008-08-19 12:04:35 -06:00
Brian Paul
bec1519a32 mesa: glsl: added some post incr/decr error checks 2008-08-19 11:31:10 -06:00
Brian Paul
c4cf2513e6 mesa: glsl: limit function matching through casting 2008-08-19 11:23:25 -06:00
Brian Paul
3e1706f720 mesa: glsl: add usage tracking for uniform vars
Unused uniforms are no longer included in the active uniforms list.
2008-08-19 10:27:06 -06:00
Brian Paul
df9bd01ea0 mesa: glsl: put var emit/ref code into separate functions 2008-08-19 10:05:11 -06:00
Michal Krol
146a0fba00 gallium: Add note about vs_2_0 EXPP mapping. 2008-08-19 15:32:09 +02:00
Michal Krol
47e14cc093 Add NV_vertex_program specific tests. 2008-08-19 14:44:41 +02:00
Michal Krol
2858ec66c2 Add support for NVIDIA programs. 2008-08-19 14:43:19 +02:00
Michal Krol
4405e428e4 tgsi: Implement LOG opcode for SSE2 codegen. 2008-08-19 12:08:14 +02:00
Michal Krol
0d9d2045e8 tgsi: Implement EXP opcode for SSE2. 2008-08-19 11:47:30 +02:00
José Fonseca
7f2d349b2d mesa: Call pipe->destroy on context destruction for all platforms. 2008-08-19 02:24:13 +01:00
José Fonseca
f9e14e0dac xlib: Revert destroying pipe_screen (temporary). 2008-08-19 00:18:55 +01:00
Michal Krol
de3083be71 tgsi: Fix ARL opcode in SSE2 codegen. 2008-08-19 00:44:18 +02:00
Michal Krol
5d0a079fd0 st: Do not translate program constants to immediates when
indirect addressing used.
2008-08-19 00:44:16 +02:00
Michal Krol
3eeaa943e2 st: Translate address register declaration. 2008-08-19 00:44:15 +02:00
Michal Krol
81dbc31f8b st: Fix immediate construction. 2008-08-19 00:44:13 +02:00
Michal Krol
2b512c0135 tgsi: Workaround debug output buffer size limitations. 2008-08-19 00:44:11 +02:00
Michal Krol
5b16730df8 Port vp to Windows. 2008-08-19 00:44:09 +02:00
Michal Krol
93305bd680 tgsi: Use NUM_CHANNELS. 2008-08-19 00:44:08 +02:00
Brian Paul
c71161f1b1 gallium: use PIPE_TEXTURE_USAGE_RENDER_TARGET for stencil renderbuffers 2008-08-18 16:30:10 -06:00
Brian Paul
a88de345cd egl: don't put the example/demo driver in the lib/ dir 2008-08-18 16:12:39 -06:00
Brian Paul
e3f3e22cf7 gallium: fix vertex program output translation/mapping bug
In some cases, the vertex program output's semantic info didn't match up
with the fragment program's input semantic info.  This info is now explicitly
passed into the st_translate_fragment_program() function.
2008-08-18 16:10:01 -06:00
José Fonseca
90a1c6e403 trace: Explain how to integrate with a state tracker or winsys. 2008-08-18 20:47:41 +01:00
José Fonseca
747762f379 trace: Preliminary stream implementation for GDI. 2008-08-18 20:47:41 +01:00
José Fonseca
d042f415fc trace: Use long longs to ensure covering 64bits integers. 2008-08-18 20:47:41 +01:00
José Fonseca
6a31bb6ad8 trace: Get the trace file from the GALLIUM_TRACE option itself. 2008-08-18 20:47:40 +01:00
Brian Paul
145a45e9d6 gallium: fix do_flip bug on glCopyTexImage / surface_copy() path 2008-08-18 13:18:01 -06:00
Michal Krol
235981d871 gallium: Remove TGSI_CC_UN. 2008-08-18 17:49:01 +02:00
Michal Krol
e9ec60097c tgsi: Update condition code vector when storing dest register. 2008-08-18 17:20:14 +02:00
Michal Krol
56c30bf17b tgsi: Saturate modifier obeys ExecMask.
Implement NVIDIA [-1;+1] saturate mode.
2008-08-18 17:20:12 +02:00
Michal Krol
6aacca106b tgsi: Respect condition codes when storing destination register. 2008-08-18 17:20:10 +02:00
Michal Krol
880b751e8e tgsi: Cosmetic changes. 2008-08-18 17:20:08 +02:00