diff options
author | Lionel Landwerlin <[email protected]> | 2017-01-26 16:57:25 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-01-26 17:29:29 +0000 |
commit | df7063cba35ea273827ba60f643596cd80539458 (patch) | |
tree | 328afb5dd81b6a41c5c3a4af34f3ba17b07f4e08 /REVIEWERS | |
parent | c3421106ec332bf3a943ccf9447edf00dc7f3618 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: "17.0 13.0" <[email protected]>
Diffstat (limited to 'REVIEWERS')
0 files changed, 0 insertions, 0 deletions