summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-12llvmpipe: refactor tri_3_16Keith Whitwell
Keep step array as a set of four m128i's and reuse throughout the rasterization.
2010-09-12llvmpipe: pass linear masks to fragment shaderKeith Whitwell
Fragment shader can extract the correct bits for each quad.
2010-09-12llvmpipe: fix warnings on both 32 and 64 bit buildsKeith Whitwell
2010-09-12llvmpipe: fix wierd performance regression in isosurfKeith Whitwell
I really don't understand the mechanism behind this, but it seems like the way data blocks for a scene are malloced, and in particular whether we treat them as stack or a queue, and whether we retain the most recently allocated or least recently allocated has a real affect (~5%) on isosurf framerates... This is probably specific to my distro or even just my machine, but none the less, it's nicer not to see the framerates go in the wrong direction.
2010-09-12pb: Fix the build, and add notes.José Fonseca
2010-09-12llvmpipe: Only generate the whole shader specialization for opaque shaders.José Fonseca
If not opaque, then the color buffer will have to be read any way, therefore the specialization is pointless.
2010-09-12pb: add void * for flush ctx to mapping functionsDave Airlie
If the buffer we are attempting to map is referenced by the unsubmitted command stream for this context, we need to flush the command stream, however to do that we need to be able to access the context at the lowest level map function, currently we set the buffer in the toplevel map, but this racy between context. (we probably have a lot more issues than that.) I'll look into a proper solution as suggested by jrfonseca when I get some time.
2010-09-11nv30: fix breakage due to 10 texcoord support on nv40Luca Barbieri
2010-09-12mesa: Fix depend.es[12] generation when LLVM is enabled.Chia-I Wu
"llvm-config --cflags" outputs -f options, which conflict makedepend. Clean up compiler flags and append LLVM_CFLAGS to the new xxx_CFLAGS instead of xxx_CPPFLAGS, where xxx may be MESA, ES1, or ES2.
2010-09-11r600g: Undo bo placement change.Tilman Sauerbeck
This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a that causes artefacts and a performance drop. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-11llvmpipe: Silence some warnings.José Fonseca
2010-09-11gallivm: nr_channels is only valid for formats with plain layout.José Fonseca
This is erroneously throwing non plain formats out of the faster AoS sampling path. Doing 8bit interpolation for single channels such as L8 should be no worse than with floating point. But this may need more investigation.
2010-09-11gallivm: Use const keyword on swizzles.José Fonseca
2010-09-11gallivm: Allow to TGSI AoS translation to happen in BGRA ordering.José Fonseca
Or any ordering.
2010-09-11llvmpipe: Don't store display the alpha ref value in the key.José Fonseca
It's never used.
2010-09-11gallivm: Add a new debug flag to warn about performance issues.José Fonseca
2010-09-11gallivm: Helper functions for pointer indirection.José Fonseca
2010-09-11gallivm: Cleanup the TGSI <-> sampler interface.José Fonseca
2010-09-11gallivm: Add some utility functions to set/get array elements too.José Fonseca
2010-09-11gallivm: Basic AoS TGSI -> LLVM IR.José Fonseca
Essentially a variation of the SoA version.
2010-09-11gallivm: Move the texture modifiers to the header.José Fonseca
Useful to pass these around.
2010-09-11gallivm: s/lp_build_broadcast_aos/lp_build_swizzle_scalar_aos/José Fonseca
More accurate description of this function purpose.
2010-09-11Add a test for the KIL opcodeAlex Corscadden
This is a simple test for the KIL opcode. It should render a 6 sided figure with a colored interior.
2010-09-11llvmpipe: restore larger command blocksKeith Whitwell
2010-09-11llvmpipe: move some debug to DEBUG_SCENEKeith Whitwell
2010-09-11llvmpipe: add DEBUG_MEM optionKeith Whitwell
2010-09-11llvmpipe: allow bigger scenesKeith Whitwell
2010-09-10r300/compiler: Reorganize presub_helper()Tom Stellard
2010-09-10r300/compiler: Don't use presubtract in TEX instructionsTom Stellard
2010-09-10r300/compiler: Print the presub subtract operation in the correct orderTom Stellard
2010-09-10r300/compiler: Fix dataflow bug in presub_helper()Tom Stellard
2010-09-10r300/compiler: Replace asserts with error messagesTom Stellard
2010-09-10r300/compiler: Fix copy propigation for some presub instructionsTom Stellard
2010-09-10r300/compiler: Add peephole optimization for the 'sub' presubtract operationTom Stellard
2010-09-10r300/compiler: Add peephole optimization for the 'add' presubtract operationTom Stellard
2010-09-10r300/compiler: Clean up rc_pair_alloc_source()Tom Stellard
2010-09-10r300/compiler: Enable presubtract sourcesTom Stellard
The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation.
2010-09-10mesa: Remove unused Emit flags from gl_shader_compiler_optionsIan Romanick
2010-09-10intel: Remove noise opcode support from i915 and i965 driversIan Romanick
With recent changes to the GLSL compiler, these opcode should never be seen in these drivers.
2010-09-10r600c: add missing headerAlex Deucher
2010-09-10r600c: add OQ support for evergreenAlex Deucher
2010-09-10r600c: oq updatesAlex Deucher
2010-09-10r600c: add blit support for evergreenAlex Deucher
driver was previously calling the r600 blit code which won't work on evergreen.
2010-09-10r600c: emit start3d packet on evergreenAlex Deucher
2010-09-10r600c: fix some typosAlex Deucher
2010-09-10r600c: fix type in cb setup on evergreenAlex Deucher
2010-09-10r600c: add support for more rendering formats on evergreenAlex Deucher
2010-09-10r600: set correct initial point_minmax valuesAndre Maasikas
2010-09-10r600g: Fixed a bo reference leak in the draw module.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: Only increase a bo's map_count if radeon_bo_map() succeeded.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>