- Mar 20, 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>
-
- Mar 18, 2013
-
-
Alex Deucher authored
On cayman, 128bpp surfaces require non_disp ordering for hw access to both linear and tiled surfaces. When we use the 3D engine we can set the non_disp ordering on both the tiled and linear sides (via CB or texture), but when we use the DMA engine, we can only set the non_disp ordering on the tiled side, so after a L2T operation with the DMA engine, the data ends up in the wrong order on the tiled side. v2: cayman/TN only v3: fix comments Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=60802 Note: this is a candidate for the 9.1 branch. Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 4409758a)
-
Alex Deucher authored
Note: this is a candidate for the stable branches. Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 03eef7f8)
-
- Mar 15, 2013
-
-
Jose Fonseca authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
scons/llvm.py defines inline globally to workaround issues with LLVM C binding headers, so the only way to is to avoid aggravating xkeycheck.h errors is to set _ALLOW_KEYWORD_MACROS. This fixes MSVC 2012 build with LLVM. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
NOTE: Candidate for the stable branches. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Michel Dänzer authored
In cases where the vertex element size is smaller than the vertex buffer stride, the previous calculation could end up 1 too low. This would result in the GPU using index 0 instead of the maximum index for those elements, which would be visible as intermittent distorted triangles. NOTE: This is a candidate for the 9.1 branch. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 4dca6025)
-
- Mar 09, 2013
-
-
Force C++ linking of i965_dri.so by adding a dummy C++ source file. Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Fixes piglit's oes_compressed_etc2_texture-miptree tests on Desktop GL. Reported-by:
Marek Olšák <maraeo@gmail.com> Reviewed-by:
Anuj Phogat <anuj.phogat@gmail.com>
-
- Mar 05, 2013
-
-
Marek Olšák authored
Tested-by:
Andreas Boll <andreas.boll.dev@gmail.com> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit c77917d3)
-
Vincent Lejeune authored
Fixes a llvm uncovered (rare) bug where consecutive exports were merged even if they have incompatible mask. (cherry picked from commit 83e7d111)
-
Vadim Girlin authored
Tested-by: Vincent Lejeune <vljn at ovi.com> Reviewed-by: Vincent Lejeune <vljn at ovi.com> (cherry picked from commit 138b5b9a)
-
Kenneth Graunke authored
The second digit was off by one, which meant we accidentally treated GTn as GT(n-1). This also meant no support for GT1 at all. NOTE: This is a candidate for stable branches. Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit b88f74d6)
-
Brian Paul authored
Even when we don't have LLVM since there's other C++ code in the resulting DRI driver object. Note: This is a candidate for the stable branches. Reviewed-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit a99eb5c8)
-
Marek Olšák authored
Any driver can implement this simple and efficient optimization. Team Fortress 2 hits it always. The DISCARD_RANGE codepath is not even used with TF2 anymore, so we avoid a ton of useless buffer copies. Tested-by:
Andreas Boll <andreas.boll.dev@gmail.com> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit 89e2898e)
-
Marek Olšák authored
Reviewed-by:
Brian Paul <brianp@vmware.com> v2: cosmetic changes based on Brian's review Tested-by:
Andreas Boll <andreas.boll.dev@gmail.com> NOTE: This is a candidate for the 9.1 branch. (the next patch depends on it) (cherry picked from commit 44f37261)
-
Marek Olšák authored
Tested-by:
Andreas Boll <andreas.boll.dev@gmail.com> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit e5a250fd)
-
Marek Olšák authored
probably a typo Tested-by:
Andreas Boll <andreas.boll.dev@gmail.com> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit 9dd18f43)
-
Jordan Justen authored
This requirement was added by ARB_fragment_program When the Steam overlay is enabled, this fixes: * Menu corruption with the Puddle game * The screen going black on Rochard when the Steam overlay is accessed NOTE: This is a candidate for the 9.0 and 9.1 branches. Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 6f1538f8)
-
Keith Kriewall authored
Fixes fdo bug 61299 NOTE: This is a candidate for the stable branches. Signed-off-by:
José Fonseca <jfonseca@vmware.com> (cherry picked from commit efd8311a)
-
Adam Sampson authored
NOTE: This is a candidate for the stable branch. Signed-off-by:
José Fonseca <jfonseca@vmware.com> (cherry picked from commit 2506b035)
-
Ian Romanick authored
Previously only the 32-bit X visual would match the 32-bit RGBA8888 configs. This resulted in every config with alpha getting the "magic" visual whose alpha is used by the compositor. This also resulted in no multisample visuals being advertised. How many ways could we lose? This patch inverts the problem... now you can't get the visual with alpha used by the compositor even if you want it. I think we need to invent a new value for EGL_TRANSPARENT_TYPE that apps can use to get this. I'm surprised that there isn't already a choice for EGL_TRANSPARENT_ALPHA. NOTE: This is a candidate for the 9.1 branch. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Tested-by:
Tian Ye <yex.tian@intel.com> Acked-by:
Kristian Høgsberg <krh@bitplanet.net> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59783 (cherry picked from commit 68a147e9)
-
Emma Anholt authored
When you didn't have a texcoord array bound (or a non-1 current w attrib), we were telling the fragment shader that it could just use "1" instead of doing expensive pre-gen6 math to invert it. If you drew the point with a non-1 W value, then you'd get the right size (since all the vertex computations worked), but we'd mis-interpolate the coordinate across the face. Fixes the mesa pointsprite demo on GM45. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30232 Reviewed-and-tested-by:
Ian Romanick <ian.d.romanick@intel.com> Note: This is a candidate for the stable branches. (cherry picked from commit 50a5d5de)
-
Tapani Pälli authored
check that pointer passed is valid and return error if not. Note: This is a candidate for the stable branches. Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 3cdb548b)
-
Tapani Pälli authored
missing case GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES is required by OES_EGL_image_external extension. Note: This is a candidate for the stable branches. Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 331967c7)
-
John Kåre Alsaker authored
NOTE: This is a candidate for the stable branches. Signed-off-by:
José Fonseca <jfonseca@vmware.com> (cherry picked from commit 65aa1a19)
-
Brian Paul authored
The llvm pipeline handles regular filled triangle offsets, but it doesn't handle offsets for triangles drawn in point or line mode. Fixes failures found with new piglit polygon-mode-offset test. Note: This is a candidate for the stable branches. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit f93c5800)
-
Brian Paul authored
There were several issues. We weren't handling different front/back polygon fill modes. We weren't checking whether the offset applied to fill mode vs. line mode vs. point mode. Fixes problems found with the Visualization Toolkit (VTK) test suite. Note: This is a candidate for the stable branches. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit d6b8b116)
-
Brian Paul authored
The old logic was kind of twisted, but seemed to work in practice. Note: This is a candidate for the stable branches. Reviewed-by:
José Fonseca <jfonseca@vmware.com> (cherry picked from commit a2c105e3)
-
Brian Paul authored
When we destroy an ARB vp/fp whose ID was gen'd but not otherwise used we get a pointer to the dummy/placeholder program. We can't destroy that one so just skip it. This only failed during context tear-down because glDeleteProgramsARB() was already aware of dummy programs. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38086 Note: This is a candidate for the stable branches. Tested-by:
Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit 8bb291b0)
-
Brian Paul authored
We sometimes convert GL_QUAD_STRIP prims into GL_TRIANGLE_STRIP, but that changes the results of the u_trim_pipe_prim() call. We need to pass the original primitive type to the trim function. Note that OpenGL's GL_x prim type values match Gallium's PIPE_PRIM_x values. Fixes a failure in the new piglit degenerate-prims test. Note: This is a candidate for the stable branches. Reviewed-by:
José Fonseca <jfonseca@vmware.com> (cherry picked from commit 8589cc41)
-
Anuj Phogat authored
tex->Sright and tex->Ttop are initialized during texture allocation. This fixes depth buffer blitting failures in khronos conformance tests when run on desktop GL 3.0. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=59495 Note: This is a candidate for stable branches. Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit cff862f9)
-
Emma Anholt authored
The recent change for GL core broke the older setup, which broke gl_PointCoord on pre-gen6 (where gl_PointCoord is undefined if point sprites are disabled). Fixes the new piglit GLES-2.0/glsl-fs-pointcoord test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32429 Note: This is a candidate for the stable branches. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 92a204b4)
-
Emma Anholt authored
In a debug build this led to assertion failures, but on a non-debug build the hardware would just reference the whole vec8 instead of the same channel 8 times. Fixes the new piglit glsl-1.40/uniform-buffer/fs-exp2. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57121 Note: This is a candidate for the stable branches Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 7b0731d9)
-
Michel Dänzer authored
Only compile tested, but should fix at least some piglit fbo-blending tests. NOTE: This is a candidate for the stable branches. Reviewed-by:
Marek Olšák <maraeo@gmail.com> (cherry picked from commit 73bf6267)
-
Emma Anholt authored
We could potentially do some CSE even when the dst types aren't the same on gen6 where there is no implicit dst type conversion iirc, or in the case of uniform pull constant loads where the dst type doesn't impact what's stored. But it's not worth worrying about. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit c2a6e529)
-
Emma Anholt authored
This should fix the register allocation explosion on the GLES 3.0 test on gen6. It also gives us an instruction that will fit our CSE handling. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit aebd3f46)
-
Emma Anholt authored
We were correctly relaying the smear from MOV's src, but if the MOV didn't do a smear, we don't want to smash the smear value from the instruction being propagated into. Prevents a regression in the upcoming UBO change. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit 49bdebad)
-
Brian Paul authored
Otherwise, the PBuffer's size was never set. This also initializes the buffer size for windows, pixmaps, etc. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=61012 Note: This is a candidate for the stable branches. (cherry picked from commit e2091f64)
-