mesa/src
Caio Marcelo de Oliveira Filho ab75e1e289 nir: Fix clone of nir_variable state slots
When num_state_slots is 0, don't create the array.  This was
triggering the following assert when running vkcube with
NIR_TEST_CLONE=1

    vkcube: ../src/compiler/nir/nir_split_per_member_structs.c:66:
    split_variable: Assertion `var->state_slots == NULL' failed.

Fixes: 9fbd390dd4 "nir: Add support for cloning shaders"
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 005cc9ae37)
2019-05-21 09:04:42 +00:00
..
amd radv: add a workaround for Monster Hunter World and LLVM 7&8 2019-05-21 08:42:32 +00:00
broadcom delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
compiler nir: Fix clone of nir_variable state slots 2019-05-21 09:04:42 +00:00
egl meson: make nm binary optional 2019-05-03 10:58:05 -07:00
freedreno freedreno/ir3: fix rasterflat/glxgears 2019-05-10 17:00:35 +00:00
gallium meson: expose glapi through osmesa 2019-05-21 08:42:32 +00:00
gbm meson: make nm binary optional 2019-05-03 10:58:05 -07:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 10:32:39 +00:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: update memory editor 2019-02-26 12:49:07 +00:00
intel anv: Only consider minSampleShading when sampleShadingEnable is set 2019-05-21 08:42:32 +00:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa mesa: unreference current winsys buffers when unbinding winsys buffers 2019-05-21 09:02:06 +00:00
util util/os_file: always use the 'grow' mechanism 2019-05-16 17:20:13 +00:00
vulkan vulkan/overlay: fix truncating error on 32bit platforms 2019-05-16 09:40:47 +02:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00