Jakob Bornecrantz
cd502e5f5c
swrastg: Use trace
2010-05-01 11:31:59 +01:00
Christoph Bumiller
f5a4d70189
nv50: raise constant buffers size to maximum
...
Removed the param heaps, haven't been using them for a long
time now.
2010-04-30 22:57:23 +02:00
Christoph Bumiller
75ee309ca9
nv50: relax restriction on surface_copy format equality a bit
2010-04-30 22:50:42 +02:00
Christoph Bumiller
6df1e5c4aa
nv50: don't segfault on OPCODE_END for empty programs
2010-04-30 22:50:31 +02:00
Brian Paul
d225221e70
llvmpipe: fix out-of-bounds texture sampling
...
If we're using a wrap mode in which border color sampling is possible
it means that texcoords may be outside of the texture image bounds.
Fetching the texel may result in a segfault.
Use the 'use_border' variable to catch such texcoords and replace
the texel offset with zero (which will be in bounds).
Fixes segfault in Lightsmark demo, fd.o bug 27877.
2010-04-30 13:59:07 -06:00
Brian Paul
3a757b722d
llvmpipe: added lp_build_sample_nop() for debugging
2010-04-30 13:59:07 -06:00
Jakob Bornecrantz
58590a112a
svga: Fix index offset
2010-04-21 01:14:03 +01:00
José Fonseca
e9bf09a98a
draw: Fix memory leaks in llvm code.
2010-04-30 19:32:20 +01:00
Jakob Bornecrantz
ed94c26ce8
svga: Init surface functions
2010-04-20 23:16:20 +01:00
Jakob Bornecrantz
f86def5e74
util: Add missing break statement in u_caps.c
...
Thanks Vinson.
2010-04-30 14:46:18 +01:00
Jakob Bornecrantz
f7cf8b4658
util: Update caps after helpfull input
...
In no particular order:
* Make list const
* Add function comments
* Clearly state that demo lists are not complete
* Fix whitespace
* Use __FUNCTION__ instead of __func__
* Add unimplemented check which always fail
Thanks Brian and Keith.
2010-04-29 17:59:47 +01:00
Jakob Bornecrantz
110a956a64
util: Add small caps checker helper
2010-04-29 17:00:21 +01:00
Jakob Bornecrantz
3865e3abd4
util: Format error format string as the rest of the pipe formats
2010-04-29 17:00:21 +01:00
Jakob Bornecrantz
c4e89d130f
softpipe & llvmpipe: Enable SM3 cap
2010-04-29 17:00:21 +01:00
Zack Rusin
b7618c89b1
draw llvm: stay in bounds even if fetch_count % 4 != 0
...
if fetch_count % 4 != 0 then on the last iteration we fetch garbage.
this patch makes sure we stay within bounds
2010-04-29 11:53:32 -04:00
Brian Paul
4ccee74725
cso: remove commented-out code, update function docs
2010-04-29 09:39:17 -06:00
Brian Paul
60a6bfefd1
gallivm: add some assertions in special-case sampler code
2010-04-29 09:39:17 -06: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