Commit graph

14188 commits

Author SHA1 Message Date
Zack Rusin
201ac414d4 make llvm draw paths compile with the latest changes
switch the method of distribution of builtins (to get rid of the
llvm2cpp dependency)
2008-04-21 00:26:18 -04:00
José Fonseca
40e0439db4 gallium: Centralize SSE usage logic. 2008-04-21 13:02:59 +09:00
José Fonseca
29858e1b55 gallium: Refcount textures.
Pipe driver does refcount textures. If cso_context does not, dangling
pointers appear.
2008-04-20 14:41:29 +09:00
Keith Whitwell
68a7cb21fa draw: rearrange debug code 2008-04-19 20:20:40 +01:00
Keith Whitwell
d0a4bf08b1 translate: fix several bugs
- specify cdecl calling convention on WIN32
- fix load bgra8 function
- fix previous don't crash fix.
2008-04-19 20:18:40 +01:00
Keith Whitwell
bfd179776f draw: add missing translate->set_buffer for fetch emit path 2008-04-19 18:41:53 +01:00
Keith Whitwell
b1158a5e00 translate: don't crash on failure to create sse version 2008-04-19 18:27:30 +01:00
Keith Whitwell
af523a5bd7 rtasm: include yet another i386 define varient 2008-04-19 18:27:29 +01:00
Keith Whitwell
d3cb62b8b3 draw: fix scons build 2008-04-19 18:27:29 +01:00
Keith Whitwell
7d72607e14 draw: move incoming vertex state into draw->pt
This state is effectively private to the vertex processing part
of the draw module.
2008-04-19 17:27:52 +01:00
Keith Whitwell
dcf6f776ce draw: make draw_reset_vertex_ids private to the draw_pipe_* code 2008-04-19 17:16:41 +01:00
Keith Whitwell
2dae208fb1 draw: make room for extra_vs_outputs 2008-04-19 17:16:23 +01:00
Keith Whitwell
e7bac42766 draw: put pipeline flushing behind a new interface 2008-04-19 16:43:15 +01:00
Keith Whitwell
bee1d31641 draw: move pt_pipeline code to draw_pipe.c
This is now the drawing interface to the pipeline.  No more
calling into pipeline.first->tri(), etc.
2008-04-19 16:39:43 +01:00
Keith Whitwell
c898eae272 draw: always emit header in draw_pt_fetch.c 2008-04-19 15:35:22 +01:00
Keith Whitwell
507fbe2d32 draw: move some pipeline-specific code & state to draw_pipe.[ch] 2008-04-19 15:29:27 +01:00
Keith Whitwell
0959f909ba draw: remove dead file pipe_wide_prims.c 2008-04-19 13:30:19 +01:00
Keith Whitwell
1246d06313 draw: remove named clipmask flags, tidy up pt middle ends 2008-04-19 13:20:26 +01:00
Keith Whitwell
882e5d84dc draw: remove dead code 2008-04-19 13:12:42 +01:00
Keith Whitwell
26831bdac5 draw: rename pipeline files to draw_pipe_* 2008-04-19 00:45:05 +01:00
Keith Whitwell
43452886e2 cell: don't need to trim prims 2008-04-19 00:44:09 +01:00
Keith Whitwell
c717f1fbe2 softpipe: don't need to trim prims 2008-04-19 00:43:58 +01:00
Keith Whitwell
1b411f8943 draw: sort makefile sources 2008-04-19 00:39:38 +01:00
Keith Whitwell
6c38c600ff draw: rename draw_vertex_shader.c -> draw_vs.c 2008-04-19 00:37:51 +01:00
Keith Whitwell
6494946db6 draw: remove draw_debug.c 2008-04-19 00:36:35 +01:00
Keith Whitwell
6d9132de04 draw: make draw_pt_fetch_emit use translate facility 2008-04-19 00:31:06 +01:00
Keith Whitwell
251ebcc175 draw: remove more dead data structures 2008-04-19 00:29:25 +01:00
Keith Whitwell
6094e79f4e draw: remove dead data structures 2008-04-19 00:27:12 +01:00
Keith Whitwell
415e8e039b draw: remove draw_vertex_fetch.c 2008-04-18 20:46:06 +01:00
Keith Whitwell
709e33cf0b draw: remove old draw_vertex_shader_queue_flush function 2008-04-18 20:44:13 +01:00
Keith Whitwell
dd903d83b3 draw: remove old vertex_shader->run() functions 2008-04-18 20:41:39 +01:00
Keith Whitwell
6689182642 draw: remove draw_vertex_cache.c 2008-04-18 20:39:13 +01:00
Keith Whitwell
b11d89dc6d draw: remove draw_prim.c 2008-04-18 20:36:38 +01:00
Keith Whitwell
a41c05b20a draw: switch over to draw_pt paths, will remove old code shortly 2008-04-18 20:11:16 +01:00
Keith Whitwell
cb9f0a5896 draw: remove draw_vf code, use translate instead 2008-04-18 20:05:36 +01:00
Keith Whitwell
7b34a43d1a translate: missing file 2008-04-18 18:52:03 +01:00
Brian Paul
39c06c4336 gallium: get rid of unnecessary surface mapping 2008-04-18 11:46:00 -06:00
Brian Paul
e430d885e0 gallium: a few comments 2008-04-18 11:46:00 -06:00
Brian Paul
19218e2195 gallium: implement recip sqrt() with C code for now.
Some conformance lighting tests fail with the SSE rsqrt instruction.
2008-04-18 11:46:00 -06:00
Keith Whitwell
26c27f6636 draw: remove fetch_pipeline middle end -- just use the general path 2008-04-18 18:42:41 +01:00
Keith Whitwell
7400bc4b6f translate: add sse version based on old draw_vf_sse.c 2008-04-18 18:32:37 +01:00
Keith Whitwell
363f7abf20 rtasm: add x86_imul 2008-04-18 18:32:37 +01:00
Keith Whitwell
c5f0158a91 tgsi: add const qualifier to tokens on sse emit 2008-04-18 18:32:37 +01:00
Keith Whitwell
f631bebe1a softpipe: fix const-related compiler warnings 2008-04-18 18:32:37 +01:00
Keith Whitwell
59ba8ea00b gallium: reorder libs so that translate can see rtasm 2008-04-18 18:32:37 +01:00
Keith Whitwell
5b97c762ed rtasm: add a couple more insns, clean up x86_mul 2008-04-18 18:32:36 +01:00
Michel Dänzer
073d9a28c2 gallium: Always pass colour clear value to driver as A8R8G8B8. 2008-04-18 13:38:06 +01:00
José Fonseca
da9079b936 gallium: Add missing files to scons. 2008-04-18 20:59:28 +09:00
Keith Whitwell
a773f06e96 draw: split off all the extra functionality in the vertex shader
This will at least allow us to make the initial gains to get decent
vertex performance much more quickly & with higher confidence of getting
it right.

At some later point can look again at code-generating all the
fetch/cliptest/viewport extras in the same block as the vertex shader.
For now, just need to get some decent baseline performance.
2008-04-18 10:48:54 +01:00
Brian Paul
01b6354e72 gallium: tweak x/ybias values 2008-04-17 15:26:37 -06:00