summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04r600g: support up to 64 shader constantsAlex Deucher
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 <alexdeucher@gmail.com>
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-04glsl: Check that integer vertex outputs are qualified with flatChad Versace
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."
2011-01-04glsl: Allow redeclaration of gl_Color and its variants in GLSL 1.30Chad Versace
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.
2011-01-04glsl: Comment ast_type_qualifier.flagsChad Versace
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-04Merge remote branch 'origin/nvc0'Christoph Bumiller
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-04nvc0: fix index size method value for u8 indicesChristoph Bumiller
2011-01-04nvc0: set the correct FP header bit for multiple colour outputsChristoph Bumiller
2011-01-04nvc0: delete memory caches and fence on screen destructionChristoph Bumiller
2011-01-04nvc0: use mov instead of ld for scalar const loadsChristoph Bumiller
2011-01-04nvc0: fix resource unmap after vertex pushChristoph Bumiller
2011-01-04nvc0: use the proper typed opcodes in constant foldingChristoph Bumiller
2011-01-04nvc0: demagic GP invocation count bitfieldChristoph Bumiller
2011-01-04nvc0: rewrite the 9097 GRAPH macrosChristoph Bumiller
2011-01-04i965g: include brw_types.h instead of GL/gl.hBrian Paul
Alternately, some search&replace could be used to replace all occurances of GLint with int, etc. in the driver.
2011-01-04osmesa: pass context to _mesa_update_framebuffer_visual()Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32814
2011-01-04llvmpipe: Include p_compiler.h in lp_scene_queue.h.Vinson Lee
Include p_compiler.h for boolean symbol.
2011-01-04llvmpipe: Include p_compiler.h in lp_perf.h.Vinson Lee
Include p_compiler.h for int64_t symbol.
2011-01-04llvmpipe: Include missing headers in lp_bld_depth.hVinson Lee
Include p_compiler.h for boolean symbol. Include p_state.h for pipe_stencil_state symbol.
2011-01-04llvmpipe: Include p_compiler.h in lp_bld_alpha.h.Vinson Lee
Include p_compiler.h for boolean symbol. Add forward declaration for gallivm_state struct.
2011-01-04i965g: Include p_compiler.h in intel_decode.h.Vinson Lee
Include p_compiler.h for uint32_t symbol.
2011-01-04i965g: Include gl.h in intel_structs.h.Vinson Lee
Include gl.h for OpenGL symbols.
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: Bump libdrm configure.ac requirement for the gen6 BLT ring support.Eric Anholt
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-04autoconf: Fix --with-driver=xlib --enable-openvg.Chia-I Wu
st/egl should be enabled with --enable-openvg even the driver is xlib or osmesa. Also, GLX_DIRECT_RENDERING should not be defined because libdrm is not checked.
2011-01-04docs: Add an example for EGL_DRIVERS_PATH.Chia-I Wu
EGL_DRIVERS_PATH can be set to test EGL without installation.
2011-01-03radeon: fix build on non-KMS systems.Dave Airlie
Reported on irc by adamk.
2011-01-01glsl: Really remove unused "instructions" parameter.Kenneth Graunke
I forgot about this file, and it didn't show up until I tried to do "make builtins" from a clean build.
2011-01-01glsl: Remove unused "instructions" parameter.Kenneth Graunke
I think was used long ago, when we actually read the builtins into the shader's instruction stream directly, rather than creating a separate shader and linking the two. It doesn't seem to serve any purpose now.
2010-12-31mapi: add missing newline in error messageBrian Paul
2010-12-31egl: add missing case in _eglError()Brian Paul