Tom Stellard
f822cc22f2
r300g: Add new debug option for logging vertex/fragment program stats
před 15 roky
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.
před 15 roky
Tom Stellard
3cdff41d92
r300/compiler: Clear empty registers after constant folding
před 15 roky
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.
před 15 roky
Tom Stellard
ad683577b2
r300/compiler: Create a helper function for merging presubtract sources
před 15 roky
Kenneth Graunke
80c9f756b2
i965: Remove unused variable.
před 15 roky
Kenneth Graunke
9c80fa824c
glsl: Regenerate parser files.
před 15 roky
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.
před 15 roky
Eric Anholt
4af2937416
i965: Avoid blits in BufferCopySubdata on gen6.
Fixes glean/bufferObject.
před 15 roky
Eric Anholt
641028debf
i965: Fix scissor-offscreen on gen6 like we did pre-gen6.
před 15 roky
Eric Anholt
022531209d
i965: Assert out on gen6 VS constant buffer reads that hang the GPU for now.
před 15 roky
Eric Anholt
66800a04e5
i965: Fix assertion failure on gen6 BufferSubData to busy BO.
Fixes fbo-blit and probably several other tests.
před 15 roky
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.
před 15 roky
Eric Anholt
ea213417f1
i965: Disable the debug printf I added for FS disasm.
před 15 roky
Kenneth Graunke
65d4234c23
i965: Add missing "break" statement.
Otherwise, it would try to handle arrays as structures, use
uninitialized memory, and crash.
před 15 roky
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.
před 15 roky
José Fonseca
ac17c62ece
gallivm: Add a note about SSE4.1's nearest mode rounding.
před 15 roky
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>
před 15 roky
Brian Paul
01e0aaefcc
llvmpipe: remove lp_setup_coef*.c files from Makefile
před 15 roky
Victor Tseng
e19187e1be
egl/i965: include inline_wrapper_sw_helper.h
Signed-off-by: Brian Paul <brianp@vmware.com>
před 15 roky
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 .
před 15 roky
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.
před 15 roky
Dave Airlie
375613afe3
r600g: fix transfer function for tiling.
this makes readback with tiled back work better.
před 15 roky
Dave Airlie
c61b97d504
r600g: attempt to cleanup depth blit
cleanup what I'm nearly sure is unnecessary work in the depth blit code.
před 15 roky
Dave Airlie
21c6459dfb
r600g: depth needs to bound to ds
před 15 roky
Dave Airlie
69f8eebe72
r600g: fix typo in tiling setup cb code.
před 15 roky
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.
před 15 roky
Keith Whitwell
9da17fed2e
llvmpipe: remove unused arg from jit_setup_tri function
před 15 roky
Keith Whitwell
75799b8d02
llvmpipe: remove unused file
před 15 roky
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
před 15 roky
Keith Whitwell
ca2b2ac131
llvmpipe: fail cleanly on malloc failure in lp_setup_alloc_triangle
před 15 roky
Keith Whitwell
543fb77dde
llvmpipe: remove setup fallback path
před 15 roky
José Fonseca
4dfb43c6a6
gallivm: Comment lp_build_insert_new_block().
před 15 roky
Dave Airlie
5b966f58e3
r600g: set tiling bits in hw state
před 15 roky
Dave Airlie
7b3fa03883
r600g: get tiling info from kernel
před 15 roky
Dave Airlie
e8e20313af
r600g: add defines for tiling
před 15 roky
Dave Airlie
82114ac02a
r600g: switch to a common formats.h file since they are in different regs
před 15 roky
Vinson Lee
c9d297162a
llvmpipe: Return non-zero exit code for lp_test_round failures.
před 15 roky
José Fonseca
4afad7d3ed
llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and broken code.
před 15 roky
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.
před 15 roky
José Fonseca
dc5bdbe0f9
gallivm: Fix SoA cubemap derivative computation.
Derivatives are now scalar.
Broken since 17dbd41cf2
.
před 15 roky
José Fonseca
709699d2e2
llvmpipe: Ensure z_shift and z_width is initialized.
před 15 roky
José Fonseca
914b0d34e8
llvmpipe: Fix depth-stencil regression.
If stencil is enabled then we need to load the z_dst, even if depth
testing is disabled.
This fixes reflect mesa demo.
před 15 roky
Dave Airlie
98b3f27439
r600g: add evergreen ARL support.
Thanks to Alex Deucher for pointing out the FLT to int conversion is necessary
and writing an initial patch, this brings about 20 piglits, and I think this
is the last piece to make evergreen and r600 equal in terms of features.
před 15 roky
Brian Paul
46c2ee4fad
gallivm: use util_snprintf()
před 15 roky
Brian Paul
81c27dbfb9
st/mesa: update function name, comments
před 15 roky
Brian Paul
fa5309f0b0
st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32
před 15 roky
Brian Paul
cba65f7e0e
st/mesa: reformatting in st_cb_drawpixels.c
před 15 roky
Brian Paul
61a467e515
st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX)
We need to keep track of three different fragment shaders: Z-only, stencil-
only, and Z+stencil. Before, we were only keeping track of the first one
we encountered.
před 15 roky
Brian Paul
b2578ef873
glsl: add ir_unop_round_even case to silence unhandled enum warning
před 15 roky