summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2011-01-04mesa: Make _mesa_choose_tex_format() choose formats out of a supported table.Eric Anholt
Right now this is just tweaking the current code to look at the table. Choosing actually supported formats will come later.
2011-01-04mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010Marek Olšák
Use make_temp_float_image instead of _make_temp_chan_image. The latter converts the texture to 8 bits/component, losing 2 bits.
2011-01-04st/mesa: advertise GL_ARB_half_float_pixelMarek Olšák
This extension doesn't appear to need any driver-specific parts.
2011-01-04r300/compiler: disable the rename_regs pass for loopsMarek Olšák
This workaround fixes rendering of kwin thumbnails. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-04r300/compiler: Fix black terrain in Civ4Tom Stellard
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.
2011-01-04intel: When validating an FBO's combined depth/stencil, use the given FBO.Eric Anholt
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.
2011-01-04intel: Fix segfaults from trying to use _ColorDrawBuffers in FBO validation.Eric Anholt
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
2011-01-04st/mesa: skip glDrawPixels/glBitmap-related code for ES buildBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560
2011-01-04osmesa: pass context to _mesa_update_framebuffer_visual()Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32814
2011-01-04i965: Use last vertex convention for quad provoking vertex on sandybridgeZhenyu Wang
Until we know how hw converts quads to polygon in beginning of 3D pipeline, for now unconditionally use last vertex convention. Fix glean/clipFlat case.
2011-01-03mesa: Include mtypes.h in renderbuffer.h.Vinson Lee
Include mtypes.h for gl_buffer_index symbol. This is a follow-up to commit 65da73c5f87bc39c76ba9e45945da95fff354308.
2011-01-04i965: Correct comment for gen6 fb write control message settingZhenyu Wang
Remove incorrect headless comment for gen6 fb write message. Note current SIMD16 mode has already done right for control message.
2011-01-04i965: Fix provoking vertex select in clip state for sandybridgeZhenyu Wang
Triangle fan provoking vertex for first convention should be 'vertex 1' in sandybridge clip state. Partly fix glean/clipFlat case
2011-01-03mesa: fix AL44 texture fetch function nybble -> float conversionBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32804
2011-01-03intel: Use tri clears when we don't know how to blit clear the format.Eric Anholt
Bug #32207. Fixes ARB_texture_rg/fbo-clear-formats (see my fbo-clear-formats piglit branch currently)
2011-01-03mesa: Also report the number of renderbuffer alpha bits for GL_LUMINANCE_ALPHA.Eric Anholt
Noticed by code inspection.
2011-01-03mesa: Also report renderbuffer red/green size for GL_RED and GL_RG.Eric Anholt
Noticed by code inspection.
2011-01-03mesa: Use the common logic for "is this baseformat a color format?"Eric Anholt
When figuring out whether a renderbuffer should be used to set the visual bits of an FBO, we were missing important baseformats like GL_RED, GL_RG, and GL_LUMINANCE.
2011-01-03mesa: Allow color renderbuffers besides just RGB and RGBA.Eric Anholt
We did so already for textures to do ARB_fbo's GL_ALPHA/GL_LUMINANCE/etc. support and for ARB_texture_rg's GL_RED and GL_RG, but this path was missed.
2011-01-03mesa: Update comment about the list of BaseFormats for gl_formats.Eric Anholt
2011-01-03intel: Handle forced swrast clears before other clear bits.Eric Anholt
Fixes a potential segfault on a non-native depthbuffer, and possible accidental swrast fallback on extra color buffers.
2011-01-03st/mesa: fix renderbuffer pointer check in st_Clear()Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=30694 NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-03mesa: s/GLuint/gl_buffer_index/Brian Paul
2011-01-03st/mesa: 80-column wrappingBrian Paul
2011-01-03st/mesa: 80-column wrappingBrian Paul
2011-01-03radeon: fix build on non-KMS systems.Dave Airlie
Reported on irc by adamk.
2010-12-31st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().Henri Verbeet
2010-12-30x86: Clean up header file inclusion in mmx.h.Vinson Lee
2010-12-30tnl: Clean up header file inclusion in t_vertex.h.Vinson Lee
2010-12-30vbo: Clean up header file inclusion in vbo.h.Vinson Lee
2010-12-30tnl: Clean up header file inclusion in t_vp_build.h.Vinson Lee
2010-12-30tnl: Clean up header file inclusion in tnl.h.Vinson Lee
2010-12-28i965: Do lowering of array indexing of a vector in the FS.Eric Anholt
Fixes a regression in ember since switching to the native FS backend, and the new piglit tests glsl-fs-vec4-indexing-{2,3} for catching this.
2010-12-28i965: Fix regression in FS comparisons on original gen4 due to gen6 changes.Eric Anholt
Fixes 26 piglit cases on my GM965.
2010-12-28i965: Factor out the ir comparision to BRW_CONDITIONAL_* code.Eric Anholt
2010-12-28i965: Fix occlusion query on sandybridgeZhenyu Wang
Clear target query buffer fixed occlusion query on sandybridge. https://bugs.freedesktop.org/show_bug.cgi?id=32167
2010-12-28Revert "i965: upload multisample state for fragment program change"Zhenyu Wang
This reverts commit de6fd527a545f8344e074312544517d05573fb72. Revert this workaround as it seems the real trouble is caused by lineloop, which doesn't require GS convert on sandybridge actually.
2010-12-27i965: Internally enable GL_NV_blend_square on ES2.Kenneth Graunke
Hopefully should fix bug #32520.
2010-12-27i965: don't spawn GS thread for LINELOOP on SandybridgeXiang, Haihao
LINELOOP is converted to LINESTRIP at the beginning of the 3D pipeline. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32596
2010-12-27i965: Flatten if-statements beyond depth 16 on pre-gen6.Kenneth Graunke
Gen4 and Gen5 hardware can have a maximum supported nesting depth of 16. Previously, shaders with control flow nested 17 levels deep would cause a driver assertion or segmentation fault. Gen6 (Sandybridge) hardware no longer has this restriction. Fixes fd.o bug #31967.
2010-12-27glsl: Support if-flattening beyond a given maximum nesting depth.Kenneth Graunke
This adds a new optional max_depth parameter (defaulting to 0) to lower_if_to_cond_assign, and makes the pass only flatten if-statements nested deeper than that. By default, all if-statements will be flattened, just like before. This patch also renames do_if_to_cond_assign to lower_if_to_cond_assign, to match the new naming conventions.
2010-12-25swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in s_texfilter.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in s_texcombine.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in s_masking.h.Vinson Lee
2010-12-25intel: Only do frame throttling at glFlush time when using frontbuffer.Eric Anholt
This is the hack for input interactivity of frontbuffer rendering (like we do for backbuffer at intelDRI2Flush()) by waiting for the n-2 frame to complete before starting a new one. However, for an application doing multiple contexts or regular rebinding of a single context, this would end up lockstepping the CPU to the GPU because every unbind was considered the end of a frame. Improves WOW performance on my Ironlake by 48.8% (+/- 2.3%, n=5)
2010-12-24swrast: Clean up header file inclusion in s_logic.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_fragprog.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_span.h.Vinson Lee