Commit graph

8701 commits

Author SHA1 Message Date
Brian Paul
7dd44ca5f6 llvmpipe: fix mem leak in llvmpipe_resource_destroy() 2010-04-28 15:25:50 -06:00
Brian Paul
5f53ecb97f llvmpipe: fix surface memory leak during tear-down 2010-04-28 15:25:50 -06:00
Brian Paul
1550de98e6 llvmpipe: remove unused psize_slot field 2010-04-28 15:25:50 -06:00
Brian Paul
3a749b5c09 llvmpipe: move/rename llvmpipe_init_surface_functions() 2010-04-28 15:25:50 -06:00
Brian Paul
8975ade13b llvmpipe: make rasterizer-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
965a604306 llvmpipe: update comments, fix formatting 2010-04-28 15:25:50 -06:00
Brian Paul
dd2fd8ae03 llvmpipe: remove old prototypes, fix-up formatting 2010-04-28 15:25:50 -06:00
Brian Paul
9523d78dde llvmpipe: make shader-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
2176cad7dc llvmpipe: make clip-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
f7885f8f1f llvmpipe: make draw-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
e351e82869 llvmpipe: make vertex-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
8fd794db9e llvmpipe: make blend-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
bfd81b4ebb llvmpipe: make sampler-related functions static, clean-up initializations 2010-04-28 15:25:50 -06:00
Brian Paul
a7e2470843 llvmpipe: remove some unneeded shader structure fields 2010-04-28 15:25:50 -06:00
Brian Paul
ac6725b8f9 llvmpipe: dump shaders if LP_DEBUG=tgsi 2010-04-28 15:25:50 -06:00
Brian Paul
18d1d59484 draw: use a cast wrapper 2010-04-28 15:25:50 -06:00
Brian Paul
35883f4296 draw: put 'create' in the vs varient create function names 2010-04-28 15:25:50 -06:00
Joakim Sindholt
2c512085ab radeong: fix scons build 2010-04-28 21:09:30 +02:00
Brian Paul
dd3b98bdf6 draw: add missing function parameter 2010-04-28 11:43:54 -06:00
Brian Paul
2479c3f3ee softpipe: consolidate tex image offset code 2010-04-28 11:37:51 -06:00
Brian Paul
b73c9ba919 llvmpipe: remove unused write_depth 2010-04-28 11:26:37 -06:00
Brian Paul
40dcbb87a9 softpipe: use consistant names for local vars 2010-04-28 10:07:23 -06:00
Brian Paul
347f783606 gallium: remove trailing comma 2010-04-28 10:07:23 -06:00
Brian Paul
608cf0c9f7 gallium/util: convert //-style comments 2010-04-28 10:07:23 -06:00
Brian Paul
443fe5e57c gallium/util: convert //-style comments 2010-04-28 10:07:23 -06:00
Vinson Lee
37e98e5cd2 llvmpipe: Remove unnecessary header. 2010-04-28 00:14:39 -07:00
Marek Olšák
20c9675994 r300g: move ZTOP to separate file
Ideally, HiZ should go in r300_hyperz.c next to ZTOP.
2010-04-28 01:05:42 +02:00
José Fonseca
a5e032853a gallium: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
Arcane DX9 opcodes that never were emitted by Mesa and have no DX10
counterpart. Slated for removal for quite some time now.
2010-04-27 21:51:45 +01:00
José Fonseca
84b5f59c97 gallium/docs: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:45 +01:00
José Fonseca
73e1405de0 tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:45 +01:00
José Fonseca
ec4e67999c r300: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
José Fonseca
42c9137042 cell: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
José Fonseca
e5395f3359 svga: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
José Fonseca
b3ba54a01a gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
Brian Paul
ab3e7861ec llvmpipe: remove lp_scene_map_buffers(), lp_scene_unmap_buffers() 2010-04-27 11:50:23 -06:00
Brian Paul
bb527c0af6 llvmpipe: implement max scene size
When the size of the scene (binned data plus referenced resources/textures)
exceeds LP_MAX_SCENE_SIZE flush/render the scene.  This could be improved
in various ways but is a good start.

Fixes piglit streaming-texture-leak test.
2010-04-27 11:44:36 -06:00
Brian Paul
1db3a55b9c llvmpipe: added llvmpipe_resource_size() 2010-04-27 11:32:25 -06:00
Brian Paul
85ab6d2447 llvmpipe: comment-out unused field for now 2010-04-27 11:31:45 -06:00
Brian Paul
d2f0acc2fb llvmipe: update comments 2010-04-27 10:55:51 -06:00
Brian Paul
15c53d1245 util: fix assorted problems in the image packing functions 2010-04-27 08:28:22 -06:00
José Fonseca
992fc62d59 gallivm: Disable llvm.cos.v4f32 and llvm.sin.v4f32 instrinsics on Windows.
Runtime linking doesn't quite work.

Just comment then out for now to prevent crashes. These will go away in
the future because calling 4 times CRT's cosf()/sinf() is over-precise
and under-performing.
2010-04-27 14:27:24 +01:00
José Fonseca
a18c210a95 gallivm: Ensure all allocas are in the first block.
Refactor the code to make this easier.
2010-04-27 13:20:51 +01:00
Jakob Bornecrantz
96df6064b5 i965g: Fix scons build of winsys 2010-04-27 12:17:11 +01:00
Jakob Bornecrantz
8fbd66d75a st/dri: Don't check for null when user ensures non-null 2010-04-27 12:17:11 +01:00
Jakob Bornecrantz
ae79e778f7 st/dri: Use flush function of old context not new 2010-04-27 12:17:11 +01:00
Marek Olšák
b7fa7e8da6 r300g: fix mipmapped texture3D size calculation
I accidentally inverted the condition. :(
Broken since the commit 2579fe4044.
FDO bug #27851.
2010-04-27 12:25:23 +02:00
Marek Olšák
847a24c011 r300g: compensate for non-atomized emit_query_end in the CS
And reserve a little more space just in case.
2010-04-27 12:25:22 +02:00
Vinson Lee
a7b6a06bf1 nvfx: Move src/gallium/drivers to beginning of SCons include path.
libdrm-2.4.20 and earlier include the nouveau/nouveau_class.h header. A
later version of libdrm will not ship this header. Mesa also has this
header at src/gallium/drivers.

The symbol NV34TCL_VTXFMT_TYPE_HALF is needed by nvfx_vbo.c. This symbol
is not in the libdrm copy of the header but is in the Mesa copy of the
header. This patch moves src/gallium/drivers to the beginning of the
include paths such that when building on hosts with libdrm-2.4.20 or
ealier the build uses the copy in Mesa.
2010-04-27 00:46:00 -07:00
Marek Olšák
b1ceadf2ee r300g: reserve CS space for index offset
This has caused CS overflow since the commit
671f1e1229.

TA3D works here again.
2010-04-27 02:45:51 +02:00
Vinson Lee
03b3c10774 llvmpipe: Remove unused variable. 2010-04-26 16:31:05 -07:00