Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: implement primitive splitting for primitive restart | Brian Paul | 2010-10-21 | 1 | -1/+85 |
| | |||||
* | st/mesa: support for primitive restart | Brian Paul | 2010-10-21 | 2 | -0/+7 |
| | |||||
* | gallium: new CAP, state for primitive restart | Brian Paul | 2010-10-21 | 3 | -0/+16 |
| | |||||
* | vbo: support for primitive restart | Brian Paul | 2010-10-21 | 3 | -86/+186 |
| | | | | | We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it. | ||||
* | mesa: plug in primitive restart function | Brian Paul | 2010-10-21 | 3 | -0/+18 |
| | |||||
* | mesa: regenerated files with primitive restart | Brian Paul | 2010-10-21 | 10 | -3953/+4074 |
| | |||||
* | mesa: API spec for primitive restart | Brian Paul | 2010-10-21 | 3 | -0/+26 |
| | |||||
* | mesa: set/get primitive restart state | Brian Paul | 2010-10-21 | 3 | -6/+40 |
| | |||||
* | mesa: driver hook for primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | |||||
* | mesa: Remove unused vtxfmt_tmp.h. | Chia-I Wu | 2010-10-21 | 1 | -603/+0 |
| | | | | | It was used by the "neutral" tnl module that was dropped in 81ccb3e2ce708619f4c23537a237d61bdffdd35f. | ||||
* | r600g: start splitting out common code from eg/r600. | Dave Airlie | 2010-10-21 | 6 | -339/+367 |
| | | | | | no point duplicating code that doesn't touch hw, also make it easier to spot mistakes | ||||
* | r600g: initial translate state support | Dave Airlie | 2010-10-21 | 4 | -5/+250 |
| | |||||
* | draw: Remove unnecessary header. | Vinson Lee | 2010-10-21 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-10-21 | 1 | -1/+0 |
| | |||||
* | glsl: Refresh autogenerated file builtin_function.cpp. | Kenneth Graunke | 2010-10-21 | 1 | -0/+88 |
| | |||||
* | glsl: Add support for GLSL 1.30's modf built-in. | Kenneth Graunke | 2010-10-21 | 3 | -0/+51 |
| | |||||
* | glcpp: Refresh autogenerated lexer file. | Kenneth Graunke | 2010-10-21 | 1 | -23/+13 |
| | |||||
* | glcpp: Return NEWLINE token for newlines inside multi-line comments. | Kenneth Graunke | 2010-10-21 | 1 | -2/+2 |
| | | | | This is necessary for the main compiler to get correct line numbers. | ||||
* | r600g: add texture tiling enable under a debug option. | Dave Airlie | 2010-10-21 | 1 | -0/+7 |
| | | | | | | At the moment you need kernel patches to have texture tiling work with the kernel CS checker, so once they are upstream and the drm version is bumped we can make this enable flip the other way most likely. | ||||
* | r600g: add texture tiling alignment support. | Dave Airlie | 2010-10-21 | 1 | -5/+60 |
| | | | | | this sets things up to align stride/height with tile sizes, it also adds support for the 2D/1D array mode cross over point. | ||||
* | r600g: introduce a per-driver resource flag for transfers. | Dave Airlie | 2010-10-21 | 2 | -2/+5 |
| | | | | this is to be used to decide not to tile a surface being used for transfers. | ||||
* | r600g: add r600 surface to store the aligned height. | Dave Airlie | 2010-10-21 | 4 | -20/+36 |
| | | | | | we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height. | ||||
* | r600g: start adding hooks for aligning width/height for tiles. | Dave Airlie | 2010-10-21 | 1 | -4/+26 |
| | |||||
* | r600g: move to per-miplevel array mode. | Dave Airlie | 2010-10-21 | 4 | -12/+23 |
| | | | | | | Since the hw transitions from 2D->1D sampling below the 2D macrotile size we need to keep track of the array mode per level so we can render to it using the CB. | ||||
* | r600g: all non-0 mipmap levels need to be w/h aligned to POT. | Dave Airlie | 2010-10-21 | 1 | -5/+13 |
| | | | | this adds a new minify function to the driver to ensure this. | ||||
* | swrast: Print out format on unexpected failure in _swrast_DrawPixels. | Vinson Lee | 2010-10-20 | 1 | -1/+1 |
| | |||||
* | mesa: Remove FEATURE_ARB_shading_language_120 macro. | Kenneth Graunke | 2010-10-20 | 2 | -5/+0 |
| | | | | Everything should be able to support 1.20 at this point. | ||||
* | glsl: Remove useless ir_shader enumeration value. | Kenneth Graunke | 2010-10-20 | 4 | -12/+2 |
| | |||||
* | glsl: Add assert for unhandled ir_shader case. | Vinson Lee | 2010-10-20 | 1 | -0/+4 |
| | | | | | | | | Silences this GCC warning. ast_to_hir.cpp: In function 'void apply_type_qualifier_to_variable(const ast_type_qualifier*, ir_variable*, _mesa_glsl_parse_state*, YYLTYPE*)' ast_to_hir.cpp:1768: warning: enumeration value 'ir_shader' not handled in switch | ||||
* | draw: use float version of LLVM Mul/Add instructions | Brian Paul | 2010-10-20 | 1 | -7/+7 |
| | | | | LLVM 2.8 is pickier about int vs float instructions and operands. | ||||
* | llvmpipe/draw: always enable LLVMAddInstructionCombiningPass() | Brian Paul | 2010-10-20 | 2 | -14/+2 |
| | | | | | | We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now. This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d. This fixes the piglit bug/tri-tex-crash.c failure. | ||||
* | osmesa: link against libtalloc | Orion Poplawski | 2010-10-20 | 1 | -1/+1 |
| | | | | | | Otherwise consumers have to, and that's lame. Signed-off-by: Adam Jackson <[email protected]> | ||||
* | r600g: Ensure r600_src is initialized in tgsi_exp function. | Vinson Lee | 2010-10-20 | 1 | -1/+1 |
| | | | | | | | | | | Silences these GCC warnings. r600_shader.c: In function 'tgsi_exp': r600_shader.c:2339: warning: 'r600_src[0].rel' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].abs' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].neg' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].chan' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].sel' is used uninitialized in this function | ||||
* | draw: Move loop variable declaration outside for loop. | Vinson Lee | 2010-10-19 | 1 | -1/+2 |
| | | | | Fixes MSVC build. | ||||
* | draw: make sure viewport gets updated in draw llvm shader | Keith Whitwell | 2010-10-19 | 3 | -27/+47 |
| | | | | The viewport state was being baked in at compile time (oops...) | ||||
* | Merge branch 'llvm-cliptest-viewport' | Keith Whitwell | 2010-10-19 | 5 | -42/+455 |
|\ | |||||
| * | draw: corrections to allow for different cliptest cases | Hui Qi Tay | 2010-10-19 | 1 | -3/+5 |
| | | |||||
| * | llvmpipe: clean up fields in draw_llvm_variant_key | Keith Whitwell | 2010-10-17 | 2 | -14/+9 |
| | | |||||
| * | draw: corrections for w coordinate | Hui Qi Tay | 2010-10-17 | 1 | -2/+3 |
| | | |||||
| * | draw: sanitize llvm variant key | Hui Qi Tay | 2010-10-14 | 2 | -1/+3 |
| | | | | | | | | Fixes recompilation, but seems to be broken with llvm 2.8. | ||||
| * | draw: some changes to allow for runtime changes to userclip planes | delphi | 2010-10-10 | 5 | -20/+67 |
| | | |||||
| * | draw: added userclip planes and updated variant_key | delphi | 2010-10-04 | 2 | -47/+99 |
| | | |||||
| * | draw: added viewport and cliptest flags | Hui Qi Tay | 2010-09-29 | 3 | -50/+98 |
| | | | | | | | | | | | | | | Corrections in store_clip to store clip coordinates in AoS form. Viewport & cliptest flag options based on variant key. Put back draw_pt_post_vs and now 2 paths based on whether clipping occurs or not. | ||||
| * | draw: cliptest and viewport done in a single loop in vertex shader | Hui Qi Tay | 2010-09-29 | 2 | -27/+293 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cliptesting now done at the end of vs in draw_llvm instead of draw_pt_post_vs. Added viewport mapping transformation and further cliptesting to vertex shader in draw_llvm.c Alternative path where vertex header setup, clip coordinates store, cliptesting and viewport mapping are done earlier in the vertex shader. Still need to hook this up properly according to the return value of "draw_llvm_shader" function. | ||||
* | | i965: Use the new style of IF statement with embedded comparison on gen6. | Eric Anholt | 2010-10-19 | 2 | -4/+113 |
| | | | | | | | | | | "Everyone else" does it this way, so follow suit. It's fewer instructions, anyway. | ||||
* | | i965: Set the source operand types for gen6 if/else/endif to integer. | Eric Anholt | 2010-10-19 | 1 | -6/+6 |
| | | | | | | | | | | I don't think this should matter, but I'm not sure, and it's recommended by a kernel checker in fulsim. | ||||
* | | i965: Add EU emit support for gen6's new IF instruction with comparison. | Eric Anholt | 2010-10-19 | 2 | -1/+31 |
| | | |||||
* | | linker: Improve handling of unread/unwritten shader inputs/outputs | Ian Romanick | 2010-10-19 | 1 | -11/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously some shader input or outputs that hadn't received location assignments could slip through. This could happen when a shader contained user-defined varyings and was used with either fixed-function or assembly shaders. See the piglit tests glsl-[fv]s-user-varying-ff and sso-user-varying-0[12]. NOTE: this is a candidate for the 7.9 branch. | ||||
* | | glsl: Commit generated file glsl_lexer.cpp | Chad Versace | 2010-10-19 | 1 | -312/+312 |
| | | | | | | | | Changes are due to commit "glsl: Fix lexer rule for ^=". | ||||
* | | glsl: Fix lexer rule for ^= | Chad Versace | 2010-10-19 | 1 | -1/+1 |
| | | | | | | | | The caret is a special character, and needs to be quoted or escaped. |