Commit Graph

16118 Commits

Author SHA1 Message Date
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
Michal Krol 05ecd6d402 softpipe: Silence compiler warning on Windows. 2008-09-09 11:21:57 +02:00
Michal Krol 56e7c5522e softpipe: Protect pipe_condvar_signal/broadcast calls with a mutex. 2008-09-08 23:04:17 +02:00
Michal Krol 68e672a864 softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded softpipe.
We want to make it env variable, or even better, autodetect as the feature makes
softpipe run slower on a single CPU.
2008-09-08 17:25:47 +02:00
Michal Krol b40732622f softpipe: More improvements for multithreaded softpipe.
Store only input and inout of a quad_header in job que.
2008-09-08 17:25:46 +02:00
Michal Krol 01f9e51203 softpipe: Split changing fields of quad_header into input, inout and output parts. 2008-09-08 17:25:46 +02:00
Michal Krol 84cde72b3e softpipe: Improve multithreaded softpipe.
Use condition vars to communicate between threads instead of stalling.
2008-09-08 17:25:46 +02:00
Michal Krol ebe6160d7c softpipe: First attempts at multithreaded softpipe.
Configured for 2 cores.
2008-09-08 17:25:46 +02:00
Michal Krol 5a25628bd2 tgsi: Cleanup code. 2008-09-08 17:25:46 +02:00
José Fonseca d25611ede0 trace: Request a growable file. 2008-09-08 22:57:01 +09:00
José Fonseca a4a739eb58 util: Allow to define the maximum file size.
This avoids splitting the bitmaps in many files.
2008-09-08 22:56:38 +09:00
José Fonseca 1da0a13389 util: Dump surfaces to BMP.
This allows quick inspection of surfaces in mass scale.
2008-09-08 22:21:33 +09:00
José Fonseca 7cfc294c70 scons: Install shared libs in the right subdir. 2008-09-08 21:50:50 +09:00
José Fonseca 2444c0c81a trace: Use util's stream. 2008-09-08 11:09:48 +09:00
José Fonseca 86a15954bf util: Rip-off trace's os-independent stream code. 2008-09-08 11:09:23 +09:00
José Fonseca 52c2dd1f73 scons: Install libGL.so and respective symlinks. 2008-09-08 07:54:15 +09:00
Brian Paul 8af4794afc cell: code clean-up, comments 2008-09-05 10:18:00 -06:00
Brian Paul a267934b23 cell: convert clear color if needed 2008-09-05 10:16:27 -06:00
Brian Paul a1886d5391 softpipe: convert clear color to surface format if needed 2008-09-05 10:11:22 -06:00
Brian Paul 79200c9087 gallium: document that clear color is intentionally always PIPE_FORMAT_A8R8G8B8_UNORM 2008-09-05 10:10:55 -06:00
Brian Paul 2877727c9b gallium: remove debug code from prev commit 2008-09-05 10:10:18 -06:00
Brian Paul 7071e774e4 gallium: new util_unpack_color_ub() function 2008-09-05 10:09:48 -06:00
Michal Krol 78a4589b10 gallium: Add pipe_thread primitives for PIPE_OS_LINUX. 2008-09-05 16:55:51 +02:00
Brian Paul 0f6e76d7f1 mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib() 2008-09-05 08:07:20 -06:00
Michal Krol a0b5ac424b gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config. 2008-09-05 15:10:47 +02:00
Michal Krol ce3cf63251 mesa: _mesa_program_state_string() returns char *, not const char *. 2008-09-05 12:25:50 +02:00
José Fonseca b8a7eef242 tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.
This fixes a stack overflow when dumping shaders.

It ended up being pretty much as the original code Michal had before,
before I went on a cleanup rampage on it and took things that ended up
needing...
2008-09-05 10:31:38 +09:00
José Fonseca 50524c2845 gallium: Pass 512 bytes max to EngDebugPrint. 2008-09-05 10:31:38 +09:00
José Fonseca 53979d0a35 gallium: New pf_has_alpha utility function. 2008-09-05 10:31:38 +09:00