mesa/src
Lionel Landwerlin 939c0c82e5 spirv: handle OpUndef as part of the variable parsing pass
Looking at the following bit of SPIRV shader :

...
%zero        = OpConstant %i32 0
%ivec3_0     = OpConstantComposite %ivec3 %zero %zero %zero
%vec3_undef  = OpUndef %ivec3
%sc_0        = OpSpecConstant %i32 0
%sc_1        = OpSpecConstant %i32 0
%sc_2        = OpSpecConstant %i32 0
...

Our compiler currently stops parsing variables & types on the OpUndef
and switches to instructions, leaving the following sc_[0-2] variables
untreated.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "17.0 13.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit df7063cba3)
2017-02-03 11:08:55 +00:00
..
amd radv: program a default point size. 2017-02-03 11:08:55 +00:00
compiler spirv: handle OpUndef as part of the variable parsing pass 2017-02-03 11:08:55 +00:00
egl egl/wayland: resolve quirky try_damage_buffer() implementation 2017-01-18 16:01:15 +00:00
gallium radeonsi: handle first_non_void correctly in si_create_vertex_elements 2017-02-03 11:08:55 +00:00
gbm gbm: request correct version of the DRI2_FENCE extension 2016-11-22 15:56:44 +00:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx: unify GLX_SGIX_pbuffer aliased declarations 2017-01-18 16:01:14 +00:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: fix descriptor pool internal size allocation 2017-02-03 11:08:55 +00:00
loader loader/dri3: Unify the style of function pointer calls in structs 2017-01-13 16:24:32 +00:00
mapi mesa: make use of HAVE_FUNC_ATTRIBUTE_ALIAS macro 2017-01-18 16:01:14 +00:00
mesa i965: Make intelEmitCopyBlit not truncate large strides. 2017-02-03 11:08:55 +00:00
util utils: really remove the __END_DECLS macro 2017-01-18 20:11:22 +00:00
vulkan vulkan/wsi: clarify the severity of lack of DRI3 v2 2017-01-20 23:45:50 +00:00
Makefile.am vulkan: automake: do not use EXTRA_DIST in a conditional 2017-01-18 13:41:32 +00:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00