summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* glcpp: Add division by zero test cases.Vinson Lee2011-01-042-0/+4
|
* mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010Marek Olšák2011-01-043-15/+25
| | | | | Use make_temp_float_image instead of _make_temp_chan_image. The latter converts the texture to 8 bits/component, losing 2 bits.
* st/mesa: advertise GL_ARB_half_float_pixelMarek Olšák2011-01-041-0/+1
| | | | This extension doesn't appear to need any driver-specific parts.
* r300/compiler: disable the rename_regs pass for loopsMarek Olšák2011-01-041-0/+8
| | | | | | This workaround fixes rendering of kwin thumbnails. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* r600g: support up to 64 shader constantsAlex Deucher2011-01-042-1/+20
| | | | | | | | | | | | | | | | | | | From the r600 ISA: Each ALU clause can lock up to four sets of constants into the constant cache. Each set (one cache line) is 16 128-bit constants. These are split into two groups. Each group can be from a different constant buffer (out of 16 buffers). Each group of two constants consists of either [Line] and [Line+1] or [line + loop_ctr] and [line + loop_ctr +1]. For supporting more than 64 constants, we need to break the code into multiple ALU clauses based on what sets of constants are needed in that clause. Note: This is a candidate for the 7.10 branch. Signed-off-by: Alex Deucher <[email protected]>
* r300/compiler: Fix black terrain in Civ4Tom Stellard2011-01-041-8/+1
| | | | | | | rc_inst_can_use_presub() wasn't checking for too many RGB sources in Alpha instructions or too many Alpha sources in RGB instructions. Note: This is a candidate for the 7.10 branch.
* glsl: Check that integer vertex outputs are qualified with flatChad Versace2011-01-041-0/+19
| | | | | | | | | | Perform this check in ast_declarator_list::hir(). From section 4.3.6 of the GLSL 1.30 spec: "If a vertex output is a signed or unsigned integer or integer vector, then it must be qualified with the interpolation qualifier flat."
* glsl: Allow redeclaration of gl_Color and its variants in GLSL 1.30Chad Versace2011-01-041-0/+21
| | | | | | | | | | | | | Allow redeclaration of the following built-in variables with an interpolation qualifier in language versions >= 1.30: * gl_FrontColor * gl_BackColor * gl_FrontSecondaryColor * gl_BackSecondaryColor * gl_Color * gl_SecondaryColor See section 4.3.7 of the GLSL 1.30 spec.
* glsl: Comment ast_type_qualifier.flagsChad Versace2011-01-041-1/+5
|
* intel: When validating an FBO's combined depth/stencil, use the given FBO.Eric Anholt2011-01-041-4/+4
| | | | | | | We were looking at the current draw buffer instead to see whether the depth/stencil combination matched. So you'd get told your framebuffer was complete, until you bound it and went to draw and we decided that it was incomplete.
* intel: Fix segfaults from trying to use _ColorDrawBuffers in FBO validation.Eric Anholt2011-01-041-4/+16
| | | | | | | | | | | | | | The _ColorDrawBuffers is a piece of computed state that gets for the current draw/read buffers at _mesa_update_state time. However, this function actually gets used for non-current draw/read buffers when checking if an FBO is complete from the driver's perspective. So, instead of trying to just look at the attachment points that are currently referenced by glDrawBuffers, look at all attachment points to see if they're driver-supported formats. This appears to actually be more in line with the intent of the spec, too. Fixes a segfault in my upcoming fbo-clear-formats piglit test, and hopefully bug #30278
* Merge remote branch 'origin/nvc0'Christoph Bumiller2011-01-0448-11/+17358
|\
| * nvc0: fix index size method value for u8 indicesChristoph Bumiller2011-01-041-8/+2
| |
| * nvc0: set the correct FP header bit for multiple colour outputsChristoph Bumiller2011-01-041-1/+1
| |
| * nvc0: delete memory caches and fence on screen destructionChristoph Bumiller2011-01-044-0/+50
| |
| * nvc0: use mov instead of ld for scalar const loadsChristoph Bumiller2011-01-041-1/+6
| |
| * nvc0: fix resource unmap after vertex pushChristoph Bumiller2011-01-043-10/+8
| |
| * nvc0: use the proper typed opcodes in constant foldingChristoph Bumiller2011-01-041-86/+92
| |
| * nvc0: demagic GP invocation count bitfieldChristoph Bumiller2011-01-041-2/+16
| |
| * nvc0: rewrite the 9097 GRAPH macrosChristoph Bumiller2011-01-042-177/+192
| |
| * drm/nvc0: don't un-bind every subchannel on initBen Skeggs2010-12-301-5/+0
| | | | | | | | | | | | | | The initial values in the grctx are 0x0000 anyway, and re-binding them all to 0x0000 destroys some init done by the nouveau drm. Signed-off-by: Ben Skeggs <[email protected]>
| * nvc0: reference the vertex buffersChristoph Bumiller2010-12-271-0/+6
| |
| * nvc0: reenable some shader optimizationsChristoph Bumiller2010-12-272-51/+63
| | | | | | | | CSE and constants folding.
| * nvc0: use VTX_ATTR for stride 0 vertex attributesChristoph Bumiller2010-12-271-30/+69
| |
| * nvc0: implement VRAM buffer transfers with bounce buffersChristoph Bumiller2010-12-2712-116/+336
| |
| * nvc0: init miptree transfer layer strideChristoph Bumiller2010-12-271-1/+2
| |
| * nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINESChristoph Bumiller2010-12-231-0/+2
| |
| * nvc0: fix layer stride stateChristoph Bumiller2010-12-233-18/+30
| |
| * nvc0: use most defs/decls from nouveau_pushbuf.hChristoph Bumiller2010-12-238-118/+29
| |
| * nvc0: remove unused 'buf' parameter in pipe_buffer_unmapBen Skeggs2010-12-211-1/+1
| |
| * nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of placesBen Skeggs2010-12-212-2/+2
| |
| * nvc0: fence.bo is mappable, mark it as suchBen Skeggs2010-12-211-1/+2
| |
| * Merge remote branch 'origin/master' into nvc0-newBen Skeggs2010-12-2129-72/+72
| |\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
| * | nvc0: s/INLIN_RING/IMMED_RINGChristoph Bumiller2010-12-195-11/+11
| | |
| * | nvc0: improve shader support for texturingChristoph Bumiller2010-12-196-45/+133
| | | | | | | | | | | | Fixed shadow and cube texture fetches, add array texture fetches.
| * | nvc0: adapt to array textures interface changeChristoph Bumiller2010-12-199-201/+251
| | |
| * | Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller2010-12-19862-40330/+47346
| |\ \
| * | | nvc0: fix clipping with scissors/viewportChristoph Bumiller2010-12-193-11/+56
| | | | | | | | | | | | | | | | | | | | Also setup optional path to use proper primitive clipping instead, which is probably slower.
| * | | nvc0: use BIND_RING to set subchannel classesChristoph Bumiller2010-12-192-13/+25
| | | |
| * | | nvc0: switch to the proper constants upload pathChristoph Bumiller2010-12-192-6/+7
| | | | | | | | | | | | | | | | Makes things suddenly go surprisingly fast.
| * | | nvc0: add the index buffer offset where missingChristoph Bumiller2010-12-193-1/+4
| | | |
| * | | nvc0: support user clip planesChristoph Bumiller2010-12-117-3/+96
| | | |
| * | | nvc0: enable vertex color clampingChristoph Bumiller2010-12-112-2/+4
| | | |
| * | | nvc0: fix FACE state and and handle FACE sysval/varying offsetChristoph Bumiller2010-12-103-19/+23
| | | |
| * | | nvc0: fix branching opsChristoph Bumiller2010-12-104-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | - bra is PC relative - jump to else condition was inverted - handle integer comparisons
| * | | nvc0: call grobj_alloc for all used classesChristoph Bumiller2010-12-092-3/+30
| | | | | | | | | | | | | | | | | | | | Only doing this to notify the DRM that we need a PGRAPH context, nvc0 hardware doesn't use actual grobjs anymore.
| * | | nvc0: write texture address to TIC with a RELOCChristoph Bumiller2010-12-091-4/+19
| | | | | | | | | | | | | | | | Direct access to the bo address requires an API change.
| * | | nvc0: use tile flags in a way compatible with nouveauChristoph Bumiller2010-12-093-23/+29
| | | |
| * | | nvc0: buffer suballocation with a primitive slab allocatorChristoph Bumiller2010-12-0918-149/+807
| | | |
| * | | nvc0: generate shader header for geometry programsChristoph Bumiller2010-12-091-7/+56
| | | |