Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50: fix shader emit_tex for cube textures | Christoph Bumiller | 2009-11-04 | 1 | -14/+36 |
| | |||||
* | nv50: add abs-modifier for emit_minmax | Christoph Bumiller | 2009-11-04 | 1 | -17/+31 |
| | |||||
* | nv50: add 3d texture tiling and mip-mapping | Christoph Bumiller | 2009-11-04 | 4 | -37/+114 |
| | | | | | | | | | Mip-mapped 3D textures are not arrays of 2D layers with a mip-map layout like 2D textures, therefore we cannot use image_nr == depth for them. Making use of "volume tiling" modes now, the allowed modes are 0xZY where Z <= 5 and y <= 5. | ||||
* | progs/util: Fix memory leak if fail to load/compile shader | Vinson Lee | 2009-11-03 | 1 | -0/+2 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | llvmpipe: Sanitise shader semantic and interpolator handling. | Michal Krol | 2009-11-03 | 1 | -24/+10 |
| | | | | | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. Based on Michal's softpipe commit eb699d64ec7057032139baccedcb0694ca41d706. | ||||
* | llvmpipe: remove old prim_setup draw stage | Keith Whitwell | 2009-11-03 | 10 | -386/+59 |
| | | | | | | | Everything now goes through the draw_vbuf handler, the same as regular drivers. Based on Keith's commit 4fe0fc3eba1f79beda890a5016359d549bab6ad4. | ||||
* | llvmpipe: Respect gl_rasterization_rules in primitive setup. | José Fonseca | 2009-11-03 | 1 | -18/+30 |
| | | | | | Based on Michal's identical commit for softpipe (ca9c413647bf9efb5ed770e3a655bc758075aec7). | ||||
* | python/retrace: Cope with null constant buffers. | José Fonseca | 2009-11-03 | 1 | -1/+1 |
| | |||||
* | python/retrace: Add missing colon. | José Fonseca | 2009-11-03 | 1 | -1/+1 |
| | |||||
* | progs/tests: debug code for getting texture component sizes | Brian Paul | 2009-11-03 | 2 | -2/+17 |
| | |||||
* | tgsi: Up tgsi_exec's control flow nesting to 32. | Michal Krol | 2009-11-03 | 1 | -3/+3 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-11-03 | 8 | -20/+52 |
|\ | |||||
| * | st/mesa: clip pixels in draw_stencil_pixels to avoid crash | Marek Olšák | 2009-11-03 | 1 | -5/+15 |
| | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
| * | st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencil | Brian Paul | 2009-11-03 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | util_blit_pixels_writemask() only works for color formats at this time. Also, it might never work for depth/stencil surfaces since we can't get handle stencil values in a fragment shader. Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT). | ||||
| * | st/mesa: fix tests for depth and depth/stencil texture formats | Brian Paul | 2009-11-03 | 1 | -7/+5 |
| | | |||||
| * | glx: Fix memory leak if XF86DRICreateDrawable() fails | Vinson Lee | 2009-11-02 | 1 | -1/+3 |
| | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
| * | Add --with-dri-searchpath argument | Chow Loong Jin | 2009-10-30 | 3 | -2/+9 |
| | | | | | | | | | | | | | | * Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <[email protected]> | ||||
| * | progs/tests: fixes for drawbuffers.c | Brian Paul | 2009-10-29 | 1 | -5/+12 |
| | | | | | | | | | | Disable GL_DEPTH_TEST before glDrawPixels. Show color buffer 0 on left, color buffer 1 on right. | ||||
| * | progs/tests: added test for GL_EXT_texture_compression_s3tc support | Brian Paul | 2009-10-28 | 1 | -0/+6 |
| | | |||||
* | | mesa: clean-up, remove some flushing in FBO functions | Brian Paul | 2009-11-03 | 1 | -7/+11 |
| | | | | | | | | | | Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places. | ||||
* | | mesa: fix indentation | Brian Paul | 2009-11-03 | 1 | -2/+1 |
| | | |||||
* | | mesa: clean-up formatting | Brian Paul | 2009-11-03 | 1 | -1/+1 |
| | | |||||
* | | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT() | Brian Paul | 2009-11-03 | 1 | -7/+10 |
| | | |||||
* | | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -1/+1 |
| | | |||||
* | | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -9/+29 |
| | | |||||
* | | mesa: use ffs() to shorten loop in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -6/+10 |
| | | |||||
* | | mesa: added assertion, another comment | Brian Paul | 2009-11-03 | 1 | -1/+3 |
| | | |||||
* | | intel: avoid unnecessary front buffer flushing/updating | Brian Paul | 2009-11-03 | 5 | -2/+27 |
| | | | | | | | | | | | | | | | | | | | | | | Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths. | ||||
* | | mesa: added comment | Brian Paul | 2009-11-02 | 1 | -0/+2 |
| | | |||||
* | | mesa: use _mesa_get_current_tex_object() | Brian Paul | 2009-11-02 | 1 | -6/+2 |
| | | |||||
* | | mesa: use _mesa_get_current_tex_object() | Brian Paul | 2009-11-02 | 1 | -13/+4 |
| | | |||||
* | | mesa: make _mesa_get_current_tex_objec() public | Brian Paul | 2009-11-02 | 2 | -31/+33 |
| | | |||||
* | | ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch | Ian Romanick | 2009-11-02 | 2 | -190/+200 |
| | | | | | | | | | | | | | | | | Since the addition of support for Nvidia condition codes, the lexer internally uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER. Also, use return_string instead of strdup. Fixes bug #24809. | ||||
* | | r600: implement LOG op in compiler | Pierre Ossman | 2009-11-02 | 2 | -3/+214 |
| | | |||||
* | | r600: implement EXP op in compiler | Pierre Ossman | 2009-11-02 | 2 | -3/+130 |
| | | |||||
* | | tgsi/ureg: Add negate and swizzle for predicates. | Michal Krol | 2009-11-02 | 2 | -22/+208 |
| | | |||||
* | | mesa: fix incorrect approx bits/channel for fxt1 formats | Brian Paul | 2009-11-02 | 1 | -2/+2 |
| | | | | | | | | See bug 24806. | ||||
* | | gallium/util: add casts to silence warnings | Brian Paul | 2009-11-02 | 1 | -3/+3 |
| | | |||||
* | | tgsi/ureg: Update for gallium interface changes. | Michal Krol | 2009-11-02 | 2 | -22/+69 |
| | | |||||
* | | tgsi: Update for gallium interface changes. | Michal Krol | 2009-11-02 | 10 | -542/+137 |
| | | |||||
* | | gallium: Cleanup predicate and condition code TGSI tokens. | Michal Krol | 2009-11-02 | 2 | -99/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is little point in having a special TGSI token just to handle predicate register updates. Remove tgsi_dst_register_ext_predicate token and instead use a new PREDICATE register file to update predicates. Actually, the contents of the obsolete token are being moved to tgsi_instruction_ext_predicate, where they should be from the very beginning. Remove the NVIDIA-specific condition code tokens -- nobody uses them and they can be emulated with predicates if needed. Introduce PIPE_CAP_SM3 that indicates whether a driver supports SM3-level instructions, and in particular predicates. Add PIPE_CAP_MAX_PREDICATE_REGISTERS that can be used to query the driver how many predicate registers it supports (currently it would be 1). | ||||
* | | softpipe: Sanitise shader semantic and interpolator handling. | Michal Krol | 2009-11-02 | 1 | -24/+10 |
| | | | | | | | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. | ||||
* | | nouveau: Assume all texture blankets are linear for now. | Younes Manton | 2009-11-01 | 3 | -2/+7 |
| | | |||||
* | | r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc. | Corbin Simpson | 2009-11-01 | 5 | -14/+28 |
| | | | | | | | | Cleared out my git stash. | ||||
* | | r300g: fix geometry corruptions | Maciej Cencora | 2009-11-01 | 1 | -2/+14 |
| | | | | | | | | PVS flush is needed before changing the vertex shader or vertex shader constants. | ||||
* | | r300g: split constant buffer and shader emittion | Maciej Cencora | 2009-11-01 | 5 | -98/+152 |
| | | |||||
* | | r300g: Adopt osiris' PSC data and swizzle. | Corbin Simpson | 2009-11-01 | 1 | -40/+88 |
| | | | | | | | | A fair amount more flexible and easier to maintain. | ||||
* | | nv50: handle TGSI_SEMANTIC_FACE | Christoph Bumiller | 2009-11-01 | 1 | -0/+25 |
| | | |||||
* | | nv50: make IF condition safe | Christoph Bumiller | 2009-11-01 | 1 | -1/+3 |
| | | | | | | | | | | Don't assume that a SET that writes to IF's argument directly precedes the IF. | ||||
* | | nv50: implement TGSI_OPCODE_AND/OR/XOR | Christoph Bumiller | 2009-11-01 | 1 | -0/+47 |
| | | | | | | | | | | Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff. |