Commit graph

14132 commits

Author SHA1 Message Date
Keith Whitwell
fe8af14124 draw: don't always run pipeline if clipping 2008-04-17 14:42:05 +01:00
Keith Whitwell
280bcff1fa draw: add vertex shader run_linear function 2008-04-17 14:23:13 +01:00
Keith Whitwell
938ec19210 tsgi: make Consts const 2008-04-17 14:23:13 +01:00
Keith Whitwell
49becd2d7c draw: add comment 2008-04-17 14:23:13 +01:00
Keith Whitwell
c96d565643 draw: keep record of number of active vertex buffers 2008-04-17 14:23:13 +01:00
Keith Whitwell
8abfcea690 draw: remove misleading comments 2008-04-17 14:23:13 +01:00
Brian Paul
4b822a1016 gallium: implement RGBA pixel maps in the pixel transfer fragment program 2008-04-16 16:53:44 -06:00
Brian Paul
52544aa23b gallium: added util_pack_color_ub() 2008-04-16 16:53:44 -06:00
Brian Paul
dc5a853c85 gallium: make choose_format() non-static: st_choose_format() 2008-04-16 16:53:43 -06:00
Brian Paul
e38f677e8f gallium: finish-up and fix support for GL_COLOR matrix on pixel xfer path 2008-04-16 16:53:43 -06:00
Brian Paul
302daeb2ec mesa: added internal post color matrix scale/bias vars 2008-04-16 16:53:43 -06:00
José Fonseca
3a765bbe00 gallium: Use debug_get_bool_option for controlling assert failure behaviour.
Add
  GALLIUM_ABORT_ON_ASSERT=no
to C:\gallium.cfg instead.
2008-04-17 00:20:09 +09:00
Keith Whitwell
3be453bf7f draw: allow pt paths to run without a vbuf render stage 2008-04-16 12:55:47 +01:00
Keith Whitwell
d8c3891718 draw: remove vbuf non-vf debug path, fix some failure modes in draw_vbuf_create() 2008-04-16 12:31:19 +01:00
Keith Whitwell
8b607f42d0 softpipe: call setup_prepare earlier so that vertex info is correct when queried 2008-04-16 12:22:20 +01:00
Keith Whitwell
909e8ce543 draw: update debug code 2008-04-16 12:22:20 +01:00
Keith Whitwell
a8582efaca draw: make pt run pipeline when need_pipeline is true, not just when clipped 2008-04-16 12:22:20 +01:00
José Fonseca
fd6acabd2f gallium: Get the translate module to build on msvc.
Appearently MSVC c-preprocessor parses "255.0f" as two tokens:
"255.0" and "f", and performs variable substitution on "f".
2008-04-16 11:42:08 +09:00
José Fonseca
e2269e94c0 gallium: Build and link the translate module. 2008-04-16 11:39:22 +09:00
Keith Whitwell
a5a7dc24ba gallium: Switch one vertex path over to new translate module
Will eventually do this for all instances where we are converting vertices
from one format to another.
2008-04-15 19:14:31 +01:00
Keith Whitwell
08861688d3 gallium: add translate directory 2008-04-15 15:07:50 +01:00
Keith Whitwell
8cac6f3fcf draw: increment output vertex properly 2008-04-15 14:52:56 +01:00
Keith Whitwell
7eb6f130a1 draw: fix first glitch in vertex emit 2008-04-15 14:44:39 +01:00
Keith Whitwell
59f68f36c4 translate: typo in emit_B8G8R8A8_UNORM 2008-04-15 14:40:16 +01:00
Keith Whitwell
c81bbab6f6 gallium: add a generic vertex (or other) buffer translation module 2008-04-15 14:35:29 +01:00
Keith Whitwell
6a26a9c58c draw: fetch_shade_pipeline needs to translate to hw vertex format (from get_vertex_info) 2008-04-15 14:30:06 +01:00
José Fonseca
a68f664124 gallium: Cache one line worth of debug output on windows.
The windbg connection seems synchronous, so this speeds up when printing
little text at a time (e.g., tgsi output).
2008-04-15 18:11:47 +09:00
José Fonseca
3c4f1ba5a2 gallium: Eliminate stdio file usage. Remove unused stuff. 2008-04-15 17:08:10 +09:00
José Fonseca
7619240cc0 gallium: Fix seg fault (James Vogt). 2008-04-15 15:58:14 +09:00
José Fonseca
95aeeb6d74 gallium: Several fixes to buffer caching. 2008-04-15 15:41:08 +09:00
José Fonseca
d005befcb9 gallium: Less confusing interface for timeouts. 2008-04-15 15:40:35 +09:00
José Fonseca
50bbbbe581 gallium: Remove middle of scope declarations. 2008-04-15 14:58:32 +09:00
José Fonseca
0b995b44e5 gallium: Fix mismatching prototypes. 2008-04-15 12:39:22 +09:00
José Fonseca
a175e15f20 gallium: Allow to use a single slab.
We often want to use a pool of equally sized buffers, so this makes the
slab suballocator a drop-in replacement.
2008-04-15 12:39:22 +09:00
Brian
d3878b070b gallium: enable new quad output code, remove old code 2008-04-14 21:01:40 -06:00
Brian
90b9a11a6d gallium: fix semantic indexes for outputs 2008-04-14 20:58:05 -06:00
Brian
e4b3c13d7a gallium: fix multi drawbuffer fb state 2008-04-14 20:57:15 -06:00
Brian
b54225ccd6 gallium: set ctx->Const.MaxDrawBuffers 2008-04-14 20:56:08 -06:00
Brian
fdd794dcfa gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query 2008-04-14 20:55:14 -06:00
José Fonseca
01c7dd2629 gallium: Add draw_pt_fetch_shade_pipeline.c to scons build. 2008-04-15 10:38:05 +09:00
José Fonseca
5b8fa51847 gallium: Don't assume snprintf are always available. 2008-04-15 10:13:52 +09:00
José Fonseca
21ae3d2721 gallium: Serialize buffers writes.
Allow concurrent reads from buffers by the CPU/GPU, but serialize
all writes.
2008-04-15 10:13:52 +09:00
Brian Paul
5807c0242c fix GL_ARB_texture_rectangle breakage 2008-04-14 14:38:11 -06:00
David Flynn
78852986e6 mesa: define #extension GL_ARB_texture_rectangle 2008-04-14 12:56:10 -06:00
Brian Paul
f58ab8e75c gallium: take reduced prim, fill modes into account when culling 2008-04-14 10:57:40 -06:00
Zack Rusin
983b6a73e1 use the new macro 2008-04-14 12:32:25 -04:00
Zack Rusin
2ba6e1fa71 silence some warnings 2008-04-14 12:29:23 -04:00
Zack Rusin
e330919785 pass vertex size to shaders so that callee can decide on the size
of the vertices and not always have to use the maximum vertex
allocation size for them
2008-04-14 12:27:24 -04:00
Keith Whitwell
871d39ec8c softpipe: calculate determinant for all triangles, don't rely on draw module to do it 2008-04-14 16:18:00 +01:00
Keith Whitwell
8cbda9f108 draw: remove dead code 2008-04-14 16:15:39 +01:00