summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r300g: fix glean occlusion query testDave Airlie2010-03-231-0/+2
|
* glx: Suppress BadDrawable from DRI2CopyRegionKristian Høgsberg2010-03-221-1/+14
| | | | | | | | | | This can happen when an X window is destroyed behind our back. We use DRI2CopyRegion behind the scenes in many places (like flushing the fake front to the real front) so we have to ignore X errors triggered in that case. The glean test cases trigger this consistently as they don't destroy the GLX drawable nicely, they just destroy the X window.
* gallium/docs: Cleanup and clarify point ras info.Corbin Simpson2010-03-221-32/+44
| | | | ...This state's interdependent? Really? Needs moar cleanup.
* radeong: Always initialize this variable.Corbin Simpson2010-03-221-2/+2
| | | | May or may not be responsible for slight increases in ipers FPS.
* r300g: Cleanup a few old warnings.Corbin Simpson2010-03-221-24/+9
| | | | | Those paths aren't important anymore, and a debugging warning won't stop a hardlock anyway.
* GLX/OML: honor OML semantics even if target, divisor and remainder are 0Jesse Barnes2010-03-221-0/+3
| | | | | | | | | | | This change passes a remainder of 1 to the server with the DRI2SwapBuffers request, causing it to honor the OML semantics for the swap rather than falling through to glXSwapBuffers behavior. The remainder actually ends up ignored since the divisor is 0, but we need to differentiate the OML and standard behavior somehow. Reported-by: Mario Kleiner <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
* i965: Add disasm for SNB MATH opcode.Eric Anholt2010-03-221-1/+6
|
* i965: Enable normal clipping on SNB.Eric Anholt2010-03-221-1/+1
| | | | Rejecting all doesn't seem to be helping get the pipeline lit up.
* i965: Force single program flow in SNB GS, to match gen4 GS.Eric Anholt2010-03-221-1/+2
|
* i965: Correct copy and wasted field shifts for SNB GS URB.Eric Anholt2010-03-221-2/+2
|
* i965: Enable VS on SNB.Eric Anholt2010-03-221-1/+2
| | | | | | | It appears that the thing that was killing VS threads was the gratuitous NOP that replaced the gratuitous jump from OPCODE_END to the nearby OPCODE_END implementation. With that gone, we can move on to the rest of the pipeline.
* i965: Remove gratuitous jump or nop from OPCODE_END to vertex emit.Eric Anholt2010-03-221-40/+3
| | | | | | Just emit the URB write at END time. Subroutine code that sits after OPCODE_END won't be executed since we've ended the thread at the point that the URB write is done.
* i965: Ignore execution mask for the mov(m0, g0) of VS URB write header on SNB.Eric Anholt2010-03-221-0/+3
| | | | | Otherwise, we may not get the FFTID set up which would break freeing of resources.
* i965: Allow FS constants to be used as immediates instead of push/pull.Eric Anholt2010-03-223-7/+58
| | | | | | | The hope is to later take advantage of the reduced constant usage to free up regs. This only covers the GLSL path at the moment, because the brw_wm_emit path doesn't get the information as to whether a float value is a constant or a uniform.
* i965: Add INTEL_DEBUG=glsl_force to force brw_wm_glsl.c.Eric Anholt2010-03-223-0/+5
| | | | | I keep finding the desire to force this path to debug it instead of cooking up goofy-looking testcases to do so.
* i965: Optimize OPCODE_CMP by using BRW_SEL to choose results.Eric Anholt2010-03-221-5/+1
| | | | Tested with piglit glsl-fs-sqrt-branch, fp-cmp.vpfp.
* st/glx: fix depth/stencil format selection codeBrian Paul2010-03-221-7/+12
| | | | | | | | | | | | | This fixes a pretty big performance regression caused by commit 3475e88442c16fb2b50b903fe246b3ebe49da226. When the user does not request a stencil buffer it's important that we don't use a depth/stencil format (or at least make it our last choice). If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined depth/stencil buffer, that causes us to hit the clear_with_quad() path which can be much, much slower than calling pipe_context::clear(). Also, try to use a shallower depth format before a deeper one.
* st/mesa: rename st_framebuffer() to st_ws_framebuffer()Brian Paul2010-03-221-9/+12
| | | | Be clear that this function is not just a cast wrapper.
* intel: Call intel_prepare_render() before looking up regions.Kristian Høgsberg2010-03-223-6/+9
| | | | Fixes #27213.
* st/mesa: Remove unnecessary headers.Vinson Lee2010-03-222-3/+0
|
* glslcompiler: fix build againBrian Paul2010-03-221-7/+2
| | | | | Simply use the libglapi.a archive instead of individual .o files. Fixes the non-debug build.
* cso: Remove unnecessary header.Vinson Lee2010-03-221-1/+0
|
* dri/nouveau: Rectangle texture fixes.Francisco Jerez2010-03-222-28/+46
|
* dri/nouveau: Some render to texture fixes.Francisco Jerez2010-03-221-5/+1
|
* dri/nouveau: Fix swrast fallbacks when the read and draw buffers aren't the ↵Francisco Jerez2010-03-221-10/+20
| | | | same.
* dri/nouveau: Expose EXT_framebuffer_blit.Francisco Jerez2010-03-222-0/+2
|
* dri/nouveau: Plug in some mesa_meta functions instead of the swrast variants.Francisco Jerez2010-03-221-0/+3
|
* dri/nouveau: Emit dirty states on nouveau_validate_framebuffer.Francisco Jerez2010-03-221-1/+3
| | | | | Fixes broken intermediate frames when a window is being resized (regression caused by 878eef8c4).
* nvfx: fix sampler views supportLuca Barbieri2010-03-223-3/+2
| | | | The code was half converted, resulting in texturing being totally broken.
* glslcompiler: fix build breakageBrian Paul2010-03-221-0/+1
|
* Merge branch '7.8'Brian Paul2010-03-2212-116/+77
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
| * glslcompiler: fix build breakageBrian Paul2010-03-221-1/+2
| |
| * mesa: Add end of line to the end of a debug output.Pauli Nieminen2010-03-221-1/+1
| |
| * r200: Fix emit size prediction to account elt splitting.Pauli Nieminen2010-03-212-3/+4
| | | | | | | | | | Emit sizes prediction didn't account for render splitting in hwtnl path.
| * r200: Don't flush when closing elts in KMS.Pauli Nieminen2010-03-211-1/+2
| | | | | | | | | | | | | | Flush in middle of rendering in KMS is not allowed because buffers are discarded in flush. Fixes crash when emiting split indices with RADEON_DEBUG=all.
| * r200: Fix swtnl fallback to flush pending rendering before transition.Pauli Nieminen2010-03-211-4/+14
| | | | | | | | | | | | | | | | Flush after transition would emit wrong state that could cause wrong state emited for pending rendering operation. Fixes wan once from extrement tuxracer that is using per vertex materials.
| * r200: Fix mixed indetion in r200TclFallback.Pauli Nieminen2010-03-211-21/+20
| |
| * vbo: Fix vbo_split_copy to pass correct max_index to draw.Pauli Nieminen2010-03-211-1/+1
| | | | | | | | | | | | | | | | vbo_split_copy was passing one past the max_index to draw function which caused _tnl_draw_prims function to read uninitialized values from copied array. Bug was spoted in valgrind report of progs/tests/cva_huge.
| * r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák2010-03-201-3/+2
| |
| * glapi: Fix aliases to non-static functions.Chia-I Wu2010-03-212-5/+5
| | | | | | | | | | | | | | The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
| * glapi: Correctly generate static disatches for X86.Chia-I Wu2010-03-202-64/+6
| | | | | | | | | | The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
| * r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák2010-03-191-20/+4
| | | | | | | | Fixing RGBA 4ub vertex colors.
| * drivers/x11: add PUBLIC qualifier to more API functionsBrian Paul2010-03-191-7/+8
| | | | | | | | Based on a patch from Tom Fogal.
| * intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick2010-03-181-1/+1
| | | | | | | | | | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
| * intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.Ian Romanick2010-03-181-1/+3
| |
| * Use bit-wise not instead of logical not.Ian Romanick2010-03-181-1/+1
| | | | | | | | | | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
| * st/mesa: s/unpack/pack/ to be more consistentBrian Paul2010-03-181-6/+6
| |
| * intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg2010-03-181-1/+1
| | | | | | | | | | | | | | | | | | The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
| * cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATEBrian Paul2010-03-171-0/+2
| | | | | | | | | | With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is.
| * cell: be more conservative in cell_is_format_supported()Brian Paul2010-03-171-5/+9
| | | | | | | | | | This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 which changed the depth/stencil format we were trying to use.