Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallivm: use util_snprintf() | Brian Paul | 2010-10-15 | 1 | -1/+2 |
| | |||||
* | gallivm: added lp_build_load_volatile() | Brian Paul | 2010-10-15 | 2 | -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 Paul | 2010-10-15 | 2 | -0/+24 |
| | |||||
* | target-helpers: Remove per target software wrapper check | Jakob Bornecrantz | 2010-10-15 | 6 | -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 headers | Jakob Bornecrantz | 2010-10-15 | 2 | -2/+0 |
| | |||||
* | wrapper: Add a way to dewrap a pipe screen without destroying it | Jakob Bornecrantz | 2010-10-15 | 3 | -2/+24 |
| | |||||
* | wrapper: Fix spelling | Jakob Bornecrantz | 2010-10-15 | 3 | -3/+3 |
| | |||||
* | llvmpipe: Move makefile include to before targets | Jakob Bornecrantz | 2010-10-15 | 1 | -2/+2 |
| | | | | Or plain make inside of the directory wont build libllvmpipe.a | ||||
* | nv50: apply layout_mask to tile_flags | Xavier Chantry | 2010-10-15 | 3 | -6/+9 |
| | | | | The tile_flags now store more than just nv50 page table entry bits. | ||||
* | llvmpipe: validate color outputs against key->nr_cbufs | Keith Whitwell | 2010-10-15 | 1 | -1/+2 |
| | |||||
* | llvmpipe: check shader outputs are non-null before using | Keith Whitwell | 2010-10-15 | 1 | -2/+2 |
| | |||||
* | llvmpipe: fix non-sse build after recent changes | Keith Whitwell | 2010-10-15 | 1 | -2/+2 |
| | |||||
* | llvmpipe: use aligned loads/stores for plane values | Keith Whitwell | 2010-10-15 | 2 | -9/+9 |
| | |||||
* | llvmpipe: do plane calculations with intrinsics | Keith Whitwell | 2010-10-15 | 1 | -57/+148 |
| | | | | This is a step towards moving this code into the rasterizer. | ||||
* | gallium: move some intrinsics helpers to u_sse.h | Keith Whitwell | 2010-10-15 | 2 | -58/+74 |
| | |||||
* | llvmpipe: don't store plane.ei value in binned data | Keith Whitwell | 2010-10-15 | 5 | -26/+8 |
| | | | | Further reduce the size of a binned triangle. | ||||
* | llvmpipe: slightly shrink the size of a binned triangle | Keith Whitwell | 2010-10-15 | 12 | -292/+316 |
| | |||||
* | llvmpipe: don't pass frontfacing as a float | Keith Whitwell | 2010-10-15 | 9 | -13/+13 |
| | |||||
* | llvmpipe: reintroduce SET_STATE binner command | Keith Whitwell | 2010-10-15 | 9 | -46/+100 |
| | | | | But bin lazily only into bins which are receiving geometry. | ||||
* | r600g: evergreen interpolation support. | Dave Airlie | 2010-10-15 | 3 | -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 inputs | Dave Airlie | 2010-10-15 | 2 | -0/+2 |
| | |||||
* | llvmpipe: code to dump bytecode to file (disabled) | Brian Paul | 2010-10-14 | 1 | -0/+6 |
| | |||||
* | gallivm: add compile-time option to emit inst addrs and/or line numbers | Brian Paul | 2010-10-14 | 1 | -3/+10 |
| | | | | Disabling address printing is helpful for diffing. | ||||
* | r300g: clean up warning due to unknown cap. | Dave Airlie | 2010-10-15 | 1 | -0/+1 |
| | |||||
* | r600g: handle absolute modifier in shader translator | Keith Whitwell | 2010-10-15 | 1 | -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 linewidth | Keith Whitwell | 2010-10-15 | 1 | -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 path | Keith Whitwell | 2010-10-15 | 1 | -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 outputs | Keith Whitwell | 2010-10-14 | 1 | -8/+9 |
| | |||||
* | st/egl: Do not finish a fence that is NULL. | Chia-I Wu | 2010-10-14 | 1 | -2/+4 |
| | | | | i915g would dereference the NULL pointer. | ||||
* | st/egl: Access _EGLConfig directly. | Chia-I Wu | 2010-10-14 | 1 | -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 it | Dave Airlie | 2010-10-14 | 1 | -0/+3 |
| | |||||
* | r600g: fixup typo in macro name | Dave Airlie | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | r600g: fixup pos/face ena/address properly | Dave Airlie | 2010-10-14 | 1 | -8/+17 |
| | |||||
* | r600g: only pick centroid coordinate when asked. | Dave Airlie | 2010-10-14 | 2 | -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 coords | Fredrik Höglund | 2010-10-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: drop unused context members | Dave Airlie | 2010-10-14 | 1 | -2/+0 |
| | |||||
* | llvmpipe: Generalize the x8z24 fast path to all depth formats. | José Fonseca | 2010-10-13 | 1 | -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é Fonseca | 2010-10-13 | 1 | -40/+86 |
| | |||||
* | gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8 | Brian Paul | 2010-10-13 | 1 | -0/+20 |
| | | | | The bug only happens on the AOS / fixed-pt path. | ||||
* | gallivm: Remove unnecessary header. | Vinson Lee | 2010-10-13 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Unbreak Z32_FLOAT. | José Fonseca | 2010-10-13 | 3 | -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 instead | Kristian Høgsberg | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Drop GLframebuffer typedef and just use struct gl_framebuffer | Kristian Høgsberg | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Rename GLvisual and __GLcontextModes to struct gl_config | Kristian Høgsberg | 2010-10-13 | 10 | -12/+12 |
| | |||||
* | gl: Remove unused GLcontextModes fields | Kristian Høgsberg | 2010-10-13 | 2 | -7/+7 |
| | |||||
* | Get rid of GL/internal/glcore.h | Kristian Høgsberg | 2010-10-13 | 3 | -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 sse2 | Roland Scheidegger | 2010-10-13 | 1 | -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 harder | Dave Airlie | 2010-10-13 | 2 | -3/+3 |
| | |||||
* | r600g: fix relative addressing when splitting constant accesses | Stephan Schmid | 2010-10-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add missing eg reg definition | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| |