Brian Paul
30c122a4c9
llvmpipe: new comment in do_triangle_ccw()
2009-12-03 17:27:10 -07:00
Brian Paul
4e058f6c48
llvmpipe: fix incorrect array indexing when saving blend color
2009-12-03 17:00:22 -07:00
Roland Scheidegger
9dfbd1be44
vega: fix missing include
2009-12-04 00:42:53 +01:00
Roland Scheidegger
9c6a9363ef
Merge branch 'gallium-noblocks'
...
Conflicts:
src/gallium/state_trackers/xorg/xorg_exa.c
2009-12-04 00:35:14 +01:00
Brian Paul
a9be9cd8be
llvmpipe: comments, clean-ups in lp_rast_priv.h
2009-12-03 16:23:52 -07:00
Brian Paul
e2f4634456
llvmpipe: checkpoint some initial state binning code
2009-12-03 16:05:12 -07:00
Roland Scheidegger
4153ec547c
gallium: fix remaining users of pipe_reference function
2009-12-03 23:58:30 +01:00
Roland Scheidegger
86c8f70db1
mesa: use _mesa_memcpy for COPY_4FV macro
...
Gets rid of one of the worst strict-aliasing offenders, and actually
produces faster code (at least in some cases, when compiler can use
for instance 64bit moves for memcpy).
(note _mesa_memcpy should get inlined)
2009-12-03 23:26:13 +01:00
José Fonseca
13c647fa0d
gallium: fix ref counting bug in pb_bufmgr
...
This was discovered by the pipe_reference api change.
2009-12-03 23:20:56 +01:00
Roland Scheidegger
35a15f0263
gallium: fix reference counting functions to be strict-aliasing compliant
...
Historically, parts of mesa code are not strict-aliasing safe, hence
-fno-strict-aliasing is needed to compile (this got forgotten for scons
builds for gallium, which indeed not only caused compiler warnings but also
unexplicable crashes in non-debug builds). However, we should try to eliminate
code not complying with strict-aliasing code at least for gallium.
Hence change pipe_reference functions to make them strict-aliasing compliant.
This adds a bit more complexity (especially for derived classes) but is the
right thing to do, and it does in fact fix a segfault.
2009-12-03 23:15:38 +01:00
Brian Paul
ffd0759973
llvmpipe: comments and a stub for lp_rast_set_state()
2009-12-03 14:57:44 -07:00
Brian Paul
29207a2ae6
llvmpipe: comments
2009-12-03 14:57:13 -07:00
Brian Paul
0e042bed49
llvmpipe: set LP_SETUP_NEW_FS in lp_setup_set_fs()
...
Fixes progs/trivial/tri-blend.c, but I think we're just getting
lucky in this case.
2009-12-03 14:56:38 -07:00
Brian Paul
3094fc2009
llvmpipe: more debug info
2009-12-03 14:25:08 -07:00
Brian Paul
51410a254c
llvmpipe: fix blend debug strings
2009-12-03 14:13:22 -07:00
Maciej Cencora
6c41bb25a2
radeon: workaround an FBO issue
...
Fixes #21501
2009-12-03 20:23:22 +01:00
Maciej Cencora
8cde43eb19
radeon: properly check if image should be placed in the miptree
...
Fixes #25355
2009-12-03 20:23:22 +01:00
Brian Paul
51663f0506
llvmpipe: quick & dirty implementation of lp_rast_store_zstencil()
...
This allows us to do a glReadPixels(GL_DEPTH_COMPONENT) to see what's
in the depth buffer to help debugging.
2009-12-03 11:41:48 -07:00
Brian Paul
69fe4281ea
llvmpipe: additional comment about float->uint conversion
2009-12-03 11:40:49 -07:00
Brian Paul
e01fa1eaec
llvmpipe: comments
2009-12-03 11:39:40 -07:00
Alex Deucher
2b5618fc5b
r200: fix polygon stipple
...
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-03 11:20:40 -05:00
Michal Krol
72befaaae5
Remove pf_swizzle_* internal macros.
2009-12-03 12:25:49 +01:00
Michal Krol
018f33a328
gallium: Remove pf_mixed_*().
2009-12-03 12:05:21 +01:00
Michal Krol
9861ad46ab
gallium: Remove pf_rev().
2009-12-03 12:03:57 +01:00
Michal Krol
f5bd93fae2
Move pf_get_component_bits() to u_format auxiliary module.
2009-12-03 11:58:36 +01:00
Michal Krol
cceeab39ea
Move pf_get_bits/size() to u_format auxiliary module.
2009-12-03 11:17:37 +01:00
Michal Krol
6df42d8023
Move pf_get_block() to u_format auxiliary module.
2009-12-03 10:52:47 +01:00
Michal Krol
0bed834be4
Move pf_is_depth_and_stencil() to u_format auxiliary module.
2009-12-03 10:20:49 +01:00
Michal Krol
d28740c298
Move pf_is_depth_stencil() to u_format auxiliary module.
2009-12-03 10:12:47 +01:00
Michal Krol
3400b668e3
Move pf_is_compressed() to u_format auxiliary module.
2009-12-03 09:56:03 +01:00
Michal Krol
3ffe25c917
gallium: Remove unused format functions.
2009-12-03 09:48:18 +01:00
Michal Krol
cdb6849fc1
tgsi/ureg: Fix ureg_emit_src().
2009-12-03 09:13:52 +01:00
Brian Paul
866e6856d3
llvmpipe: execute shaders on 4x4 blocks instead of 8x2
...
This matches the convention used by the recursive rasterizer.
Also fixed assorted typos, comments, etc.
Now tri-z.c, gears.c, etc look basically right but there's still some
cracks in triangle rasterization.
2009-12-02 15:13:47 -07:00
Brian Paul
5750a6426b
llvmpipe: whitespace for readability
2009-12-02 14:55:48 -07:00
Corbin Simpson
ab7e70fabd
radeong: Clean up some bad code.
2009-12-02 12:58:15 -08:00
Corbin Simpson
f79028bbd4
radeong: Add helper to determine pipe driver.
2009-12-02 12:58:15 -08:00
Corbin Simpson
4395d35c8a
radeong: Do ioctls before selecting pipe driver.
2009-12-02 12:58:15 -08:00
Corbin Simpson
4f77b0103d
r300g, radeong: De-specialize r300_winsys into radeon_winsys.
...
There's like five good reasons for this, I swear.
2009-12-02 12:58:15 -08:00
Corbin Simpson
dad193d516
radeong: Change ioctl order, document it.
2009-12-02 12:58:14 -08:00
Corbin Simpson
08383af4c7
r300g: No vertex textures here.
2009-12-02 12:58:14 -08:00
Brian Paul
debc0b6fa8
cso: check if pipe_context::bind_vertex_sampler_states is non-null
...
Fixes segfaults upon exit when the CSO module is releasing its objects.
2009-12-02 12:24:27 -07:00
Brian Paul
d5e5909f17
Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures function"
...
This reverts commit 792888121b .
We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
2009-12-02 12:20:15 -07:00
Brian Paul
f42192e783
llvmpipe: return 0 for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query
...
The driver (and draw module) don't support vertex shader textures yet.
2009-12-02 12:19:33 -07:00
Brian Paul
792888121b
llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures function
...
Fixes immediate segfault.
2009-12-02 10:11:05 -07:00
Brian Paul
908a3e56cc
cell: added tex_usage param to xm_surface_buffer_create()
2009-12-02 09:31:26 -07:00
Brian Paul
429bf75417
cell: fix TGSI breakage
2009-12-02 09:23:37 -07:00
Brian Paul
144afacc6f
gallium/util: __builtin_bswap32() is in only gcc 4.3 or later
2009-12-02 09:23:15 -07:00
Brian Paul
f6d5e58427
gallium/util: added PIPE_CC_GCC_VERSION symbol
2009-12-02 09:22:42 -07:00
Roland Scheidegger
94b5c28a98
gallium: adapt nv drivers to interface cleanups
2009-12-02 16:55:33 +01:00
Jakob Bornecrantz
cc8a537c57
Merge branch 'mesa_7_7_branch'
2009-12-02 14:56:56 +01:00