Thomas Hellstrom
f82d984352
mesa: Make sure we have the talloc cflags when using the talloc headers
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19 14:18:20 +02:00
Thomas Hellstrom
9e96b695b0
st/xorg: Fix compilation for Xservers >= 1.10
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19 12:08:06 +02:00
Thomas Hellstrom
543136d5bd
xorg/vmwgfx: Don't use deprecated x*alloc / xfree functions
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19 11:28:24 +02:00
Thomas Hellstrom
2ab7a8a3eb
st/xorg: Don't use deprecated x*alloc / xfree functions
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19 11:28:18 +02:00
Thomas Hellstrom
0301c9ac62
st/xorg: Fix compilation errors for Xservers compiled without Composite
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19 11:28:08 +02:00
Thomas Hellstrom
0d0a6e9096
st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environments
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19 11:27:54 +02:00
Vinson Lee
f36a642030
r300/compiler: Remove unused variable.
2010-10-19 00:07:22 -07:00
Tom Stellard
f822cc22f2
r300g: Add new debug option for logging vertex/fragment program stats
2010-10-18 20:51:05 -07:00
Tom Stellard
9d2ab6cb00
r300/compiler: Add a new function for more efficient dataflow analysis
...
rc_get_readers_normal() supplies a list of readers for a given
instruction. This function is now being used by the copy propagate
optimization and will eventually be used by most other optimization
passes as well.
2010-10-18 20:51:05 -07:00
Tom Stellard
3cdff41d92
r300/compiler: Clear empty registers after constant folding
2010-10-18 20:51:05 -07:00
Tom Stellard
75734d0a37
r300/compiler: Fix incorrect assumption
...
It is possible for a single pair instruction arg to select from both an
RGB and an Alpha source.
2010-10-18 20:51:05 -07:00
Tom Stellard
ad683577b2
r300/compiler: Create a helper function for merging presubtract sources
2010-10-18 20:51:05 -07:00
Kenneth Graunke
80c9f756b2
i965: Remove unused variable.
2010-10-18 18:44:19 -07:00
Kenneth Graunke
9c80fa824c
glsl: Regenerate parser files.
2010-10-18 17:40:09 -07:00
Kenneth Graunke
0eb0b44647
glsl: Fix copy and paste error in ast_bit_and node creation.
...
All & operations were incorrectly being generated as ast_bit_or.
2010-10-18 17:40:09 -07:00
Eric Anholt
4af2937416
i965: Avoid blits in BufferCopySubdata on gen6.
...
Fixes glean/bufferObject.
2010-10-18 14:14:06 -07:00
Eric Anholt
641028debf
i965: Fix scissor-offscreen on gen6 like we did pre-gen6.
2010-10-18 13:11:29 -07:00
Eric Anholt
022531209d
i965: Assert out on gen6 VS constant buffer reads that hang the GPU for now.
2010-10-18 12:56:44 -07:00
Eric Anholt
66800a04e5
i965: Fix assertion failure on gen6 BufferSubData to busy BO.
...
Fixes fbo-blit and probably several other tests.
2010-10-18 12:56:44 -07:00
Eric Anholt
746e68c50b
i965: Fix a weirdness in NOT handling.
...
XOR makes much more sense. Note that the previous code would have
failed for not(not(x)), but that gets optimized out.
2010-10-18 12:56:44 -07:00
Eric Anholt
ea213417f1
i965: Disable the debug printf I added for FS disasm.
2010-10-18 12:56:44 -07:00
Kenneth Graunke
65d4234c23
i965: Add missing "break" statement.
...
Otherwise, it would try to handle arrays as structures, use
uninitialized memory, and crash.
2010-10-18 12:21:20 -07:00
José Fonseca
f37b114dc3
llvmpipe: Don't test rounding of x.5 numbers.
...
SSE4.1 has different rules, and so far this doesn't seem to cause any
problems with conformance test suites.
2010-10-18 09:35:21 -07:00
José Fonseca
ac17c62ece
gallivm: Add a note about SSE4.1's nearest mode rounding.
2010-10-18 09:32:35 -07:00
Brian Rogers
746b602fbd
mesa: Add missing else in do_row_3D
...
This fixes erroneous "bad format in do_row()" messages
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-10-18 08:11:04 -06:00
Brian Paul
01e0aaefcc
llvmpipe: remove lp_setup_coef*.c files from Makefile
2010-10-18 07:59:02 -06:00
Victor Tseng
e19187e1be
egl/i965: include inline_wrapper_sw_helper.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-10-18 07:55:52 -06:00
Kenneth Graunke
b8276e46f5
glsl: Don't return NULL IR for erroneous bit-shift operators.
...
Existing code relies on IR being generated (possibly with error type)
rather than returning NULL. So, don't break - go ahead and generate the
operation. As long as an error is flagged, things will work out.
Fixes fd.o bug #30914 .
2010-10-18 00:26:14 -07:00
Dave Airlie
8a74f7422b
r600g: retrieve tiling info from kernel for shared buffers.
...
we need to know if the back is tiled so we can blit from it properly.
2010-10-18 13:46:42 +10:00
Dave Airlie
375613afe3
r600g: fix transfer function for tiling.
...
this makes readback with tiled back work better.
2010-10-18 13:46:42 +10:00
Dave Airlie
c61b97d504
r600g: attempt to cleanup depth blit
...
cleanup what I'm nearly sure is unnecessary work in the depth blit code.
2010-10-18 13:46:25 +10:00
Dave Airlie
21c6459dfb
r600g: depth needs to bound to ds
2010-10-18 13:39:55 +10:00
Dave Airlie
69f8eebe72
r600g: fix typo in tiling setup cb code.
2010-10-18 13:39:55 +10:00
Dave Airlie
a1b7333c07
r600g: do proper tracking of views/samplers.
...
we need to do pretty much what r300g does in for this, this fixes some
issues seen while working on tiling.
2010-10-18 13:39:54 +10:00
Keith Whitwell
9da17fed2e
llvmpipe: remove unused arg from jit_setup_tri function
2010-10-17 19:23:40 -07:00
Keith Whitwell
75799b8d02
llvmpipe: remove unused file
2010-10-17 19:11:47 -07:00
Keith Whitwell
0072acd447
Merge remote branch 'origin/master' into lp-setup-llvm
...
Conflicts:
src/gallium/drivers/llvmpipe/lp_setup_coef.c
src/gallium/drivers/llvmpipe/lp_setup_coef.h
src/gallium/drivers/llvmpipe/lp_setup_coef_intrin.c
src/gallium/drivers/llvmpipe/lp_setup_point.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_fs.h
2010-10-17 19:09:42 -07:00
Keith Whitwell
ca2b2ac131
llvmpipe: fail cleanly on malloc failure in lp_setup_alloc_triangle
2010-10-17 18:48:11 -07:00
Keith Whitwell
543fb77dde
llvmpipe: remove setup fallback path
2010-10-17 18:29:28 -07:00
José Fonseca
4dfb43c6a6
gallivm: Comment lp_build_insert_new_block().
2010-10-17 18:23:18 -07:00
Keith Whitwell
b5236f3da4
llvmpipe: clean up fields in draw_llvm_variant_key
2010-10-17 17:53:29 -07:00
Dave Airlie
5b966f58e3
r600g: set tiling bits in hw state
2010-10-18 09:25:22 +10:00
Dave Airlie
7b3fa03883
r600g: get tiling info from kernel
2010-10-18 09:25:22 +10:00
Dave Airlie
e8e20313af
r600g: add defines for tiling
2010-10-18 09:25:22 +10:00
Dave Airlie
82114ac02a
r600g: switch to a common formats.h file since they are in different regs
2010-10-18 09:13:46 +10:00
Vinson Lee
c9d297162a
llvmpipe: Return non-zero exit code for lp_test_round failures.
2010-10-17 14:09:53 -07:00
Hui Qi Tay
c1d6b31866
draw: corrections for w coordinate
2010-10-17 10:57:43 -07:00
José Fonseca
4afad7d3ed
llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and broken code.
2010-10-17 10:15:15 -07:00
José Fonseca
a0add0446c
llvmpipe: Fix bad refactoring.
...
'i' and 'chan' have random values here, which could cause a buffer
overflow in debug builds, if chan > 4.
2010-10-17 09:58:04 -07:00
José Fonseca
dc5bdbe0f9
gallivm: Fix SoA cubemap derivative computation.
...
Derivatives are now scalar.
Broken since 17dbd41cf2
.
2010-10-17 09:43:18 -07:00