summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: use util_snprintf()Brian Paul2010-10-151-1/+2
|
* gallivm: added lp_build_load_volatile()Brian Paul2010-10-152-0/+16
| | | | | There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
* gallivm: added lp_build_print_vec4()Brian Paul2010-10-152-0/+24
|
* target-helpers: Remove per target software wrapper checkJakob Bornecrantz2010-10-156-26/+37
| | | | | Instead of having a NAME_SOFTWARE check just use the GALLIUM_DRIVER instead but set the default to native which is the same as not wrapped.
* egl: Remove unnecessary headersJakob Bornecrantz2010-10-152-2/+0
|
* wrapper: Add a way to dewrap a pipe screen without destroying itJakob Bornecrantz2010-10-153-2/+24
|
* wrapper: Fix spellingJakob Bornecrantz2010-10-153-3/+3
|
* llvmpipe: Move makefile include to before targetsJakob Bornecrantz2010-10-151-2/+2
| | | | Or plain make inside of the directory wont build libllvmpipe.a
* nv50: apply layout_mask to tile_flagsXavier Chantry2010-10-153-6/+9
| | | | The tile_flags now store more than just nv50 page table entry bits.
* llvmpipe: validate color outputs against key->nr_cbufsKeith Whitwell2010-10-151-1/+2
|
* llvmpipe: check shader outputs are non-null before usingKeith Whitwell2010-10-151-2/+2
|
* llvmpipe: fix non-sse build after recent changesKeith Whitwell2010-10-151-2/+2
|
* llvmpipe: use aligned loads/stores for plane valuesKeith Whitwell2010-10-152-9/+9
|
* llvmpipe: do plane calculations with intrinsicsKeith Whitwell2010-10-151-57/+148
| | | | This is a step towards moving this code into the rasterizer.
* gallium: move some intrinsics helpers to u_sse.hKeith Whitwell2010-10-152-58/+74
|
* llvmpipe: don't store plane.ei value in binned dataKeith Whitwell2010-10-155-26/+8
| | | | Further reduce the size of a binned triangle.
* llvmpipe: slightly shrink the size of a binned triangleKeith Whitwell2010-10-1512-292/+316
|
* llvmpipe: don't pass frontfacing as a floatKeith Whitwell2010-10-159-13/+13
|
* llvmpipe: reintroduce SET_STATE binner commandKeith Whitwell2010-10-159-46/+100
| | | | But bin lazily only into bins which are receiving geometry.
* r600g: evergreen interpolation support.Dave Airlie2010-10-153-22/+149
| | | | | | | | | | | | | | On evergreen, interpolation has moved into the fragment shader, with the interpolation parmaters being passed via GPRs and LDS entries. This works out the number of interps required and reserves GPR/LDS storage for them, it also correctly routes face/position values which aren't interpolated from the vertex shader. Also if we noticed nothing is to be interpolated we always setup perspective interpolation for one value otherwise the GPU appears to lockup. This fixes about 15 piglit tests on evergreen.
* tgsi: add scanner support for centroid inputsDave Airlie2010-10-152-0/+2
|
* llvmpipe: code to dump bytecode to file (disabled)Brian Paul2010-10-141-0/+6
|
* gallivm: add compile-time option to emit inst addrs and/or line numbersBrian Paul2010-10-141-3/+10
| | | | Disabling address printing is helpful for diffing.
* r300g: clean up warning due to unknown cap.Dave Airlie2010-10-151-0/+1
|
* r600g: handle absolute modifier in shader translatorKeith Whitwell2010-10-151-5/+4
| | | | | | | This was being classed as unsupported in one place but used in others. Enabling it seems to work fine. Signed-off-by: Dave Airlie <[email protected]>
* r600g: emit hardware linewidthKeith Whitwell2010-10-151-1/+4
| | | | | | | Tested with demos/pixeltest - line rasterization doesn't seem to be set up for GL conventions yet, but at least width is respected now. Signed-off-by: Dave Airlie <[email protected]>
* r600/drm: fix segfaults in winsys create failure pathKeith Whitwell2010-10-151-3/+9
| | | | | | | Would try to destroy radeon->cman, radeon->kman both which were still NULL. Signed-off-by: Dave Airlie <[email protected]>
* llvmpipe: don't try to emit non-existent color outputsKeith Whitwell2010-10-141-8/+9
|
* st/egl: Do not finish a fence that is NULL.Chia-I Wu2010-10-141-2/+4
| | | | i915g would dereference the NULL pointer.
* st/egl: Access _EGLConfig directly.Chia-I Wu2010-10-141-31/+26
| | | | | Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS along the way.
* r600g: select linear interpolate if tgsi input requests itDave Airlie2010-10-141-0/+3
|
* r600g: fixup typo in macro nameDave Airlie2010-10-141-1/+1
|
* r600g: fixup pos/face ena/address properlyDave Airlie2010-10-141-8/+17
|
* r600g: only pick centroid coordinate when asked.Dave Airlie2010-10-142-1/+4
| | | | TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though.
* r600g: Fix texture sampling with swizzled coordsFredrik Höglund2010-10-141-1/+1
| | | | Signed-off-by: Dave Airlie <[email protected]>
* r600g: drop unused context membersDave Airlie2010-10-141-2/+0
|
* llvmpipe: Generalize the x8z24 fast path to all depth formats.José Fonseca2010-10-131-111/+82
| | | | | | | | | | | | | Together with the previous commit, this generalize the benefits of d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in particular: - simpler float -> 24unorm conversion - avoid unsigned comparisons (not directly supported on SSE) by aligning to the least significant bit - avoid unecessary/repeated mask ANDing Verified with trivial/tri-z that the exact same assembly is produced for X8Z24.
* gallivm: More accurate float -> 24bit & 32bit unorm conversion.José Fonseca2010-10-131-40/+86
|
* gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8Brian Paul2010-10-131-0/+20
| | | | The bug only happens on the AOS / fixed-pt path.
* gallivm: Remove unnecessary header.Vinson Lee2010-10-131-1/+0
|
* llvmpipe: Unbreak Z32_FLOAT.José Fonseca2010-10-133-64/+93
| | | | | | | | | | | | | Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support).
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-131-1/+1
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-1310-12/+12
|
* gl: Remove unused GLcontextModes fieldsKristian Høgsberg2010-10-132-7/+7
|
* Get rid of GL/internal/glcore.hKristian Høgsberg2010-10-133-2/+183
| | | | | | | __GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly.
* gallivm: only use lp_build_conv 4x4f -> 1x16 ub fastpath with sse2Roland Scheidegger2010-10-131-19/+5
| | | | | | | | This is relying on lp_build_pack2 using the sse2 pack intrinsics which handle clamping. (Alternatively could have make it use lp_build_packs2 but it might not even produce more efficient code than not using the fastpath in the first place.)
* r600g: fix stencil export for evergreen harderDave Airlie2010-10-132-3/+3
|
* r600g: fix relative addressing when splitting constant accessesStephan Schmid2010-10-131-0/+2
| | | | Signed-off-by: Dave Airlie <[email protected]>
* r600g: add missing eg reg definitionDave Airlie2010-10-131-0/+3
|