URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b78c664115b592d36f3f6b9cd13d300c40c3e451
Author: Jason Ekstrand <[email protected]>
Date: Tue Sep 26 09:42:56 2017 -0700
vulkan/wsi/wayland: Return better error messages
Reviewed-by: Daniel Stone <[email protected]>
Cc: [email protected]
(cherry picked from commit 4fe3913b9699ac929715b16ecbf5b93fe87ce4ee)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2467b50e458b0731d2f71ae384be5f2db567ac13
Author: Jason Ekstrand <[email protected]>
Date: Tue Sep 26 09:20:47 2017 -0700
vulkan/wsi/wayland: Copy wl_proxy objects from oldSwapchain if available
This should save us some round trips while resizing.
Reviewed-by: Daniel Stone <[email protected]>
Cc: [email protected]
(cherry picked from commit 537b9bc3e4773f68c426b99a1860622db5ce6f0e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5a70210af8ceb7fe9f64101273c5d9d707338ea
Author: Jason Ekstrand <[email protected]>
Date: Tue Sep 26 08:30:22 2017 -0700
vulkan/wsi/wayland: Stop caching Wayland displays
We originally implemented caching to avoid unneeded round-trips to the
compositor when querying surface capabilities etc. to set up the
swapchain. Unfortunately, this doesn't work if vkDestroyInstance is
called after the Wayland connection has been dropped. In this case, we
end up trying to clean up already destroyed wl_proxy objects which leads
to crashes. In particular most of dEQP-VK.wsi.wayland is crashing
thanks to this problem.
This commit gets rid of the cache and simply embeds the wsi_wl_display
struct in the swapchain. While we're at it, we can get rid of the
wl_event_queue that we were storing in the swapchain because we can just
use the one in the embedded wsi_wl_display.
Reviewed-by: Daniel Stone <[email protected]>
Bugzilla: https://bugs.freedesktop.org/102578
Cc: [email protected]
(cherry picked from commit 43691024982b3ea734ad001bd53cc7b563ccce5a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5edc4dc0802d2ddc903babc7d31ea27ba1a13a23
Author: Jason Ekstrand <[email protected]>
Date: Fri Sep 22 13:08:15 2017 -0700
vulkan/wsi/wayland: Refactor wsi_wl_display code
We convert it over to an inti/finish model and make create/destroy
wrappers for the former.
Reviewed-by: Daniel Stone <[email protected]>
Cc: [email protected]
(cherry picked from commit 77181d95804b23210275c5b898e4d3b65f5a52a8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6587cbfca2962e618dd193299695b2d956976c10
Author: Ian Romanick <[email protected]>
Date: Thu May 25 23:12:52 2017 -0700
nv20: Fix GL_CLAMP
v2: Force T and R wrap modes to GL_CLAMP_TO_EDGE for 1D textures.
This fixes a regression in tex1d-2dborder. The test uses a 1D texture
but it provides S and T texture coordinates. Since the T wrap mode
would (correctly) be set to GL_CLAMP, the texture would gradually
blend (incorrectly) with the border color.
I also tried setting NV20_3D_TEX_FORMAT_DIMS_1D instead of
NV20_3D_TEX_FORMAT_DIMS_2D for 1D textures, but that did not help.
It is possible that the same problem exists for 2D textures with the
R-wrap mode, but I don't think there are any piglit tests for that.
No test changes on NV20 (10de:0201).
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
(cherry picked from commit 953a3cf0fd9ac5ebfdc0a1bcebead367b4719039)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b0ded06b18bcf60f8da27a820acfbaf7da4a240
Author: Tomasz Figa <[email protected]>
Date: Thu Aug 10 14:43:26 2017 +0900
egl/dri2: Implement swapInterval fallback in a conformant way
dri2_fallback_swap_interval() currently used to stub out swap interval
support in Android backend does nothing besides returning EGL_FALSE.
This causes at least one known application (Android Snapchat) to fail
due to an unexpected error and my loose interpretation of the EGL 1.5
specification justifies it. Relevant quote below:
The function
EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval);
specifies the minimum number of video frame periods per buffer swap
for the draw surface of the current context, for the current rendering
API. [...]
The parameter interval specifies the minimum number of video frames
that are displayed before a buffer swap will occur. The interval
specified by the function applies to the draw surface bound to the
context that is current on the calling thread. [...] interval is
silently clamped to minimum and maximum implementation dependent
values before being stored; these values are defined by EGLConfig
attributes EGL_MIN_SWAP_INTERVAL and EGL_MAX_SWAP_INTERVAL
respectively.
The default swap interval is 1.
Even though it does not specify the exact behavior if the platform does
not support changing the swap interval, the default assumed state is the
swap interval of 1, which I interpret as a value that eglSwapInterval()
should succeed if called with, even if there is no ability to change the
interval (but there is no change requested). Moreover, since the
behavior is defined to clamp the requested value to minimum and maximum
and at least the default value of 1 must be present in the range, the
implementation might be expected to have a valid range, which in case of
the feature being unsupported, would correspond to {1} and any request
might be expected to be clamped to this value.
This is further confirmed by the code in _eglSwapInterval() in
src/egl/main/eglsurface.c, which is the default fallback implementation
for EGL drivers not implementing its own. The problem with it is that
the DRI2 EGL driver provides its own implementation that calls into
platform backends, so we cannot just simply fall back to it.
Signed-off-by: Tomasz Figa <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9aba007c06982a611d07e958113412637057dbd
Author: Boris Brezillon <[email protected]>
Date: Tue Sep 26 09:48:37 2017 +0200
broadcom/vc4: Fix infinite retry in vc4_bo_alloc()
cleared_and_retried is always reset to false when jumping to the retry
label, thus leading to an infinite retry loop.
Fix that by moving the cleared_and_retried variable definitions at the
beginning of the function. While we're at it, move the create variable
with the other local variables and explicitly reset its content in the
retry path.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Fixes: 78087676c98aa8884ba92 "vc4: Restructure the simulator mode."
(cherry picked from commit ef578906d849bf05d04d246e9e3994146dddc01d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e22ab89f9f99fcd48c79b25920d822bb4889a51d
Author: Eric Anholt <[email protected]>
Date: Thu Jul 27 18:11:19 2017 -0700
broadcom/vc4: Keep pipe_sampler_view->texture matching the original texture.
I was overwriting view->texture with the shadow resource when we need to
do shadow copies (retiling or baselevel rebase), but that tripped up some
critical new sanity checking in state_tracker (making sure that stObj->pt
hasn't changed from view->texture through TexImage-related paths).
To avoid that, move the shadow resource to the vc4_sampler_view struct.
Fixes: f0ecd36ef8e1 ("st/mesa: add an entirely separate codepath for
setting up buffer views")
(cherry picked from commit 68c91a87d73cfcd947e09803ceb800b50bf9e399)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b100aae7b6f03ff0b6ad5cd6b3096b78f5360da
Author: Jason Ekstrand <[email protected]>
Date: Fri Sep 22 12:44:36 2017 -0700
vulkan/wsi/wayland: Stop printing out the DRM device
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Cc: [email protected]
(cherry picked from commit 016de7e15597c232fb9c300f41629a2d88841905)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec89ab30c925de7be6fd715e2d69329b0a926c74
Author: Kenneth Graunke <[email protected]>
Date: Sun Sep 24 14:24:53 2017 -0700
i965/vec4: Fix swizzles on atomic sources.
Atomic operation sources are scalar values, but we were failing to
select the .x component of the second operand. For example,
atomicCounterCompSwapARB(counter, 5u, 10u)
would generate
mov(8) vgrf4.x:D, 5D
mov(8) vgrf5.x:D, 10D
mov(8) vgrf9.x:UD, vgrf4.xyzw:D
mov(8) vgrf9.y:UD, vgrf5.xyzw:D
which wrongly selects the .y component of vgrf5, so the actual 10u value
would get dead code eliminated. The swizzle works for the other source,
but both of them ought to be .xxxx.
Fixes the compare and swap CTS tests in:
KHR-GL45.shader_atomic_counter_ops_tests.ShaderAtomicCounterOpsExchangeTestCase
Cc: "17.2 17.1 17.0 13.0" <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 66342c997fb7892034e537d1456c37e6981c2fdb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8619a6b1cc719a14f708a1377d3a8c903b34a570
Author: Kenneth Graunke <[email protected]>
Date: Sun Sep 24 12:23:34 2017 -0700
i965/vec4: Actually handle atomic op intrinsics.
Embarassingly, someone enabled the ARB_shader_atomic_counter_ops
extension for Gen7+ but never added the intrinsics to the switch
statement in the vec4 backend, so they just hit an unreachable()
call and died.
Fixes: 40dd45d0c6aa4a9d (i965: Enable ARB_shader_atomic_counter_ops)
Cc: "17.2 17.1 17.0 13.0" <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit a62fe340981b56fe54e49d3a6791e568f7f87554)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47c8ffe71975d8fd8344a28c433ff591511b6aa7
Author: Samuel Pitoiset <[email protected]>
Date: Tue Sep 26 16:52:06 2017 +0200
radv: fix saved compute state when doing statistics/occlusion queries
We are pushing 16-bytes of constants, so we have to save/restore
the same amount of data to avoid data corruption.
Cc: 17.2 <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit 4b407a62c757c8344736caa200e706d2bd66fb2c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=84f3374f1c674626830644bd8550ca66498e4cc7
Author: Grazvydas Ignotas <[email protected]>
Date: Mon Sep 18 22:11:26 2017 +0300
configure: check if -latomic is needed for __atomic_*
On some platforms, gcc generates library calls when __atomic_* functions
are used, but does not link the required library (libatomic) automatically
(supposedly to allow the app to use some other atomics implementation?).
Detect this at configure time and add the library when needed. Tested
on armel (library was added) and on x86_64 (was not, as expected).
Some documentation on this is provided in GCC wiki:
https://gcc.gnu.org/wiki/Atomic/GCCMM
Fixes: 8915f0c0 "util: use GCC atomic intrinsics with explicit memory model"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102573
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 2ef7f23820a67e958c2252bd81eb0458903ebf33)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e5882a7aaae12766b6e92fa43f98674e34ff404
Author: Nicolai Hähnle <[email protected]>
Date: Wed Sep 20 16:43:00 2017 +0200
amd/addrlib: fix missing va_end() after va_copy()
There's no reason to use va_copy here.
CID: 1418113
Reviewed-by: Eric Engestrom <[email protected]>
Fixes: e7fc664b91a5d886c270 ("winsys/amdgpu: add addrlib - texture
addressing and alignment calculator")
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 34126ed248482b630ca567e4cdb05d4dc1ba016c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=89db1532fc48dcbb4c7e3270e7bc84fe117ca66b
Author: Juan A. Suarez Romero <[email protected]>
Date: Tue Sep 26 18:32:25 2017 +0200
cherry-ignore: add "radv: copy the number of viewports/scissors at pipeline
bind time"
fixes: This commit addressed earlier commits dcf46e99 and 60878dd0 which
did not land in branch.
Signed-off-by: Juan A. Suarez Romero <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e8ddba33f06bc4c3e4dfdf8a80203dc8cfe2c39
Author: Nicolai Hähnle <[email protected]>
Date: Sun Sep 17 18:03:04 2017 +0200
radeonsi: set MIP_POINT_PRECLAMP to 0
This fixes a bug with nearest ("point") mip selection when the fractional
part of max_lod is in (0.5,1). In this case, the spec mandates that
we still select the mip level ceil(max_lod) in the clamping case. However,
MIP_POINT_PRECLAMP will clamp before the mip selection, which is wrong.
Supposedly this setting was originally copied from the closed Vulkan
driver, but as far as I can tell, closed Vulkan was actually changed back
recently :)
Fixes
dEQP-GLES3.functional.texture.mipmap.2d.max_lod.{nearest,linear}_nearest
Fixes: f7420ef5b464 ("radeonsi: enable some sampler fields to match the
closed driver")
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit 704ddbcdf693079d417d831abe073caad008ab01)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc2b01adc9c962acc6477addd20d5d738973d1c5
Author: Eric Anholt <[email protected]>
Date: Mon Sep 18 17:47:44 2017 -0700
broadcom/vc4: Fix use-after-free when deleting a program.
By leaving the compiled shader in the context's stage state, the next
compile of a new FS would look in the old compiled FS for figuring out
whether to set various dirty flags for the VS compile. Clear out the
pointer when deleting the program, and make sure that we always mark the
state as dirty if the previous program had been lost. Fixes valgrind
warnings on glsl-max-varyings.
Fixes: 2350569a78c6 ("vc4: Avoid VS shader recompiles by keeping a set of
FS inputs seen so far.")
(cherry picked from commit 3752ad28f23fc8136f75104b6ac4572341a05467)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe53c8bc210259d0f778ac4b44b2f5c8d5c186a6
Author: Eric Anholt <[email protected]>
Date: Mon Sep 18 15:17:31 2017 -0700
broadcom/vc4: Fix use-after-free trying to mix a quad and tile clear.
The blitter will bind just the depth buffer, which flushes the current job
if we had both a color and depth/stencil. If the clear was doing partial
depth/stencil (quad-based) and color (tile-based), we'd go on to try to
set up the rest of the tile clear in the now flushed job.
Instead, move the partial clear up before we start setting up the job for
the current FBO state, and re-fetch the job if we're continuing on to a
tile-based clear. Fixes valgrind failures in fbo-depthtex.
Fixes: 9421a6065c4e ("vc4: Fix fallback to quad clears of depth in GLX.")
(cherry picked from commit 9940fb42058e0b0815e0edb202ca69b7853aead5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=60efffcec05950ec20b5c339981846928677286f
Author: Eric Anholt <[email protected]>
Date: Mon Sep 18 14:52:32 2017 -0700
broadcom/vc4: Fix use-after-free for flushing when writing to a texture.
I was trying to continue the hash table loop, not the inner loop. This
tended to work out, because we would have *just* freed the job struct.
Fixes some valgrind failures in fbo-depthtex.
Fixes: f597ac396640 ("vc4: Implement job shuffling")
(cherry picked from commit d88a75182d5fccb956fbfccddf627aa1831465be)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d1deeeab31fae63c4148e4f3c4703938eda8bc3
Author: Dave Airlie <[email protected]>
Date: Thu Sep 14 05:03:19 2017 +0100
st/glsl->tgsi: fix u64 to bool comparisons.
Otherwise we end up using a 32-bit comparison which didn't end well.
Timothy caught this while playing around with some opt passes.
Fixes: 278580729a (st/glsl_to_tgsi: add support for 64-bit integers)
Reviewed-by: Timothy Arceri <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
(cherry picked from commit a7a7bf21bdf0cf8e59f8c8e17c2580a363be7055)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbccd8465d65a98c9d1102f642823482ca3e72a9
Author: Juan A. Suarez Romero <[email protected]>
Date: Tue Sep 26 17:53:49 2017 +0200
cherry-ignore: add "radv: Check for GFX9 for 1D arrays in image_size
intrinsic."
fixes: This commit addressed earlier commits 61ad2f13 and 6dcc54b4 which
did not land in branch
Signed-off-by: Juan A. Suarez Romero <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4447657214ffcad9411c98a09dcaf0e376f19d
Author: Juan A. Suarez Romero <[email protected]>
Date: Tue Sep 26 17:21:39 2017 +0200
cherry-ignore: add "radeonsi/gfx9: proper workaround for LS/HS VGPR
initialization bug"
fixes: This commit addressed an earlier commit c7e9ebb3ab8 which did not
land in branch
Signed-off-by: Juan A. Suarez Romero <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2712e59538aa4904f46fc2927a379c0e04c454f6
Author: Leo Liu <[email protected]>
Date: Tue Sep 19 10:16:36 2017 -0400
st/va/postproc: use video original size for postprocessing
Otherwise the aligned size will make video scaled
Cc: [email protected]
Reviewed-by: Christian König <[email protected]>
(cherry picked from commit eb518387710e027a6f38f0e096f014b9db1db8a7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e16c31f3fe7ec389a34330e9554386d59355e028
Author: Samuel Iglesias Gonsálvez <[email protected]>
Date: Fri Sep 15 10:05:03 2017 +0200
anv: fix viewport transformation for z component
In Vulkan, for 'z' (depth) component, the scale and translate values
for the viewport transformation are:
pz = maxDepth - minDepth
oz = minDepth
zf = pz × zd + oz
Being zd, the third component in vertex's normalized device coordinates.
Fixes: dEQP-VK.draw.inverted_depth_ranges.*
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: [email protected]
(cherry picked from commit d2cd9deeb8db5941e99b149fa637f711198ca741)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbf33a12e143a6a66149e7f90cc1fa22f1b14cf8
Author: David Airlie <[email protected]>
Date: Tue Aug 15 14:02:43 2017 +1000
radv: add gfx9 scissor workaround
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: 17.2 <[email protected]>
(cherry picked from commit 3e544932658d87beb661a3e762621264733171df)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd9d26c3efc129edd036178afdb1bed7aa5361b2
Author: Lucas Stach <[email protected]>
Date: Fri Sep 22 11:24:08 2017 +0200
etnaviv: fix 16bpp clears
util_pack_color may leave undefined values in the upper half of the packed
integer. As our hardware needs the upper 16 bits to mirror the lower 16bits,
this breaks clears of those formats if the undefined values aren't masked
off.
I've only observed the issue with R5G6B5_UNORM surfaces, other 16bpp
formats seem to work fine.
Fixes: d6aa2ba2b2 (etnaviv: replace translate_clear_color with
util_pack_color)
Cc: [email protected]
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Wladimir J. van der Laan <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
(cherry picked from commit e9d37d68cff2ac871d8e32a947173898683c0af3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b378fd5cf3d3178293c1e6fd0e7c5a485237d638
Author: Tim Rowley <[email protected]>
Date: Tue Sep 19 14:04:20 2017 -0500
swr/rast: remove llvm fence/atomics from generated files
We currently don't use these instructions, and since their API
changed in llvm-5.0 having them in the autogen files broke the mesa
release tarballs which ship with generated autogen files.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102847
CC: [email protected]
Tested-by: Laurent Carlier <[email protected]>
Reviewed-by: Bruce Cherniak <[email protected]>
(cherry picked from commit 066d1dc951d3a0833de6abd8e004bf467e6e50eb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=caff607bcbaced6cf4f06e8a030896c2a50a6ad5
Author: Tapani Pälli <[email protected]>
Date: Wed Sep 20 09:29:16 2017 +0300
mesa: free current ComputeProgram state in _mesa_free_context_data
This is already done for other programs stages, fixes a leak when using
compute programs.
Signed-off-by: Tapani Pälli <[email protected]>
Cc: [email protected]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102844
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 589457d97fa8e95f227e7179e9c89a01dff495a0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=737e2245ce07d589a83bc2a243bd9c4d0e8ccbb9
Author: Nicolai Hähnle <[email protected]>
Date: Sun Sep 17 16:00:38 2017 +0200
radeonsi: fix array textures layer coordinate
Like for cube map (array) gather, we need to round to nearest on <= VI.
Fixes tests in dEQP-GLES3.functional.shaders.texture_functions.texture.*
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 87f7c7bd6566dbd95214df9b058bca5e6573374e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=46cfefc5be2006431a30484ff77992e5a691e6fb
Author: Nicolai Hähnle <[email protected]>
Date: Sun Sep 17 18:25:39 2017 +0200
glsl/linker: fix output variable overlap check
Prevent an overflow caused by too many output variables. To limit the
scope of the issue, write to the assigned array only for the non-ES
fragment shader path, which is the only place where it's needed.
Since the function will bail with an error when output variables with
overlapping components are found, (max # of FS outputs) * 4 is an upper
limit to the space we need.
Found by address sanitizer.
Fixes dEQP-GLES3.functional.attribute_location.bind_aliasing.*
Cc: [email protected]
Reviewed-by: Timothy Arceri <[email protected]>
(cherry picked from commit 15cae12804ef288c7fb4cb9a38f7e32e6d8c4dc1)
Squashed with commit:
glsl/linker: properly fix output variable overlap check
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102904
Fixes: 15cae12804e ("glsl/linker: fix output variable overlap check")
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit df8767a14e3eae4dcb8241b731b34e9379706795)
Signed-off-by: Juan A. Suarez Romero <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6121bc31500b6910b32a9b0735d38671e6e611e3
Author: Józef Kucia <[email protected]>
Date: Sat Sep 16 14:23:43 2017 +0200
anv: Fix descriptors copying
Trivial.
Cc: [email protected]
Reviewed-by: Jason Ekstrand <[email protected]>
(cherry picked from commit 65a09f98ad1411982ce68de7a2d05942d608e674)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=488460b1ef4a641e9398f88e6d66fa88c22f0046
Author: Dave Airlie <[email protected]>
Date: Sun Sep 17 20:17:33 2017 -0700
ac/surface: handle S8 on gfx9
If we don't have a depth piece, we don't get a correct
swizzle mode and we hit an assert in addrlib.
In case of no depth get the preferrred swizzle mode for
stencil alone.
Reviewed-by: Marek Olšák <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit c4ac522511d20683c09441a9e96ddfbc1b540c00)
Squashed with commit:
ac/surface: handle error when choosing preferred swizzle mode
CID: 1418140
Fixes: c4ac522511d2 ("ac/surface: handle S8 on gfx9")
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit eb71394ff38d05a42cb8d04fedb6539cc7bbe6fa)
Signed-off-by: Juan A. Suarez Romero <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c54a77d082bcbf9b9fd7f330df68c495834389a
Author: Alexandru-Liviu Prodea <[email protected]>
Date: Fri Sep 15 07:26:33 2017 +0000
Scons: Add LLVM 5.0 support
1 new required library - LLVMBinaryFormat
Cc: "17.2" <[email protected]>
Bugzilla: https://bugs.freedesktop.org=/show_bug.cgi?id=3D102318
Signed-off-by: Alexandru-Liviu Prodea <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit c1b01370486d203a6bccff2161afb288cfda1de3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=891627ec0f8188a6263e1a9c7806716d4201c69c
Author: Nicolai Hähnle <[email protected]>
Date: Wed Sep 13 15:33:23 2017 +0200
amd/common: add workaround for cube map array layer clamping
Fixes dEQP-GLES31.functional.texture.filtering.cube_array.*
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 94736d31c364635a76a11e0bd4f046a42d2221d5)
Squashed with commit:
amd/common: add chip_class to ac_llvm_context
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 3db86d86ed8484d04c42453001d8704c3cd5d446)
Signed-off-by: Juan A. Suarez Romero <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=688f8415f7598addad9cd2a9d080fc5b3a48f9d2
Author: Nicolai Hähnle <[email protected]>
Date: Wed Sep 13 10:47:02 2017 +0200
amd/common: round cube array slice in ac_prepare_cube_coords
The NIR-to-LLVM pass already does this; now the same fix covers
radeonsi as well.
Fixes various tests of
dEQP-GLES31.functional.texture.filtering.cube_array.combinations.*
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit e0af3bed2cb52b5d8cf1da08b42cf28bae131c76)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Conflicts:
src/amd/common/ac_nir_to_llvm.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=54915ee52f5f75d8aa87b85464111000b7dc0c4a
Author: Nicolai Hähnle <[email protected]>
Date: Wed Sep 13 10:20:03 2017 +0200
radeonsi: workaround for gather4 on integer cube maps
This is the same workaround that radv already applied in commit
3ece76f03dc0 ("radv/ac: gather4 cube workaround integer").
Fixes dEQP-GLES31.functional.texture.gather.basic.cube.rgba8i/ui.*
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 6fb0c1013b3578c5bd264efaa99a6d68418ccfb1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=da517431f68111972f425aad040ab3a922c8456c
Author: Jason Ekstrand <[email protected]>
Date: Sat Jun 17 13:50:30 2017 -0700
i965/blorp: Set r8stencil_needs_update when writing stencil
This fixes a crash on Haswell when we try to upload a stencil texture
with blorp. It would also be a problem if someone tried to texture from
stencil after glBlitFramebuffers.
Cc: "17.2 17.1" <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
(cherry picked from commit a43d379000260485fc4b2b03b069aedc46879557)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b4a6dbe93131ae4a1f2ef709a1535b61b442928
Author: Matt Turner <[email protected]>
Date: Thu Sep 14 11:00:26 2017 -0700
util/u_atomic: Add implementation of __sync_val_compare_and_swap_8
Needed for 32-bit PowerPC.
Cc: "17.2" <[email protected]>
Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where
they're missing")
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 1bbe18087312e1b8ccdba6ca6dd8f1c9740a8454)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2dca92a6cec69d71bc63e56d51241a3a5865b59
Author: Matt Turner <[email protected]>
Date: Thu Sep 14 10:48:57 2017 -0700
util: Link libmesautil into u_atomic_test
Platforms without particular atomic operations require the
implementations in u_atomic.c
Cc: "17.2" <[email protected]>
Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where
they're missing")
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit d075a4089ec62c489c8a3423f82371bf85f2ea6c)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Conflicts:
src/util/Makefile.am
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d41d54b061e4112b664c150e48f0d5c12909fd0e
Author: Emil Velikov <[email protected]>
Date: Mon Sep 11 18:13:55 2017 +0100
automake: enable libunwind in `make distcheck'
Enable the toggle to catch when the library is missing from the link
path. Better to test, fail and address before releasing Mesa ;-)
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
(cherry picked from commit 9aba643e3ca30151a5395ea835487420a849f69d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d16640ea18a77fe4d36b40ac1cdc2072548babf
Author: Gert Wollny <[email protected]>
Date: Thu Sep 14 12:27:42 2017 +0200
travis: Add libunwind-dev to gallium/make builds
libunwind is a optional dependency used by the gallium aux module
(libgallium) and consequently the final binaries must be linked against
it. To test whether the library is properly specified in the link pass
add it to the travis-ci build environment and force its use.
Cc: [email protected]
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 39fe51c1e33e13dd1cc5c3ffb5b8a85da6fbce5c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6024a9519874caf0505533d03b2ba88a67530042
Author: Gert Wollny <[email protected]>
Date: Thu Sep 14 12:27:41 2017 +0200
travis: force llvm-3.3 for "make Gallium ST Other"
In Ubuntu Trusty the default version of llvm is 3.4 and the build was
actually randomly picking 3.5 or 3.9. Adding libunwind would then result
is build success or failure depending of what version was picked.
Install the llvm-3.3-dev package and force its use: On one hand it is
the minimum required version we want to the build test against, and on
the other hand forcing the version stabilizes the build.
Cc: [email protected]
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit d3675812b53ae5583d693859c4973ccca9a9fb2e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=996bf9c1cda9a3e18e0a03d16f13e1aae790b1dd
Author: Dave Airlie <[email protected]>
Date: Wed Sep 13 03:49:31 2017 +0100
radv/nir: call opt_remove_phis after trivial continues.
With the shaders in the ssao demo, the nir_opt_if wasn't
working properly without this, after this the if gets optimised
so that loop unrolling gets called.
(loop unrolling fails due to instruction count, but at least
it gets to do that.)
Reviewed-by: Timothy Arceri <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 64d9bd149aa7f5a09f73cae07499577933722fb2)
[Juan A. Suarez: apply patch over src/amd/vulkan/radv_pipeline.c]
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Conflicts:
src/amd/vulkan/radv_shader.c
_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit