summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: Up tgsi_exec's control flow nesting to 32.Michal Krol2009-11-031-3/+3
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-11-038-20/+52
|\
| * st/mesa: clip pixels in draw_stencil_pixels to avoid crashMarek Olšák2009-11-031-5/+15
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencilBrian Paul2009-11-031-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 formatsBrian Paul2009-11-031-7/+5
| |
| * glx: Fix memory leak if XF86DRICreateDrawable() failsVinson Lee2009-11-021-1/+3
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * Add --with-dri-searchpath argumentChow Loong Jin2009-10-303-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.cBrian Paul2009-10-291-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 supportBrian Paul2009-10-281-0/+6
| |
* | mesa: clean-up, remove some flushing in FBO functionsBrian Paul2009-11-031-7/+11
| | | | | | | | | | Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
* | mesa: fix indentationBrian Paul2009-11-031-2/+1
| |
* | mesa: clean-up formattingBrian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()Brian Paul2009-11-031-7/+10
| |
* | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()Brian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()Brian Paul2009-11-031-9/+29
| |
* | mesa: use ffs() to shorten loop in _mesa_drawbuffers()Brian Paul2009-11-031-6/+10
| |
* | mesa: added assertion, another commentBrian Paul2009-11-031-1/+3
| |
* | intel: avoid unnecessary front buffer flushing/updatingBrian Paul2009-11-035-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 commentBrian Paul2009-11-021-0/+2
| |
* | mesa: use _mesa_get_current_tex_object()Brian Paul2009-11-021-6/+2
| |
* | mesa: use _mesa_get_current_tex_object()Brian Paul2009-11-021-13/+4
| |
* | mesa: make _mesa_get_current_tex_objec() publicBrian Paul2009-11-022-31/+33
| |
* | ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branchIan Romanick2009-11-022-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 compilerPierre Ossman2009-11-022-3/+214
| |
* | r600: implement EXP op in compilerPierre Ossman2009-11-022-3/+130
| |
* | tgsi/ureg: Add negate and swizzle for predicates.Michal Krol2009-11-022-22/+208
| |
* | mesa: fix incorrect approx bits/channel for fxt1 formatsBrian Paul2009-11-021-2/+2
| | | | | | | | See bug 24806.
* | gallium/util: add casts to silence warningsBrian Paul2009-11-021-3/+3
| |
* | tgsi/ureg: Update for gallium interface changes.Michal Krol2009-11-022-22/+69
| |
* | tgsi: Update for gallium interface changes.Michal Krol2009-11-0210-542/+137
| |
* | gallium: Cleanup predicate and condition code TGSI tokens.Michal Krol2009-11-022-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 Krol2009-11-021-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 Manton2009-11-013-2/+7
| |
* | r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson2009-11-015-14/+28
| | | | | | | | Cleared out my git stash.
* | r300g: fix geometry corruptionsMaciej Cencora2009-11-011-2/+14
| | | | | | | | PVS flush is needed before changing the vertex shader or vertex shader constants.
* | r300g: split constant buffer and shader emittionMaciej Cencora2009-11-015-98/+152
| |
* | r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson2009-11-011-40/+88
| | | | | | | | A fair amount more flexible and easier to maintain.
* | nv50: handle TGSI_SEMANTIC_FACEChristoph Bumiller2009-11-011-0/+25
| |
* | nv50: make IF condition safeChristoph Bumiller2009-11-011-1/+3
| | | | | | | | | | Don't assume that a SET that writes to IF's argument directly precedes the IF.
* | nv50: implement TGSI_OPCODE_AND/OR/XORChristoph Bumiller2009-11-011-0/+47
| | | | | | | | | | Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff.
* | nv50: fix textures with block size != cppChristoph Bumiller2009-10-312-37/+48
| | | | | | | | | | | | | | | | | | | | | | First, using width * block size as pitch is evidently wrong if a block contains more than 1 texel. For tiled textures, since a block occupies a contiguous area of memory, y addressing in m2mf has to be done by block index, not the y coordinate itself. This should fix compressed textures.
* | nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton2009-10-317-0/+15
| |
* | nv50: use SIFC also for shader uploadChristoph Bumiller2009-10-313-56/+120
| | | | | | | | Adds a more generic SIFC transfer function.
* | nv50: make MRTs workChristoph Bumiller2009-10-312-0/+15
| | | | | | | | | | | | | | We have to indicate to the hw whether the FP exports multiple colour results. Method 0x121c is used to specify the number of RTs. Also deactivate zeta explicitly if there's no zsbuf.
* | radeon: add missing includeDave Airlie2009-10-311-0/+1
| |
* | r300g: correct the pitch calculation for smaller mipmapsMarek Olšák2009-10-312-7/+2
| |
* | r300g: pretend NPOT supportMarek Olšák2009-10-311-1/+3
| | | | | | | | | | It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this.
* | r300g: fix reading from the destination buffer in blendingMarek Olšák2009-10-311-0/+2
| |
* | r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák2009-10-313-17/+42
| |
* | r300g: remove unnecessary assertionsMarek Olšák2009-10-312-5/+2
| | | | | | | | Also, correct typos in comments.