Lionel Landwerlin
fc2552b644
loader: fix close on uninitialized file descriptor value
...
Using a drm syscall layer faking a kernel driver :
==581460== Conditional jump or move depends on uninitialised value(s)
==581460== by 0x48A4C2B: close (drm-hooks.cpp:185)
==581460== by 0x5A815F1: dri3_alloc_render_buffer (loader_dri3_helper.c:1469)
==581460== by 0x5A82050: dri3_get_buffer (loader_dri3_helper.c:1827)
==581460== by 0x5A82662: loader_dri3_get_buffers (loader_dri3_helper.c:2028)
==581460== by 0x6C78109: intel_update_image_buffers (brw_context.c:1870)
==581460== by 0x6C77805: intel_update_renderbuffers (brw_context.c:1499)
==581460== by 0x6C7789D: intel_prepare_render (brw_context.c:1520)
==581460== by 0x6C773D4: intelMakeCurrent (brw_context.c:1341)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 069fdd5f9f ("egl/x11: Support DRI3 v1.1")
Reviewed-by: Eric Anholt <eric@anholt.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3152 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3152 >
2019-12-19 00:51:36 +02:00
Connor Abbott
648cc22afb
freedreno: Fix CP_MEM_TO_REG flag definitions
...
These actually mean something completely different, at least on A5xx
and A6xx. The only other usage of the old flags on something older than
A6xx was a typo, so I don't know if it was always this way, but at the
same time it means that we don't have to worry too much about that.
Reviewed-by: Eric Anholt <eric@anholt.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3116 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3116 >
2019-12-18 23:09:05 +01:00
Connor Abbott
4c5ac156c3
freedreno: Use new macros for CP_WAIT_REG_MEM and CP_WAIT_MEM_GTE
...
Similar to the existing usage for CP_COND_WRITE5, this makes it clear
what each of the magic parameters are for.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Rob Clark <robdclark@gmail.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3116 >
2019-12-18 23:09:00 +01:00
Connor Abbott
cfa1fb895a
a6xx: Add more CP packets
...
And add fields uncovered by looking at the firmware. I think this covers
all the memory, register, and scratch manipulation opcodes that exist on
A6xx, plus one additional nice find for Vulkan and describing a
previously unknown opcode and documenting CP_WAIT_REG_MEM.
Note that the bits for the CP_REG_TO_MEM count, as well as the formula
for computing the actual count for both CP_REG_TO_MEM and CP_MEM_TO_REG,
are changed because the A630 SQE firmware actually does something
different. I haven't investigated older microcodes to see whether this
extends back to A5xx and A4xx, but the only non-A6xx uses of this
field result in the same bit-pattern when using the A6xx bit range and
formula, so it should be safe to change the definition universally.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Rob Clark <robdclark@gmail.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3116 >
2019-12-18 23:08:55 +01:00
Bas Nieuwenhuizen
a9a3108be7
radv: Limit workgroup size to 1024.
...
Fixes a hang with geekbench.
The existence of RX 580 and NAVI10 results shows that the generations
before and after this do not have the issue. (They show up on the
website). So this is likely a GFX9 only issue.
This is not something weird like LDS size since none of the shaders
seem to use LDS.
CC: <mesa-stable@lists.freedesktop.org >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3145 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3145 >
2019-12-18 20:41:18 +00:00
Dylan Baker
69decdb28a
docs: Add release notes, news, and update calendar for 19.2.8
2019-12-18 11:25:32 -08:00
Dylan Baker
7017f69a64
docs/relnotes/19.2.8: Add SHA256 sum
2019-12-18 11:24:46 -08:00
Dylan Baker
2f724d2202
docs: add relnotes for 19.2.8
2019-12-18 11:24:44 -08:00
Dylan Baker
d32e1257c0
docs: Add release notes, update calendar, and add news for 19.3.1
2019-12-18 10:58:54 -08:00
Dylan Baker
636175da6d
dcos: add releanse notes for 19.3.1
2019-12-18 10:57:54 -08:00
Lionel Landwerlin
afdc0121b5
i965/iris/perf: factor out frequency register capture
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Mark Janes <mark.a.janes@intel.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3113 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3113 >
2019-12-18 14:23:17 +02:00
Jonathan Marek
072e95e07a
freedreno/ir3: update prefetch input_offset when packing inlocs
...
If the input location changes then prefetch input_offset needs to change.
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3141 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3141 >
2019-12-17 16:41:13 -05:00
Eric Anholt
62998f6e2d
ci: Fix caselist results archiving after parallel-deqp-runner rename.
...
Noticed while reviewing some lava parallel-deqp-runner changes.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Rob Clark <robdclark@chromium.org >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3138 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3138 >
2019-12-17 20:13:10 +00:00
Kristian H. Kristensen
9aaa23fbad
freedreno/a6xx: Document the CP_SET_DRAW_STATE enable bits
...
There are bits for binning, gmem and sysmem.
Reviewed-by: Eric Anholt <eric@anholt.net >
Reviewed-by: Rob Clark <robdclark@chromium.org >
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3131 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3131 >
2019-12-17 11:45:20 -08:00
Caio Marcelo de Oliveira Filho
c61ad77cd2
anv/gen12: Temporarily disable VK_KHR_buffer_device_address (and EXT)
...
For the sake of our testing infrastructure, disable this extension
for TGL until we can sort out a hang in Vulkan CTS.
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2019-12-17 11:07:41 -08:00
Caio Marcelo de Oliveira Filho
766fdeccf9
intel/vec4: Fix lowering of multiplication by 16-bit constant
...
Existing code was ignoring whether the type of the immediate source
was signed or not. If the source was signed, it would ignore small
negative values but it also would wrongly accept values between
INT16_MAX and UINT16_MAX, causing the atual value to later be
reinterpreted as a negative number (under 16-bits).
Fixes tests/shaders/glsl-mul-const.shader_test in Piglit for older
platforms that don't support MUL with 32x32 types and use vec4.
Cc: <mesa-stable@lists.freedesktop.org >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
2019-12-17 10:45:22 -08:00
Caio Marcelo de Oliveira Filho
2137be22fa
intel/fs: Fix lowering of dword multiplication by 16-bit constant
...
Existing code was ignoring whether the type of the immediate source
was signed or not. If the source was signed, it would ignore small
negative values but it also would wrongly accept values between
INT16_MAX and UINT16_MAX, causing the atual value to later be
reinterpreted as a negative number (under 16-bits).
Fixes tests/shaders/glsl-mul-const.shader_test in Piglit for platforms
that don't support MUL with 32x32 types, including ICL and TGL.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2186
Cc: <mesa-stable@lists.freedesktop.org >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
2019-12-17 10:45:22 -08:00
Alyssa Rosenzweig
66013cb1be
pan/midgard: Set Z to shadow comparator for 2D
...
We still need to generalize for other types of (non-2D / array) shadow
samplers, but this is enough for sampler2DShadow to work with initial
dEQP tests passing.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Alyssa Rosenzweig
1a53bed41c
pan/midgard: Set .shadow for shadow samplers
...
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Alyssa Rosenzweig
d183f84585
pan/midgard: Hoist temporary coordinate for cubemaps
...
We'll reuse some of this code for shadow samplers, which are represented
by a distinct source in NIR.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Alyssa Rosenzweig
96df5f1fbf
pan/midgard: Use a reg temporary for mutiple writes
...
Bug in texelfetch implementation from inspection.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Alyssa Rosenzweig
bf5d8cfd28
panfrost: Handle empty shaders
...
I didn't realize this was in spec, but it fixes a crash in shaderdb.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Alyssa Rosenzweig
35418f6770
panfrost: Let precompile imply shaderdb
...
This cuts down the number of random environmental variables we need
flying around; now PAN_MESA_DEBUG=precompile is sufficient and
MIDGARD_MESA_DEBUG=shaderdb will be implied.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Alyssa Rosenzweig
271726eaca
panfrost: Add PAN_MESA_DEBUG=precompile for shader-db
...
We would like to use run.c for shader-db runs (rather than capturing in
real-time, which is limiting).
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125 >
2019-12-17 17:42:57 +00:00
Lionel Landwerlin
2c8742ed85
mesa: avoid triggering assert in implementation
...
When tearing down a GL context with an active performance query, the
implementation can be confused by a query marked active when it's
being deleted.
This shouldn't happen in the implementation because the context will
already be idle.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Cc: <mesa-stable@lists.freedesktop.org >
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2235
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3115 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3115 >
2019-12-17 12:52:04 +00:00
Samuel Pitoiset
d399f4f414
radv/gfx10: fix ngg_get_ordered_id
...
Ported from RadeonSI.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3133 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3133 >
2019-12-17 12:34:18 +00:00
Neil Armstrong
089c8f0b8d
ci: Remove T820 from CI temporarily
...
Our lab will have continuous programmed power cuts until the 6th January 2020,
so it's safer to disable the T820 CI running on the BayLibre kernelCI lab
to avoid breaking CI.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3135 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3135 >
2019-12-17 11:40:07 +01:00
Tapani Pälli
75caae2268
i965: expose MESA_FORMAT_B8G8R8X8_SRGB visual
...
Patch adds BGRX sRGB visuals, required format translation information
to the __DRI_IMAGE_FOURCC_SXRGB8888 format and makes all BGRX visuals
sRGB capable just like is done with BGRA.
squashed patches from Yevhenii Kolesnikov:
dri: Add __DRI_IMAGE_FOURCC_SXRGB8888 conversion
i965: force visuals without alpha bits to use sRGB
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1501
Cc: <mesa-stable@lists.freedesktop.org >
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3077 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3077 >
2019-12-17 09:28:25 +00:00
Tapani Pälli
8b6b5ce669
dri: add __DRI_IMAGE_FORMAT_SXRGB8
...
Add format definition and required plumbing to create images.
Cc: <mesa-stable@lists.freedesktop.org >
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3077 >
2019-12-17 09:28:25 +00:00
Gert Wollny
cffa7bb990
virgl: Increase the shader transfer buffer by doubling the size
...
With only linearly increasing the size of the shader transfer buffer
the transfer of very large shaders may fail, so with each attempt double
the size of the buffer.
CTS:
dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.48
for VTK-GL-CTS b5dcfb9c5 and newer
virglrenderer bug:
https://gitlab.freedesktop.org/virgl/virglrenderer/issues/150
Fixes: a8987b88ff
virgl: add driver for virtio-gpu 3D (v2)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3121 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3121 >
2019-12-17 08:07:51 +00:00
Eric Anholt
2da68c8649
turnip: Fix support for immutable samplers.
...
We were setting up the hardware sampler state when updating a combined
image sampler, but never looking at the immutable sampler for in the
separate case.
Fixes failures in
dEQP-VK.binding_model.shader_access.primary_cmd_buf.sampler_immutable.fragment.*
Reviewed-by: Jonathan Marek <jonathan@marek.ca >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3127 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3127 >
2019-12-16 19:51:27 -08:00
Jonathan Marek
edfc4daab8
turnip: don't set LRZ enable at end of renderpass
...
Fixes hanging with cases that use more than one renderpass.
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3122 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3122 >
2019-12-17 00:59:00 +00:00
Jonathan Marek
c7c5a84cf3
freedreno/ir3: lower pack/unpack ops
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3106 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3106 >
2019-12-16 19:20:07 -05:00
Jonathan Marek
004797002f
nir: add option to lower half packing opcodes
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3106 >
2019-12-16 19:20:07 -05:00
Eric Anholt
2d3182b429
turnip: Add support for descriptor arrays.
...
I had a bigger rework I was working on, but this is simple and gets tests
passing.
Fixes 36 failures in
dEQP-VK.binding_model.shader_access.primary_cmd_buf.sampler_mutable.fragment.*
(now all passing)
Reviewed-by: Jonathan Marek <jonathan@marek.ca >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3124 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3124 >
2019-12-16 23:57:22 +00:00
Eric Anholt
02d764b96a
turnip: Drop unused variable.
...
We really need -Werror in CI.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3124 >
2019-12-16 23:57:22 +00:00
Alyssa Rosenzweig
0eb84eb702
panfrost: Don't double-create scratchpad
...
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Fixes: 4f7fddbd71 ("panfrost: Pass size to panfrost_batch_get_scratchpad")
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3119 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3119 >
2019-12-16 23:32:07 +00:00
Alyssa Rosenzweig
73bd9fe20c
panfrost: Simplify sampler upload condition
...
Makes it more obvious what's going on.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3119 >
2019-12-16 23:32:06 +00:00
Icecream95
37bc028367
gallium/auxiliary: Handle count == 0 in u_vbuf_get_minmax_index_mapped
...
This makes u_vbuf_get_minmax_index_mapped return min = 0 / max = 0
when info->count == 0.
That should never happen anyway, but this commit makes it at least
return a sane value that callers expect, and also allows us - and
GCC - to assume count != 0 for optimization purposes.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3050 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3050 >
2019-12-16 22:57:35 +00:00
Icecream95
80aca96803
gallium/auxiliary: Reduce conversions in u_vbuf_get_minmax_index_mapped
...
With this patch, GCC generates vectorized code that does the comparisons
without converting the indices to 32-bit first.
This optimization makes the aforementioned function almost twice as fast
for ARM NEON, and should speed up vectorised code on other platforms.
Without vectorisation, the function is still a percent or two faster,
but slightly larger.
Reviewed-by: Eric Anholt <eric@anholt.net >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3050 >
2019-12-16 22:57:35 +00:00
Marek Olšák
69ea473eeb
amd/addrlib: update to the latest version
...
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
2019-12-16 17:04:57 -05:00
Jonathan Marek
a3ea4805aa
turnip: remove duplicate A6XX_SP_CS_CONFIG_NIBO
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104 >
2019-12-16 21:04:42 +00:00
Jonathan Marek
2d3492bc62
turnip: change emit_ibo to be like emit_textures
...
Adds missing alignment and error checking.
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104 >
2019-12-16 21:04:42 +00:00
Jonathan Marek
718bd4f8b4
turnip: fix emit_ibo
...
Based on the GL driver:
-Compute needs different opcode (this fixes a GPU hang problem)
-REG_A6XX_SP_IBO_LO/REG_A6XX_SP_CS_IBO_LO were swapped
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104 >
2019-12-16 21:04:42 +00:00
Jonathan Marek
65007d438c
turnip: remove compute emit_border_color
...
Current tu6_emit_border_color doesn't work for compute and there's no
example from the GL driver to base it on, so replace it with a finishme.
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104 >
2019-12-16 21:04:42 +00:00
Jonathan Marek
c9b12c71d7
turnip: fix emit_textures for compute shaders
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104 >
2019-12-16 21:04:42 +00:00
Rafael Antognolli
ed43d01dec
utils/os_socket: Define ssize_t on windows.
...
Fixes: ef5266ebd5 ("util/os_socket: Add socket related functions.")
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
2019-12-16 20:35:22 +00:00
Marek Olšák
43f05e0421
radeonsi/gfx10: fix ngg_get_ordered_id
...
This could have caused issues with NGG streamout.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095 >
2019-12-16 20:06:07 +00:00
Marek Olšák
8edf3df3e4
radeonsi: reset more fields in si_llvm_context_set_ir to fix reusing ctx
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095 >
2019-12-16 20:06:07 +00:00
Marek Olšák
1436c261e9
radeonsi: fix determining whether the VS prolog is needed
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095 >
2019-12-16 20:06:07 +00:00