- Apr 30, 2013
-
-
Ian Romanick authored
Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Ian Romanick authored
Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- Apr 29, 2013
-
-
Chris Forbes authored
This is roughly a backport of Eric's commit 0967c362. We avoided assigning a slot in the VUE map for gl_ClipVertex, but left the bit set in outputs_written, producing horrible confusion further down the pipe. Mostly fixes rendering in source games, and probably in Freespace 2 SCP. No Piglit regressions on Ironlake. Signed-off-by:
Chris Forbes <chrisf@ijw.co.nz> V2: Mask out the bit, not its index. Strangely, the game still worked with that wrong, but rendering of pretty much anything else was completely trashed. Reviewed-by:
Paul Berry <stereotype441@gmail.com> Reviewed-by:
Jordan Justen <jordan.l.justen@intel.com> Tested-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- Apr 27, 2013
-
-
We don't support pre-2.6 kernels anyway - the install docs say 2.6.28 for DRI - and apparently this confuses ld.so's sorting when multiple libGLs are installed. Just remove it. Note: this is a candidate for the stable branches. Acked-by:
Kenneth Graunke <kenneth@whitecape.org> Signed-off-by:
Adam Jackson <ajax@redhat.com> (cherry picked from commit 904b0382)
-
- Apr 22, 2013
-
-
Alex Deucher authored
There are too many cases were we end up with lockups. Once we sort out the remaining issues on master, they can be backported and hyperz can be re-enabled on 9.1 Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- Apr 12, 2013
-
-
Tom Stellard authored
https://bugs.freedesktop.org/show_bug.cgi?id=60503 NOTE: This is a candidate for the stable branches. (cherry picked from commit c6a86fb5)
-
- Apr 11, 2013
-
-
This fixes a bug introduced in commit 25845371 and triggered whenever "rb" is NULL. Fixes at least one cause bug #59445: [SNB/IVB/HSW Bisected]Oglc draw-buffers2(advanced.blending.none) segfault https://bugs.freedesktop.org/show_bug.cgi?id=59445 (Though segfaults are still possible in that test case, but they have been present since before commit 25845371 which is what's being fixed here.) Reviewed-by:
Eric Anholt <eric@anholt.net> [jordan.l.justen@intel.com: fixes Anomaly Warzone Earth crash at title screen] Tested-by:
Jordan Justen <jordan.l.justen@intel.com>
-
- Apr 08, 2013
-
-
Ian Romanick authored
Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Ian Romanick authored
Since the case was missing bec4->get_scalar_type() would return bvec4, but vec4->get_scalar_type() would return float. NOTE: This is a candidate for stable branches. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Jordan Justen <jordan.l.justen@intel.com> (cherry picked from commit c770faea)
-
Martin Andersson authored
Virtual address is used for PIPE_QUERY_SO* queries in r600_emit_query_begin, but not in r600_emit_query_end. This will trigger a GPU fault when one of those queries is made and virtual address is enabled. Note: this is a candidate for the 9.1 branch Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 92855bcc)
-
Emma Anholt authored
Since half of ir_validate uses asserts() (the other using printf() then abort()), there's not much use to calling it in a release build. Cuts 6.3% of the startup time of TF2. NOTE: This is a candidate for the stable branches. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 712bac1f)
-
Marek Olšák authored
NOTE: This is a candidate for the stable branches. Reviewed-by:
Brian Paul <brianp@vmware.com> Tested-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit b2a4573c)
-
- Apr 06, 2013
-
-
Matt Turner authored
NOTE: This is a candidate for the 9.1 branch. Fixes piglit's texture-immutable-levels test. Reported-by:
Marek Olšák <maraeo@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 12dc4be8)
-
Adam Jackson authored
Note: This is a candidate for the stable branches. Signed-off-by:
Adam Jackson <ajax@redhat.com> (cherry picked from commit 38aa8ec9)
-
Michel Dänzer authored
Fixes random failures with piglit glsl-max-varyings. NOTE: This is a candidate for the 9.1 branch. Reviewed-by:
Christian König <christian.koenig@amd.com> (cherry picked from commit 032e5548)
-
Kenneth Graunke authored
Commit 33599433 began setting the texture swizzle mode to XYZ1 for RED, RG, and RGB textures in order to force alpha to 1.0 in case we actually stored the texture as RGBA. This had a unforseen performance implication: the shader precompile assumes that the texture swizzle mode will be XYZW for non-shadow sampler types. By setting it to XYZ1, this means every shader used with a RED, RG, or RGB texture has to be recompiled. This is a very common case. Unfortunately, there's no way to improve the precompile, since RGBA textures still need XYZW, and there's no way to know by looking at the shader source what texture formats might be used. However, we only need to smash alpha to 1.0 if the texture's memory format actually has alpha bits. If not, the sampler already returns 1.0 for us without any special swizzling. XRGB8888, for example, is a very common case where this occurs. This partially fixes a performance regression since commit 33599433. More work is required to fully fix it in all cases. This at least helps Warsow. NOTE: This is a candidate for the 9.1 branch. Reviewed-by:
Carl Worth <cworth@cworth.org> Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit d86efc07)
-
Maarten Lankhorst authored
NOTE: This is a candidate for the 9.1 branch. Tested-by:
Vincent Lejeune <vljn@ovi.com> Signed-off-by:
Maarten Lankhorst <maarten.lankhorst@canonical.com> (cherry picked from commit 7c3d8301)
-
Andreas Boll authored
Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/15-fix-oot-build.diff;h=7040999a22d3937d0578cfd85ee2c71d7dc614bb;hb=refs/heads/ubuntu%2B1 NOTE: This is a candidate for the 9.1 branch. Acked-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit 182895c4)
-
Andreas Boll authored
Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/14-fix-osmesa-build.diff;h=00581d0e1833c5492d9050e1bf3d5e658cad782e;hb=refs/heads/ubuntu%2B1 v2: Move the added line immediately after -I$(top_srcdir)/src/mapi NOTE: This is a candidate for the 9.1 and 9.0 branches. Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit 92e6260c)
-
Andreas Boll authored
Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/10-hurd-configure-tweaks.diff;h=984e17df1b8afdf8e4b36bee96aa5ab6a5691021;hb=refs/heads/ubuntu%2B1 Thanks to Pino Toscano. v2: Don't bother with x86_64. AFAICT GNU/Hurd doesn't support it so far. NOTE: This is a candidate for stable branches. Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Acked-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit 06fff296)
-
Andreas Boll authored
Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch;h=d3d6c1d7fec3c72ecf320706167deb61c52636c3;hb=refs/heads/ubuntu%2B1 Fixes Debian bug #349437. Patch written by David Nusinow. NOTE: This is a candidate for stable branches. Acked-by:
Kenneth Graunke <kenneth@whitecape.org> Acked-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit 7962f28c)
-
Roland Scheidegger authored
If we're in some conditional or loop we must not return, or the code after the condition is never executed. (v2): And, we also can't just continue as nothing happened, since the mask update code would later check if we actually have a mask, so we need to remember that there was a return in main where we didn't exit (to illustrate this, a ret in a if clause would cause a mask update which is still ok as we're in a conditional, but after the endif the mask update code would drop the mask hence bringing execution back to pixels which should have their execution mask set to zero by the ret). Thanks to Christoph Bumiller for figuring this out. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=62357 . Note: This is a candidate for the stable branches. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit 5af7b459)
-
Andreas Boll authored
Ported from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/119-libllvmradeon-link.patch;h=ee47f8a07dbf33c32f8b57faed923680ed6648fb;hb=refs/heads/ubuntu%2B1 Fixes a regression introduced with f70c3853 NOTE: This is a candidate for the 9.1 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62434 Signed-off-by:
Maarten Lankhorst <maarten.lankhorst@canonical.com> (cherry picked from commit 36320bfa)
-
Maarten Lankhorst authored
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Fix formatting - use one CFLAG per line NOTE: This is a candidate for the 9.1 branch. Signed-off-by:
Maarten Lankhorst <m.b.lankhorst@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59238 Reviewed-by:
Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit f70c3853)
-
Paul Berry authored
Fast depth clears have the same depth/stencil alignment requirements as other drawing operations. Therefore, we need to call brw_workaround_depthstencil_alignment() from both the clear and drawing paths. Without this fix, we get image corruption if the following conditions hold: (a) the first ever drawing operation to a depth miplevel (or the first drawing operation after having used the texture for sampling) is a clear, (b) the depth miplevel has a size that is eligible for fast depth clears, and (c) the depth miplevel has an offset within the miptree that isn't 8x8 aligned. Fixes piglit "depthstencil-render-miplevels" tests with size 273. NOTE: This is a candidate for stable branches Reviewed-by:
Chad Versace <chad.versace@linux.intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Eric Anholt <eric@anholt.net> (cherry picked from commit c5d58279)
-
Kenneth Graunke authored
Untyped Atomic Operation messages are illegal for non-RAW formats. The IVB hardware proceeds happily (after all, who cares what the format of the surface is if you're doing untyped ops on it?), but later hardware apparently doesn't. The simulator for gen7 does complain, though. v2: Rebase against updates to previous patches. (by anholt) NOTE: This is a candidate for the 9.1 branch. Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Paul Berry <stereotype441@gmail.com> Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 91df4d74)
-
Kenneth Graunke authored
This is basically a copy and paste of gen7_create_constant_surface, but with the parameters filled in to offer a simpler interface. It will diverge shortly. I didn't bother adding it to the vtable for now since shader time is only exposed on Gen7+. v2: Replace tabs in the new code (by anholt) Add back dropped memset() and add a comment about HSW channel selects. NOTE: This is a candidate for the 9.1 branch. Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Paul Berry <stereotype441@gmail.com> Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 125b34cf)
-
Kenneth Graunke authored
Haswell's "Data Cache" data port is a single unit, but split into two SFIDs to allow for more message types without adding more bits in the message descriptor. Untyped Atomic Operations are now message 0010 in the second data cache data port, rather than 6 in the first. v2: Use the #defines from the previous commit. (by anholt) NOTE: This is a candidate for the 9.1 branch. Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (v1) (cherry picked from commit f27a220c)
-
Emma Anholt authored
We were sparsely using some of these message types, but I'll just fill them all in now. It will be used for fixing shader_time on HSW. v2: Add missing MEDIA_BLOCK_READ. NOTE: This is a candidate for the 9.1 branch. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit a2d08f17)
-
Anuj Phogat authored
Framebuffer blitting operation should be skipped if any of the dimensions (width/height) of src/dst rect is zero. V2: Move the dimension check after error checking in _mesa_BlitFramebuffer. Fixes: fbblit(negative.nullblit.zeroSize) in Intel oglconform https://bugs.freedesktop.org/show_bug.cgi?id=59495 Note: Candidate for all the stable branches. Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com> (cherry picked from commit d78dcdf1)
-
Jose Fonseca authored
NOTE: Candidate for the stable branches. Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 57cd1d14)
-
Ian Romanick authored
Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Jose Fonseca authored
This is a squash-commit of the two commits listed below. The first introduced a 'make check' failure, and the second fixed it. mesa,gallium,egl,mapi: One definition of C99 inline/__func__ to rule them all. We were in four already... NOTE: Candidate for the stable branches. Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 70fe7c6d) And: tests: Add $(top_srcdir)/include to AM_CPPFLAGS. Fixes this build error with make check. CC collision.o In file included from ../../../../../src/mesa/main/hash_table.h:34:0, from collision.c:31: ../../../../../src/mesa/main/compiler.h:51:53: fatal error: c99_compat.h: No such file or directory Signed-off-by:
Vinson Lee <vlee@freedesktop.org> (cherry picked from commit a6bb7a94)
-
Jose Fonseca authored
Fixes autotools build failure. Not sure if there are more, as I have difficulties in building the full tree. (cherry picked from commit 7bff1cc3)
-
- Apr 04, 2013
-
-
Christoph Bumiller authored
-
Christoph Bumiller authored
Conflicts: src/gallium/drivers/nvc0/nvc0_surface.c
-
Christoph Bumiller authored
We send position.z == 0, DEPTH_RANGE may be some arbitrary range not including 0 (for exmaple in piglit's hiz tests).
-
Christoph Bumiller authored
-
- Mar 26, 2013
-
-
Marek Olšák authored
"Conditional jump or move depends on uninitialised value(s)" Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 9cec5ede)
-
- Mar 25, 2013
-
-
Emma Anholt authored
We were handling the the dependency workaround for the first written reg of a send preceding the one we're fixing up, but didn't consider the other regs. Thus if you had two sampler calls that got allocated to the same set of regs, one might, rarely, ovewrite the other. This was occurring in XBMC's GLSL shaders. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44567 NOTE: This is a candidate for the stable branches. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 4dc7e6dc)
-