Commit Graph

33959 Commits

Author SHA1 Message Date
Brian Paul 60a6bfefd1 gallivm: add some assertions in special-case sampler code 2010-04-29 09:39:17 -06:00
Eric Anholt 7d8f0fc282 i965: Fix cube map layouts on Ironlake.
We were doubling up the offsets for the mipmap levels for CPU access.
Instead of reimplementing i945_miptree_layout_2d with 6 cube images
separated by qpitch, share that function and provide the level offsets
later.

Fixes piglit cubemap and fbo-cubemap.
2010-04-29 08:34:15 -07:00
Eric Anholt d05c35914d i965: Implement VS MAX in a more obvious way.
This should be functionally equivalent, with the possible exception of
NaN handling.
2010-04-29 08:34:14 -07:00
Eric Anholt 084d8fdd36 i965: Use immediate float operands for some VS instructions.
We could use this to reduce constant register pressure, but for now it
makes the resulting program assembly much more readable.
2010-04-29 08:34:14 -07:00
Brian Paul ba6d8448e1 llvmpipe: fix texture/display target memory leak 2010-04-29 09:10:05 -06:00
Michel Dänzer 7327a84b18 gallium/draw: Fix PPC compiler warning. 2010-04-29 10:05:49 +02:00
Michel Dänzer 63d1134c86 gallium/draw: Fix PPC build failure. 2010-04-29 10:05:48 +02:00
Marek Olšák 9be226c8b5 r300g: fix compiler error
Ouch.
2010-04-29 07:32:56 +02:00
Marek Olšák 18a5da7a65 r300g: use the enum for color swizzles in the rasterizer 2010-04-29 07:18:37 +02:00
Marek Olšák 04c1536bf7 r300g: rasterizer debug logging 2010-04-29 06:57:08 +02:00
Marek Olšák 9dd06b8da4 r300g: fix tests/yuvrect and possibly even rendering to YUV textures 2010-04-29 05:26:41 +02:00
Marek Olšák 2ba0c64c26 r300g: enable the RGBA16F renderbuffer too 2010-04-29 05:07:23 +02:00
Marek Olšák 195160f8e9 r300g: enable float textures
We still need to wait for state tracker support.
2010-04-29 05:00:17 +02:00
Marek Olšák 3b667700a5 r300g: compose swizzles from texture formats and sampler views 2010-04-29 04:39:19 +02:00
Marek Olšák 95bfc8f325 r300g: init s3tc fetching functions 2010-04-29 03:18:42 +02:00
Jakob Bornecrantz 35d960cc74 svga: More don't recurse 2010-04-19 21:42:49 +01:00
Jakob Bornecrantz aa857509bd svga: Translate svga reloc flags to pb flags 2010-04-19 21:42:49 +01:00
Jakob Bornecrantz 2a5667a008 svga: Don't recurse 2010-04-19 21:42:49 +01:00
Brian Paul 0e4f0e8725 draw: remove extra semicolons 2010-04-28 15:27:08 -06:00
Brian Paul aac6d84056 llvmpipe: free vertex buffer memory in lp_setup_vbuf_destroy() 2010-04-28 15:25:50 -06:00
Brian Paul bdf753a858 llvmpipe: fix scene queue memory leak 2010-04-28 15:25:50 -06:00
Brian Paul 0728db86bc llvmpipe: fix scene queue memory leak 2010-04-28 15:25:50 -06:00
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 ce0844b44c st/mesa: move/improve Mesa GPU program debugging
Print the program (plus its parameters) before calling
st_translate_mesa_program() in case we die in that function.
2010-04-28 10:24:58 -06:00
Brian Paul e0383d7bb6 st/mesa: add missing debug entry for DEBUG_CONSTANTS 2010-04-28 10:23:47 -06:00
Brian Paul c7f5c9a3dc Merge branch '7.8'
Conflicts:

	src/mesa/state_tracker/st_gen_mipmap.c
2010-04-28 10:10:51 -06:00
Brian Paul 40dcbb87a9 softpipe: use consistant names for local vars 2010-04-28 10:07:23 -06:00
Brian Paul 331c01ea4d progs/demos: added code to test compressed mipmap generation (disabled) 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