Commit graph

15946 commits

Author SHA1 Message Date
Brian Paul
ea9568dfbe mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rows 2008-09-16 08:55:54 -06:00
Brian Paul
753635f733 gallium: move _vbo_DestroyContext() call
Call it before freeing core Mesa state to avoid references to freed buffer objects.
2008-09-16 08:51:56 -06:00
Brian Paul
4992806ae5 mesa: protect against double-free in _vbo_DestroyContext() 2008-09-16 08:51:56 -06:00
Jakob Bornecrantz
358aab12c6 mesa: State tracker now checks for faulty shaders on debug 2008-09-16 16:20:19 +02:00
Jakob Bornecrantz
ad16ecbbe4 tgsi: Make tgsi_sanity.c compile with make 2008-09-16 16:20:19 +02:00
José Fonseca
eef2edadf3 trace: Fix typo in build instructions. 2008-09-16 20:24:43 +09:00
Brian Paul
b1f5fbe1cb mesa: fix MSAA enable state in update_multisample() 2008-09-15 17:10:04 -06:00
Brian Paul
987c4b35b8 mesa: remove some assertions that are invalid during context tear-down 2008-09-15 09:18:59 -06:00
Keith Whitwell
cd23c5c599 mesa: get another class of degenerate dlists working
Primitive begin in one dlist, end in another.
2008-09-15 09:18:45 -06:00
Brian Paul
75c19eb5a1 gallium: add another value check to util_fast_pow()
Fixes glitches seen in morph3d demo.
2008-09-13 15:22:52 -06:00
Brian Paul
44e53b37a0 cell: fix twiddled tile display for XSHM. Fixed blank window problem. 2008-09-12 11:37:08 -06:00
Brian Paul
33aa5b6964 cell: disable calls to old gen code 2008-09-12 07:58:06 -06:00
Brian Paul
aa66f08a21 cell: initial support for fragment shader code generation.
TGSI shaders are translated into SPE instructions which are then sent to
the SPEs for execution.  Only a few opcodes work, no swizzling yet, no
support for constants/immediates, etc.
2008-09-11 17:59:52 -06:00
Brian Paul
dbbbc33344 use APP_CC 2008-09-11 17:55:53 -06:00
Brian Paul
084ab37b7f cell: fix tile twidding bug seen in the event of multiple expose events 2008-09-11 17:10:32 -06:00
Brian Paul
bc304bbd49 cell: minor improvements to fragment code-gen 2008-09-11 17:10:32 -06:00
Brian Paul
178bbaff80 gallium: add special cases in spe_load_float(), spe_load_int(), added spe_splat() 2008-09-11 17:10:32 -06:00
Brian Paul
be925ab6e8 cell: put cell_ prefix on gen_fragment_function() 2008-09-11 17:10:32 -06:00
Brian Paul
fbf1586b36 gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/ 2008-09-11 12:01:19 -06:00
Dima Zavin
7d3d5fb7a5 egl_xdri: Add the top-level lib dir so we link against the libGL we built. 2008-09-11 11:43:56 -06:00
Dima Zavin
912488a8d0 egl_dri/egl_xdri: Makefiles should use pkg-config to find libdrm. 2008-09-11 11:43:56 -06:00
Brian Paul
d50d68a1c9 glut: only call glFinish() in processWindowWorkList() for indirect contexts.
Basically, do as the comment says.
2008-09-11 11:05:13 -06:00
Brian Paul
90c93bbeee define new APP_CC configuration variable for building apps/demos/tests
For Cell, need to use different compilers for the libraries vs. the demos/tests
to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0"
2008-09-11 11:00:54 -06:00
Brian Paul
7ce1d0fb67 cell: more comments, stub code for colormask/logicop/etc 2008-09-11 10:52:03 -06:00
Brian Paul
5c459b3925 simple quad drawing test 2008-09-11 10:43:14 -06:00
Brian Paul
1b5331d7eb cell: fix typos in blend code-gen 2008-09-11 10:39:30 -06:00
Brian Paul
73c6ae98c1 cell: remove old state CMDs, added comments 2008-09-11 10:39:30 -06:00
Brian Paul
f6bf8d9d41 cell: clean-up, comments 2008-09-11 10:39:30 -06:00
Brian Paul
a558369ec6 cell: disable NEW_VS emit 2008-09-11 10:39:29 -06:00
Brian Paul
924653e37d cell: don't build unused sources 2008-09-11 10:39:29 -06:00
Brian Paul
f19903aa83 cell: remove old blend/depth/stencil/logicop structs 2008-09-11 10:39:29 -06:00
Brian Paul
aa4a08d429 cell: asst. clean-up 2008-09-11 10:39:29 -06:00
Brian Paul
283ffdf996 cell: checkpoint: remove more of the old per-fragment code 2008-09-11 10:39:29 -06:00
Brian Paul
add86031db cell: begin new blending code (both codegen and fallback paths) 2008-09-11 10:39:29 -06:00
Brian Paul
6092a05704 cell: fix shuffle in spu_unpack_B8G8R8A8() 2008-09-11 10:39:29 -06:00
Brian Paul
5336e758a4 cell: added cast in spu_splats() call 2008-09-11 10:39:28 -06:00
Brian Paul
701fcee65d cell: remove old per-fragment code, replace with all new code 2008-09-11 10:39:28 -06:00
Brian Paul
284ab5a612 cell: checkpoint commit of new per-fragment processing
Do code generation for alpha test, z test, stencil, blend, colormask
and framebuffer/tile read/write as a single code block.
Ian's previous blend/z/stencil test code is still there but mostly disabled
and will be removed soon.
2008-09-11 10:39:28 -06:00
Brian Paul
ee582fd3a7 gallium: assorted additions and fixes to Cell SPE rtasm code
Fix incorrect opcode for fsmbi.
Added "macro" functions for loading floats/ints, register complement, zero, move.
Added #defines for return address and stack pointer registers.
Added assertions to check that the instruction buffer doesn't overflow.
2008-09-11 10:39:28 -06:00
Brian Paul
04ae4fba3c cell: minor change to Z float/int conversion code (avoid switch) 2008-09-11 10:39:28 -06:00
Brian Paul
cd9722dcdd cell: comments 2008-09-11 10:39:28 -06:00
Brian Paul
0e79e474de cell: comments, etc. 2008-09-11 10:39:28 -06:00
Brian Paul
bb5becf1e2 gallium: comments, assertions, etc 2008-09-11 10:39:28 -06:00
Brian Paul
83054d9297 press 'c' to toggle Z clear value between 0/1 2008-09-11 10:39:27 -06:00
Brian Paul
8df4c3a21f press 'f' to cycle through depth test funcs 2008-09-11 10:39:27 -06:00
José Fonseca
eb5b16d278 tgsi: Fix newline pos. 2008-09-10 10:33:03 +09:00
José Fonseca
dc1834a873 tgsi: Verify constants are set before attempting to read them. 2008-09-10 10:32:52 +09:00
José Fonseca
d671cf460f softpipe: Code (commented out) to dump BMPs. 2008-09-09 22:19:31 +09:00
José Fonseca
bfe45670ae util: Ensure we always have a full qualified file name on windows display. 2008-09-09 22:19:31 +09:00
Michal Krol
67c213499a util: Enable u_stream_std.c for PIPE_SUBSYSTEM_WINDOWS_USER. 2008-09-09 11:25:05 +02:00