summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-08r300/compiler: saturate Z before the shadow comparisonMarek Olšák
This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31159 NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-03-07llvmpipe: clamp texcoords in lp_build_sample_compare()Brian Paul
See previous commit for more info. NOTE: This is a candidate for the 7.10 branch.
2011-03-07softpipe: clamp texcoords in sample_compare()Philip Taylor
This fixes http://bugs.freedesktop.org/show_bug.cgi?id=31159 for softpipe and fixes the piglit depth-tex-compare test. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-03-07mesa: return after invalidating renderbufferMarek Olšák
2011-03-07st/mesa: fail to alloc a renderbuffer if st_choose_renderbuffer_format failsMarek Olšák
This fixes: state_tracker/st_format.c:401:st_pipe_format_to_mesa_format: Assertion `0' failed.
2011-03-07mesa: invalidate framebuffer if internal format of renderbuffer is changedMarek Olšák
RenderTexture doesn't have to be called in invalidate_rb, I guess.
2011-03-07mesa: initialize DummyBufferObject's mutexBrian Paul
The mutex's fields were all zeros. That's OK on Linux, but not Windows. NOTE: This is a candidate for the 7.10 branch.
2011-03-07st/mesa: fix incorrect version checking codeBrian Paul
2011-03-07st/glx: whitespace, 80-column fixesBrian Paul
2011-03-07mesa: remove stray _mesa_finish() call in _mesa_CopyPixels()Brian Paul
Leftover debug code from 6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd.
2011-03-07r600g: Simplify some swizzle lookups.Henri Verbeet
2011-03-07r600g: Constant buffers can contain up to 4096 constants.Henri Verbeet
2011-03-07i915: Only invert wpos when rendering to the system framebuffer.Henri Verbeet
2011-03-07i915: Derive the gl_fragment_program from i915_fragment_program.Henri Verbeet
Instead of using the current gl_fragment_program. These aren't necessarily the same, for example when translate_program() is called by i915ValidateFragmentProgram().
2011-03-07glx: Take GLPROTO_CFLAGS into account.Henri Verbeet
2011-03-07intel: check for miptree allocation failureChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-07intel: Add some defense against buffer allocation failure for subimage blitsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-07intel: Add some defense against bo allocation failureChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-07egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLEBenjamin Franzke
Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this.
2011-03-06r600g: use long long integers for instance addr calculationChristian König
Using a long for instance addr calculation isn't big enough on 32bit systems, use a long long int instead. Thanks to Rafael Monica for fixing this.
2011-03-06glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.Dave Airlie
This realigns the name of the glx bit to align with the core mesa names.
2011-03-06glx: add initial GLX_EXT_framebuffer_sRGB support.Dave Airlie
this doesn't bind to drivers yet, just enough to in theory make indirect work against other servers. I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX protocol?? Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-06pb: Add is_buffer_busy for malloc buffers.José Fonseca
2011-03-06st/wgl: No need to initialize OneTimeLock anymore.José Fonseca
2011-03-06mapi: _glthread_DECLARE_STATIC_MUTEX is not broken on Windows.José Fonseca
2011-03-06trace: Use pipe_static_mutex.José Fonseca
2011-03-06os: Fix pipe_static_mutex on Windows.José Fonseca
2011-03-06graw-gdi: Silence gcc missing initialization warning.José Fonseca
2011-03-06i915g: update TODODaniel Vetter
Comments about the deleted stuff: - openaren hang: likely caused by the vertex corruptions, fixed by Jakob. - tiling: Y-tiling works with my hw-clear branch. X-tiling works as merged to master a while ago (execbuf2 version). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-05r300g/swtcl: advertise draw_instanced and primitive_restartMarek Olšák
2011-03-05r300g: implement instanced arraysMarek Olšák
2011-03-05gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISORMarek Olšák
ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced.
2011-03-05r300g: cleanup parameters of draw functionsMarek Olšák
2011-03-05nv50: support the InstanceID system valueChristoph Bumiller
2011-03-05r600g: simplify instance addr calculationChristian König
Use MULHI_UINT instead of the more complex INT_TO_FLT->MUL->TRUNC->FLT_TO_INT
2011-03-04nvc0: Update SConscript.Vinson Lee
2011-03-04nv50: Update SConscript.Vinson Lee
2011-03-05r600g: fix fragment shader size calculationChristian König
bc.ndw is altered in r600_bc_build, respect that in fragment shader size calculation.
2011-03-04glsl: Process redeclarations before initializersIan Romanick
If an array redeclaration includes an initializer, the initializer would previously be dropped on the floor. Instead, directly apply the initializer to the correct ir_variable instance and append the generated instructions. Fixes bugzilla #34374 and piglit tests glsl-{vs,fs}-array-redeclaration. NOTE: This is a candidate for stable release branches. 0292ffb8 and 8e6cb9fe are also necessary.
2011-03-04glsl: Refactor AST-to-HIR code handling variable initializersIan Romanick
2011-03-04glsl: Refactor AST-to-HIR code handling variable redeclarationsIan Romanick
2011-03-05nv50,nvc0: get format desc for TIC entry from sampler view formatChristoph Bumiller
Fixes piglit/tex-srgb.
2011-03-05nv50,nvc0: share sampler state creationChristoph Bumiller
2011-03-05nv50,nvc0: update the format tablesChristoph Bumiller
Removed sampler view support for USCALED/SSCALED, the texture unit refuses to convert to non-normalized float. The enums are treated like UNORM. Removed duplicate format related headers.
2011-03-05nvc0: use m2mf for resource_copy_region if formats are equalChristoph Bumiller
Which is always the case, but we'll keep the 2D engine blitter nonetheless.
2011-03-05nv50,nvc0: fix texture layer issuesChristoph Bumiller
2011-03-05i915g: Use tgsi_info from fragment shader insteadJakob Bornecrantz
2011-03-04i915g: use passthough shader for empty fragment programsDaniel Vetter
The hw doesn't like it - demos/shadowtex is broken. The emitted shader isn't totally empty though, the depth write fixup gets emitted instead. Maybe that one is somewhat fishy, too? Idea for this patch from Jakob Bornecrantz. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04egl_dri2: Fix incompatible vfunc-pointer warningBenjamin Franzke
2011-03-04egl/wayland: Move wayland-egl into a subdirBenjamin Franzke
This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers.