aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-12 02:03:50 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-12 02:03:50 +0000
commit613d0296f2046c72066f26bb60fc8fda2addd45f (patch)
tree87d5783f79a5e581f5cc526667685f903e848988
parent72eabbe71c90668677a83426ca119fc4aa8d2a97 (diff)
parentb39cbd458842f6f7c987c82d582688705d8299f9 (diff)
downloadangle-613d0296f2046c72066f26bb60fc8fda2addd45f.tar.gz
Snap for 11206181 from b39cbd458842f6f7c987c82d582688705d8299f9 to 24Q1-release
Change-Id: I477080131885e7a267e031146f009807f6948edc
-rw-r--r--.clang-format1
-rw-r--r--Android.bp236
-rw-r--r--DEPS36
-rw-r--r--OWNERS4
-rw-r--r--WATCHLISTS3
-rw-r--r--build/config/android/BUILD.gn14
-rw-r--r--build/config/android/config.gni7
-rw-r--r--build/config/android/internal_rules.gni24
-rw-r--r--build/config/ios/ios_test_runner_wrapper.gni9
-rw-r--r--build/config/ios/ios_test_runner_xcuitest.gni3
-rw-r--r--build/config/siso/PRESUBMIT.py5
-rw-r--r--build/config/siso/android.star20
-rw-r--r--build/fuchsia/test/base_ermine_ctl.py201
-rwxr-xr-xbuild/fuchsia/test/base_ermine_ctl_unittests.py236
-rw-r--r--build/fuchsia/test/compatible_utils.py37
-rwxr-xr-xbuild/fuchsia/test/compatible_utils_unittests.py87
-rw-r--r--build/fuchsia/test/ermine_ctl.py25
-rwxr-xr-xbuild/fuchsia/test/flash_device.py57
-rwxr-xr-xbuild/fuchsia/test/flash_device_unittests.py138
-rwxr-xr-xbuild/fuchsia/test/run_test.py10
-rwxr-xr-xbuild/fuchsia/test/serial_boot_device.py12
-rw-r--r--build/toolchain/concurrent_links.gni3
-rw-r--r--build/util/LASTCHANGE2
-rw-r--r--build/util/LASTCHANGE.committime2
-rwxr-xr-xbuild/util/lastchange.py4
-rw-r--r--doc/ContributingCode.md2
-rw-r--r--infra/config/OWNERS1
-rw-r--r--src/compiler/translator/Compiler.cpp12
-rw-r--r--src/compiler/translator/ValidateTypeSizeLimitations.cpp135
-rw-r--r--src/libANGLE/capture/OWNERS1
-rw-r--r--src/libANGLE/renderer/gl/OWNERS1
-rw-r--r--src/libANGLE/renderer/vulkan/TextureVk.cpp23
-rw-r--r--src/tests/angle_end2end_tests_expectations.txt10
-rw-r--r--src/tests/compiler_tests/RecordConstantPrecision_test.cpp6
-rw-r--r--src/tests/gl_tests/CopyTexImageTest.cpp50
-rw-r--r--src/tests/gl_tests/GLSLTest.cpp132
-rw-r--r--src/tests/restricted_traces/OWNERS1
-rw-r--r--third_party/abseil-cpp/symbols_arm64_dbg.def1
-rw-r--r--third_party/abseil-cpp/symbols_x64_dbg.def1
-rw-r--r--third_party/abseil-cpp/symbols_x86_dbg.def1
-rw-r--r--third_party/vulkan-deps/DEPS12
-rwxr-xr-xthird_party/vulkan-deps/glslang/src/SPIRV/GlslangToSpv.cpp2
-rw-r--r--third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.cpp13
-rw-r--r--third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.h2
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.comp.out1827
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.frag.out1813
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tesc.out584
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tese.out312
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.vert.out828
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.comp.out1827
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.frag.out1883
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tesc.out787
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tese.out600
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.vert.out912
-rw-r--r--third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out267
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.bf5
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.core.grammar.json45
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.cs5
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.h6
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp6
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp116
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.json5
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.lua5
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.py5
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spv.d5
-rw-r--r--third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/jsonToSpirv.cpp6
-rw-r--r--tools/flex-bison/README.md2
-rw-r--r--tools/glslang/README.md2
68 files changed, 6458 insertions, 6867 deletions
diff --git a/.clang-format b/.clang-format
index 9633f2cc83..609edd3da6 100644
--- a/.clang-format
+++ b/.clang-format
@@ -46,7 +46,6 @@ AlignConsecutiveAssignments: true
# Use 2 space negative offset for access modifiers
AccessModifierOffset: -2
-# TODO(jmadill): Decide if we want this on. Doesn't have an "all or none" mode.
AllowShortCaseLabelsOnASingleLine: false
# Useful for spacing out functions in classes
diff --git a/Android.bp b/Android.bp
index b1a35b4eec..6f3b44e941 100644
--- a/Android.bp
+++ b/Android.bp
@@ -64,7 +64,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -165,7 +165,7 @@ cc_library_shared {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_DISPATCH_LIBRARY=\"libGLESv2_angle\"",
"-DANGLE_EGL_LIBRARY_NAME=\"libEGL_angle\"",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
@@ -269,7 +269,7 @@ cc_library_shared {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -326,7 +326,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -386,7 +386,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -472,7 +472,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -549,7 +549,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -689,7 +689,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_CRC_FOR_PIPELINE_CACHE",
@@ -1032,7 +1032,7 @@ cc_library_static {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -1145,7 +1145,7 @@ cc_library_static {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -1206,7 +1206,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -1253,7 +1253,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -1292,7 +1292,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -1342,7 +1342,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -1408,7 +1408,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -1480,7 +1480,7 @@ cc_library_static {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -1688,7 +1688,7 @@ cc_library_static {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -2871,7 +2871,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -2927,7 +2927,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -2984,7 +2984,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3053,7 +3053,7 @@ cc_library_static {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3100,7 +3100,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -3146,7 +3146,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -3190,7 +3190,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3256,7 +3256,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3322,7 +3322,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3390,7 +3390,7 @@ cc_library_static {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_CRC_FOR_PIPELINE_CACHE",
@@ -3471,7 +3471,7 @@ cc_library_static {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3660,7 +3660,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_CRC_FOR_PIPELINE_CACHE",
@@ -3713,7 +3713,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3762,7 +3762,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -3816,7 +3816,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -3861,7 +3861,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -3917,7 +3917,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -3959,7 +3959,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4001,7 +4001,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4044,7 +4044,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4087,7 +4087,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4148,7 +4148,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4194,7 +4194,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4240,7 +4240,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4282,7 +4282,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4325,7 +4325,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4379,7 +4379,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4424,7 +4424,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4482,7 +4482,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4531,7 +4531,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4581,7 +4581,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4635,7 +4635,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4685,7 +4685,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4753,7 +4753,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4801,7 +4801,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4852,7 +4852,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4901,7 +4901,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -4959,7 +4959,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5005,7 +5005,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5053,7 +5053,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5100,7 +5100,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5148,7 +5148,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5213,7 +5213,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5261,7 +5261,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5312,7 +5312,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5355,7 +5355,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5425,7 +5425,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5467,7 +5467,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5529,7 +5529,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5571,7 +5571,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5613,7 +5613,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5657,7 +5657,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5710,7 +5710,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5756,7 +5756,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5812,7 +5812,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5857,7 +5857,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5903,7 +5903,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -5950,7 +5950,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6018,7 +6018,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6064,7 +6064,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6111,7 +6111,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6157,7 +6157,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6205,7 +6205,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6253,7 +6253,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6296,7 +6296,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6343,7 +6343,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6386,7 +6386,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6434,7 +6434,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6481,7 +6481,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6527,7 +6527,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6572,7 +6572,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6614,7 +6614,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6660,7 +6660,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6708,7 +6708,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6755,7 +6755,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6797,7 +6797,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6846,7 +6846,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6892,7 +6892,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6935,7 +6935,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -6978,7 +6978,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7021,7 +7021,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7079,7 +7079,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7123,7 +7123,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7181,7 +7181,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7227,7 +7227,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7270,7 +7270,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7314,7 +7314,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7357,7 +7357,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7402,7 +7402,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7445,7 +7445,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7487,7 +7487,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7528,7 +7528,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7570,7 +7570,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7614,7 +7614,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7661,7 +7661,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DCR_CLANG_REVISION=\"llvmorg-18-init-12938-geb1d5065-1\"",
"-DDYNAMIC_ANNOTATIONS_ENABLED=0",
"-DHAVE_SYS_UIO_H",
@@ -7750,7 +7750,7 @@ cc_library_static {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -7813,7 +7813,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -7877,7 +7877,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_CAPTURE_ENABLED=0",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
@@ -7972,7 +7972,7 @@ cc_defaults {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_CAPTURE_ENABLED=0",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
@@ -8030,7 +8030,7 @@ cc_defaults {
],
cflags: [
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
"-DANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE=1",
@@ -8139,7 +8139,7 @@ cc_library_shared {
cflags: [
"-DABSL_ALLOCATOR_NOTHROW=1",
"-DANDROID",
- "-DANDROID_NDK_VERSION_ROLL=r25c_1",
+ "-DANDROID_NDK_VERSION_ROLL=r26b_1",
"-DANGLE_CAPTURE_ENABLED=0",
"-DANGLE_ENABLE_CONTEXT_MUTEX=1",
"-DANGLE_ENABLE_CONTEXT_MUTEX_RECURSION=1",
diff --git a/DEPS b/DEPS
index 2f48a033c0..32b912d52d 100644
--- a/DEPS
+++ b/DEPS
@@ -45,7 +45,7 @@ vars = {
'checkout_angle_mesa': False,
# Version of Chromium our Chromium-based DEPS are mirrored from.
- 'chromium_revision': 'd6f0715fbaaf8489d7d6c45a6ee50233678f5318',
+ 'chromium_revision': '27249fedce4b0c4800bb08eda18835d7b0509d23',
# We never want to checkout chromium,
# but need a dummy DEPS entry for the autoroller
'dummy_checkout_chromium': False,
@@ -90,7 +90,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling catapult
# and whatever else without interference from each other.
- 'catapult_revision': '093f85fdf881a3136ccbde54828438814120af96',
+ 'catapult_revision': '69bde63990232fa4c5f4ffaf61e95596c25f03f3',
# the commit queue can handle CLs rolling Fuchsia sdk
# and whatever else without interference from each other.
@@ -132,7 +132,7 @@ vars = {
# reclient CIPD package
'reclient_package': 'infra/rbe/client/',
# reclient CIPD package version
- 'reclient_version': 're_client_version:0.123.1.b4c22d0-gomaip',
+ 'reclient_version': 're_client_version:0.124.1.13f78cc-gomaip',
# siso CIPD package version.
'siso_version': 'git_revision:acf6e472017229d73c507e50c8660c2d3a2021e0',
@@ -145,12 +145,12 @@ vars = {
deps = {
'build': {
- 'url': Var('chromium_git') + '/chromium/src/build.git@7d0812ef48f15b342cee12535fcf7f8f7583b343',
+ 'url': Var('chromium_git') + '/chromium/src/build.git@6fdac9cc5eac1d59c208601c03c183007310bca2',
'condition': 'not build_with_chromium',
},
'buildtools': {
- 'url': Var('chromium_git') + '/chromium/src/buildtools.git@894e045303a623914a36c083d4df4fe70b24fc97',
+ 'url': Var('chromium_git') + '/chromium/src/buildtools.git@9a7b2358106026b412e3233c280b58a98280a024',
'condition': 'not build_with_chromium',
},
@@ -204,12 +204,12 @@ deps = {
},
'testing': {
- 'url': '{chromium_git}/chromium/src/testing@dbd7cb3e68da17567164a74b48a833db2e779819',
+ 'url': '{chromium_git}/chromium/src/testing@1633d23fc7b6ea79319a60a9e65a75ecc9d00771',
'condition': 'not build_with_chromium',
},
'third_party/abseil-cpp': {
- 'url': Var('chromium_git') + '/chromium/src/third_party/abseil-cpp@0764ad493e54a79c7e3e02fc3412ef55b4835b9e',
+ 'url': Var('chromium_git') + '/chromium/src/third_party/abseil-cpp@025aa883df36d96e43b551dab5e96042e11b50d3',
'condition': 'not build_with_chromium',
},
@@ -255,7 +255,7 @@ deps = {
'packages': [
{
'package': 'chromium/third_party/android_build_tools/lint',
- 'version': '0myhyR77F6-p8FkluxgAw-t0PcSPOLVMoRUV8zqCBIkC',
+ 'version': 'HauAZeOm40GKv93v51MaoIilRbuPDo29QhN98r7kQaMC',
},
],
'condition': 'checkout_android and not build_with_chromium',
@@ -282,7 +282,7 @@ deps = {
'packages': [
{
'package': 'chromium/third_party/android_toolchain/android_toolchain',
- 'version': 'NSOM616pOQCfRfDAhC72ltgjyUQp9lAWCMzlmgB18dAC',
+ 'version': 'XSjN84pHxBPX13CrUj3fQjEroncvFGGeJY9wDVEDswoC',
},
],
'condition': 'checkout_android and not build_with_chromium',
@@ -380,7 +380,7 @@ deps = {
},
'third_party/depot_tools': {
- 'url': Var('chromium_git') + '/chromium/tools/depot_tools.git@916dda0a0b15bc08af8a8877593d9ddf94e8a610',
+ 'url': Var('chromium_git') + '/chromium/tools/depot_tools.git@05a55efaa9d4bda7247efac74c4cda68527d8eec',
'condition': 'not build_with_chromium',
},
@@ -499,12 +499,12 @@ deps = {
},
'third_party/libc++/src': {
- 'url': Var('chromium_git') + '/external/github.com/llvm/llvm-project/libcxx.git@7f2dd14f5de9f8de0c5380a048cf552288c83e2b',
+ 'url': Var('chromium_git') + '/external/github.com/llvm/llvm-project/libcxx.git@4ab8957af3274befed723defd5333873478ca7c6',
'condition': 'not build_with_chromium',
},
'third_party/libc++abi/src': {
- 'url': Var('chromium_git') + '/external/github.com/llvm/llvm-project/libcxxabi.git@4cb5c2cefedc025433f81735bacbc0f773fdcd8f',
+ 'url': Var('chromium_git') + '/external/github.com/llvm/llvm-project/libcxxabi.git@d5e7c425e0497efe2800b8a42b3e0bac0b1d3134',
'condition': 'not build_with_chromium',
},
@@ -586,7 +586,7 @@ deps = {
'packages': [
{
'package': 'chromium/third_party/r8',
- 'version': 'ntZT6d-gLBdyTo-D6ie-hZXbQqDe_YNG3RK5ah85jBsC',
+ 'version': 'NyEPLS024hp8BUV5gx7DSIZzgCEWY-tevgRF8F1RWYgC',
},
],
'condition': 'checkout_android and not build_with_chromium',
@@ -633,7 +633,7 @@ deps = {
},
'third_party/SwiftShader': {
- 'url': Var('swiftshader_git') + '/SwiftShader@4befa3ada54ce2fbdadb2383712da70811efe85e',
+ 'url': Var('swiftshader_git') + '/SwiftShader@77be35e337bb80df52c5ea4dd4cf2d2072abad25',
'condition': 'not build_with_chromium',
},
@@ -653,7 +653,7 @@ deps = {
},
'third_party/vulkan-deps': {
- 'url': Var('chromium_git') + '/vulkan-deps@bc34fe665e8478f92d64bd2f3d054a5bc838df34',
+ 'url': Var('chromium_git') + '/vulkan-deps@fb2389e52832250e05c0a5f08a624e31e6401106',
'condition': 'not build_with_chromium',
},
@@ -673,12 +673,12 @@ deps = {
},
'tools/android': {
- 'url': Var('chromium_git') + '/chromium/src/tools/android@925b4391a16758e605b901f45e6a00ccbdd3a7e0',
+ 'url': Var('chromium_git') + '/chromium/src/tools/android@143660d1865d5b3ed735ec11611b80ef261d791a',
'condition': 'checkout_android and not build_with_chromium',
},
'tools/clang': {
- 'url': Var('chromium_git') + '/chromium/src/tools/clang.git@991b697d2c50e34d66e435ae5fbed21dbd140735',
+ 'url': Var('chromium_git') + '/chromium/src/tools/clang.git@28cba3ec325c9ff378264198cef20fda89519c5d',
'condition': 'not build_with_chromium',
},
@@ -724,7 +724,7 @@ deps = {
},
'tools/perf': {
- 'url': Var('chromium_git') + '/chromium/src/tools/perf@3044fe1fd31cfc2713c45ea971f0b89032242240',
+ 'url': Var('chromium_git') + '/chromium/src/tools/perf@e582bc0452b2c11ed4afcee54bb7dd341c8c9d90',
'condition': 'not build_with_chromium',
},
diff --git a/OWNERS b/OWNERS
index ae6b20269b..862f0ada7a 100644
--- a/OWNERS
+++ b/OWNERS
@@ -5,7 +5,6 @@
# @chromium.org email addresses:
geofflang@chromium.org
-jmadill@chromium.org
kbr@chromium.org
syoussefi@chromium.org
ynovikov@chromium.org
@@ -17,12 +16,9 @@ chrisforbes@google.com
cnorthrop@google.com
geofflang@google.com
ianelliott@google.com
-jmadill@google.com
-jonahr@google.com
lpy@google.com
romanl@google.com
solti@google.com
-srisser@google.com
syoussefi@google.com
vantablack@google.com
ynovikov@google.com
diff --git a/WATCHLISTS b/WATCHLISTS
index 47c9803aa7..f0e7d8a3a0 100644
--- a/WATCHLISTS
+++ b/WATCHLISTS
@@ -19,7 +19,6 @@
# Please keep alphabetical
##############################################################################
'WATCHLISTS': {
- 'vulkan': ['cclao+angleWatchVk@google.com',
- 'jmadill+watch@chromium.org'],
+ 'vulkan': ['cclao+angleWatchVk@google.com'],
},
}
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn
index 6705999966..697d598f0b 100644
--- a/build/config/android/BUILD.gn
+++ b/build/config/android/BUILD.gn
@@ -82,20 +82,6 @@ config("compiler") {
# that is Android-only. Please see that target for advice on what should go in
# :runtime_library vs. :compiler.
config("runtime_library") {
- libs = []
- ldflags = []
-
- # On 64-bit platforms, the only symbols provided by libandroid_support.a are
- # strto{d,f,l,ul}_l. These symbols are not used by our libc++, and newer NDKs
- # don't provide a libandroid_support.a on 64-bit platforms, so we only depend
- # on this library on 32-bit platforms.
- if (current_cpu == "arm" || current_cpu == "x86") {
- libs += [ "android_support" ]
- }
-
- if (current_cpu == "arm" && arm_version == 6) {
- libs += [ "atomic" ]
- }
}
config("hide_all_but_jni_onload") {
diff --git a/build/config/android/config.gni b/build/config/android/config.gni
index 37398140f7..1b8352cdef 100644
--- a/build/config/android/config.gni
+++ b/build/config/android/config.gni
@@ -118,11 +118,9 @@ if (is_android || is_chromeos) {
# Today (2023-08-30) only the canary Android NDK supports RISC-V64.
default_android_ndk_root = "//third_party/android_toolchain_canary/ndk"
}
- default_android_ndk_version = "r25c"
- default_android_ndk_major_version = 25
+ default_android_ndk_version = "r26b"
} else {
assert(defined(default_android_ndk_version))
- assert(defined(default_android_ndk_major_version))
}
public_android_sdk_root = "//third_party/android_sdk/public"
@@ -183,7 +181,6 @@ if (is_android || is_chromeos) {
declare_args() {
android_ndk_root = default_android_ndk_root
android_ndk_version = default_android_ndk_version
- android_ndk_major_version = default_android_ndk_major_version
# Android API level for 32 bits platforms
android32_ndk_api_level = default_min_sdk_version
@@ -392,8 +389,6 @@ if (is_android || is_chromeos) {
android_tool_prefix = "$clang_base_path/bin/llvm-"
android_readelf = "${android_tool_prefix}readobj"
android_objcopy = "${android_tool_prefix}objcopy"
- android_gdbserver =
- "$android_ndk_root/prebuilt/$android_prebuilt_arch/gdbserver/gdbserver"
android_sdk_tools_bundle_aapt2 = "${android_sdk_tools_bundle_aapt2_dir}/aapt2"
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 4bcc38d19a..5fc3eff47d 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -1623,9 +1623,13 @@ if (enable_java_templates) {
depfile = "$target_gen_dir/$target_name.d"
outputs = [ invoker.output ]
inputs = [
- java_path_for_inputs,
- _d8_path,
+ "$android_sdk/optional/android.test.base.jar",
+ "$android_sdk/optional/org.apache.http.legacy.jar",
+ "//third_party/jdk/current/bin/java",
_custom_d8_path,
+ _d8_path,
+ android_sdk_jar,
+ java_path_for_inputs,
]
if (defined(invoker.inputs)) {
inputs += invoker.inputs
@@ -2981,8 +2985,13 @@ if (enable_java_templates) {
action_with_pydeps(target_name) {
if (invoker.use_turbine) {
script = "//build/android/gyp/turbine.py"
+ inputs = [
+ "//third_party/jdk/current/bin/java",
+ android_sdk_jar,
+ ]
} else {
script = "//build/android/gyp/compile_java.py"
+ inputs = [ "//third_party/jdk/current/bin/javac" ]
}
if (target_name == "chrome_java__header") {
@@ -3000,10 +3009,13 @@ if (enable_java_templates) {
if (!invoker.enable_errorprone && !invoker.use_turbine) {
outputs += [ invoker.output_jar_path + ".info" ]
}
- inputs = invoker.source_files + _java_srcjars + [
- _build_config,
- java_path_for_inputs,
- ]
+ inputs += invoker.source_files + _java_srcjars + [
+ "$android_sdk/optional/android.test.base.jar",
+ "$android_sdk/optional/org.apache.http.legacy.jar",
+ _build_config,
+ java_path_for_inputs,
+ ]
+
if (invoker.source_files != []) {
inputs += [ invoker.target_sources_file ]
}
diff --git a/build/config/ios/ios_test_runner_wrapper.gni b/build/config/ios/ios_test_runner_wrapper.gni
index 1060883655..8184010dab 100644
--- a/build/config/ios/ios_test_runner_wrapper.gni
+++ b/build/config/ios/ios_test_runner_wrapper.gni
@@ -90,20 +90,11 @@ template("ios_test_runner_wrapper") {
]
# Clones is not required by test runner so only pass if defined.
- # For now preserve passing shards during transition ifff clones not passed
- # TODO(crbug.com/1500395) deprecate shards
if (defined(clones)) {
executable_args += [
"--clones",
"${clones}",
]
- } else {
- if (defined(shards)) {
- executable_args += [
- "--shards",
- "${shards}",
- ]
- }
}
if (xcode_version_int >= 1400) {
diff --git a/build/config/ios/ios_test_runner_xcuitest.gni b/build/config/ios/ios_test_runner_xcuitest.gni
index dce0542f99..0ca88262db 100644
--- a/build/config/ios/ios_test_runner_xcuitest.gni
+++ b/build/config/ios/ios_test_runner_xcuitest.gni
@@ -43,9 +43,6 @@ template("ios_test_runner_xcuitest") {
"deps",
"executable_args",
"retries",
-
- # TODO(crbug.com/1500395) deprecate shards
- "shards",
"xcode_test_application_name",
])
_root_build_dir = rebase_path("${root_build_dir}", root_build_dir)
diff --git a/build/config/siso/PRESUBMIT.py b/build/config/siso/PRESUBMIT.py
index f2a7665e61..e092596a7f 100644
--- a/build/config/siso/PRESUBMIT.py
+++ b/build/config/siso/PRESUBMIT.py
@@ -15,17 +15,12 @@ def CheckTryjobFooters(input_api, output_api):
message = (
"Missing 'Cq-Include-Trybots:' field required for Siso config changes"
"\nPlease add the following fields to run Siso tryjobs.\n\n"
- "Cq-Include-Trybots: luci.chromium.try:android-arm64-siso-rel\n"
- "Cq-Include-Trybots: luci.chromium.try:android-binary-size-siso\n"
- "Cq-Include-Trybots: luci.chromium.try:android_compile_siso_dbg\n"
"Cq-Include-Trybots: luci.chromium.try:chromeos-amd64-generic-siso-rel\n"
"Cq-Include-Trybots: luci.chromium.try:fuchsia-binary-size-siso\n"
"Cq-Include-Trybots: luci.chromium.try:ios-simulator-siso\n"
"Cq-Include-Trybots: luci.chromium.try:linux-chromeos-compile-siso-dbg\n"
- "Cq-Include-Trybots: luci.chromium.try:linux-siso-rel\n"
"Cq-Include-Trybots: luci.chromium.try:linux_chromium_asan_siso_rel_ng\n"
"Cq-Include-Trybots: luci.chromium.try:linux_chromium_compile_siso_dbg_ng\n"
"Cq-Include-Trybots: luci.chromium.try:mac-siso-rel\n"
- "Cq-Include-Trybots: luci.chromium.try:win-siso-rel\n"
)
return [output_api.PresubmitPromptWarning(message)]
diff --git a/build/config/siso/android.star b/build/config/siso/android.star
index b8d0cee8df..c3e1ccf1b0 100644
--- a/build/config/siso/android.star
+++ b/build/config/siso/android.star
@@ -44,13 +44,6 @@ def __step_config(ctx, step_config):
"name": "android/turbine",
"command_prefix": "python3 ../../build/android/gyp/turbine.py",
"handler": "android_turbine",
- # TODO(crrev.com/c/4596899): Add Java inputs in GN config.
- "inputs": [
- "third_party/jdk/current/bin/java",
- "third_party/android_sdk/public/platforms/android-34/android.jar",
- "third_party/android_sdk/public/platforms/android-34/optional/android.test.base.jar",
- "third_party/android_sdk/public/platforms/android-34/optional/org.apache.http.legacy.jar",
- ],
"remote": remote_run,
"platform_ref": "large",
"canonicalize_dir": True,
@@ -80,12 +73,6 @@ def __step_config(ctx, step_config):
"name": "android/compile_java",
"command_prefix": "python3 ../../build/android/gyp/compile_java.py",
"handler": "android_compile_java",
- # TODO(crrev.com/c/4596899): Add Java inputs in GN config.
- "inputs": [
- "third_party/jdk/current/bin/javac",
- "third_party/android_sdk/public/platforms/android-34/optional/android.test.base.jar",
- "third_party/android_sdk/public/platforms/android-34/optional/org.apache.http.legacy.jar",
- ],
# Don't include files under --generated-dir.
# This is probably optimization for local incrmental builds.
# However, this is harmful for remote build cache hits.
@@ -100,13 +87,6 @@ def __step_config(ctx, step_config):
"name": "android/dex",
"command_prefix": "python3 ../../build/android/gyp/dex.py",
"handler": "android_dex",
- # TODO(crrev.com/c/4596899): Add Java inputs in GN config.
- "inputs": [
- "third_party/jdk/current/bin/java",
- "third_party/android_sdk/public/platforms/android-34/android.jar",
- "third_party/android_sdk/public/platforms/android-34/optional/android.test.base.jar",
- "third_party/android_sdk/public/platforms/android-34/optional/org.apache.http.legacy.jar",
- ],
# TODO(crbug.com/1452038): include only required jar, dex files in GN config.
"indirect_inputs": {
"includes": ["*.dex", "*.ijar.jar", "*.turbine.jar"],
diff --git a/build/fuchsia/test/base_ermine_ctl.py b/build/fuchsia/test/base_ermine_ctl.py
deleted file mode 100644
index c751986786..0000000000
--- a/build/fuchsia/test/base_ermine_ctl.py
+++ /dev/null
@@ -1,201 +0,0 @@
-# Copyright 2022 The Chromium Authors
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-"""Adds python interface to erminectl tools on workstation products."""
-
-import logging
-import subprocess
-import time
-from typing import List, Tuple
-
-
-class BaseErmineCtl:
- """Compatible class for automating control of Ermine and its OOBE.
-
- Must be used after checking if the tool exists.
-
- Usage:
- ctl = base_ermine_ctl.BaseErmineCtl(some_target)
- if ctl.exists:
- ctl.take_to_shell()
-
- logging.info('In the shell')
- else:
- logging.info('Tool does not exist!')
-
- This is only necessary after a target reboot or provision (IE pave).
- """
-
- _OOBE_PASSWORD = 'workstation_test_password'
- _TOOL = 'erminectl'
- _OOBE_SUBTOOL = 'oobe'
- _MAX_STATE_TRANSITIONS = 5
-
- # Mapping between the current state and the next command to run
- # to move it to the next state.
- _STATE_TO_NEXT = {
- 'SetPassword': ['set_password', _OOBE_PASSWORD],
- 'Unknown': ['skip'],
- 'Shell': [],
- 'Login': ['login', _OOBE_PASSWORD],
- }
- _COMPLETE_STATE = 'Shell'
-
- _READY_TIMEOUT = 10
- _WAIT_ATTEMPTS = 10
- _WAIT_FOR_READY_SLEEP_SEC = 3
-
- def __init__(self):
- self._ermine_exists = False
- self._ermine_exists_check = False
-
- # pylint: disable=no-self-use
- # Overridable method to determine how command gets executed.
- def execute_command_async(self, args: List[str]) -> subprocess.Popen:
- """Executes command asynchronously, returning immediately."""
- raise NotImplementedError
-
- # pylint: enable=no-self-use
-
- @property
- def exists(self) -> bool:
- """Returns the existence of the tool.
-
- Checks whether the tool exists on and caches the result.
-
- Returns:
- True if the tool exists, False if not.
- """
- if not self._ermine_exists_check:
- self._ermine_exists = self._execute_tool(['--help'],
- can_fail=True) == 0
- self._ermine_exists_check = True
- logging.debug('erminectl exists: %s',
- ('true' if self._ermine_exists else 'false'))
- return self._ermine_exists
-
- @property
- def status(self) -> Tuple[int, str]:
- """Returns the status of ermine.
-
- Note that if the tool times out or does not exist, a non-zero code
- is returned.
-
- Returns:
- Tuple of (return code, status as string). -1 for timeout.
- Raises:
- AssertionError: if the tool does not exist.
- """
- assert self.exists, (f'Tool {self._TOOL} cannot have a status if'
- ' it does not exist')
- # Executes base command, which returns status.
- proc = self._execute_tool_async([])
- try:
- proc.wait(timeout=self._READY_TIMEOUT)
- except subprocess.TimeoutExpired:
- logging.warning('Timed out waiting for status')
- return -1, 'Timeout'
- stdout, _ = proc.communicate()
- return proc.returncode, stdout.strip()
-
- @property
- def ready(self) -> bool:
- """Indicates if the tool is ready for regular use.
-
- Returns:
- False if not ready, and True if ready.
- Raises:
- AssertionError: if the tool does not exist.
- """
- assert self.exists, (f'Tool {self._TOOL} cannot be ready if'
- ' it does not exist')
- return_code, _ = self.status
- return return_code == 0
-
- def _execute_tool_async(self, command: List[str]) -> subprocess.Popen:
- """Executes a sub-command asynchronously.
-
- Args:
- command: list of strings to compose the command. Forwards to the
- command runner.
- Returns:
- Popen of the subprocess.
- """
- full_command = [self._TOOL, self._OOBE_SUBTOOL]
- full_command.extend(command)
-
- # Returns immediately with Popen.
- return self.execute_command_async(full_command)
-
- def _execute_tool(self, command: List[str], can_fail: bool = False) -> int:
- """Executes a sub-command of the tool synchronously.
- Raises exception if non-zero returncode is given and |can_fail| = False.
-
- Args:
- command: list of strings to compose the command. Forwards to the
- command runner.
- can_fail: Whether or not the command can fail.
- Raises:
- RuntimeError: if non-zero returncode is returned and can_fail =
- False.
- Returns:
- Return code of command execution if |can_fail| is True.
- """
- proc = self._execute_tool_async(command)
- stdout, stderr = proc.communicate()
- if not can_fail and proc.returncode != 0:
- raise RuntimeError(f'Command {" ".join(command)} failed.'
- f'\nSTDOUT: {stdout}\nSTDERR: {stderr}')
- return proc.returncode
-
- def wait_until_ready(self) -> None:
- """Waits until the tool is ready through sleep-poll.
-
- The tool may not be ready after a pave or restart.
- This checks the status and exits after its ready or Timeout.
-
- Raises:
- TimeoutError: if tool is not ready after certain amount of attempts.
- AssertionError: if tool does not exist.
- """
- assert self.exists, f'Tool {self._TOOL} must exist to use it.'
- for _ in range(self._WAIT_ATTEMPTS):
- if self.ready:
- return
- time.sleep(self._WAIT_FOR_READY_SLEEP_SEC)
- raise TimeoutError('Timed out waiting for a valid status to return')
-
- def take_to_shell(self) -> None:
- """Takes device to shell after waiting for tool to be ready.
-
- Examines the current state of the device after waiting for it to be
- ready. Once ready, goes through the states of logging in. This is:
- - CreatePassword -> Skip screen -> Shell
- - Login -> Shell
- - Shell
-
- Regardless of starting state, this will exit once the shell state is
- reached.
-
- Raises:
- NotImplementedError: if an unknown state is reached.
- RuntimeError: If number of state transitions exceeds the max number
- that is expected.
- """
- self.wait_until_ready()
- _, state = self.status
- max_states = self._MAX_STATE_TRANSITIONS
- while state != self._COMPLETE_STATE and max_states:
- max_states -= 1
- command = self._STATE_TO_NEXT.get(state)
- logging.debug('Ermine state is: %s', state)
- if command is None:
- raise NotImplementedError('Encountered invalid state: %s' %
- state)
- self._execute_tool(command)
- _, state = self.status
-
- if not max_states:
- raise RuntimeError('Did not transition to shell in %d attempts.'
- ' Please file a bug.' %
- self._MAX_STATE_TRANSITIONS)
diff --git a/build/fuchsia/test/base_ermine_ctl_unittests.py b/build/fuchsia/test/base_ermine_ctl_unittests.py
deleted file mode 100755
index c0d72fe0ed..0000000000
--- a/build/fuchsia/test/base_ermine_ctl_unittests.py
+++ /dev/null
@@ -1,236 +0,0 @@
-#!/usr/bin/env vpython3
-# Copyright 2022 The Chromium Authors
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-"""Tests scenarios for ermine_ctl"""
-import logging
-import subprocess
-import time
-import unittest
-import unittest.mock as mock
-
-from base_ermine_ctl import BaseErmineCtl
-
-
-class BaseBaseErmineCtlTest(unittest.TestCase):
- """Unit tests for BaseBaseErmineCtl interface."""
-
- def __init__(self, *args, **kwargs):
- super().__init__(*args, **kwargs)
- self.ermine_ctl = BaseErmineCtl()
-
- def _set_mock_proc(self, return_value: int):
- """Set |execute_command_async|'s return value to a mocked subprocess."""
- self.ermine_ctl.execute_command_async = mock.MagicMock()
- mock_proc = mock.create_autospec(subprocess.Popen, instance=True)
- mock_proc.communicate.return_value = 'foo', 'stderr'
- mock_proc.returncode = return_value
- self.ermine_ctl.execute_command_async.return_value = mock_proc
-
- return mock_proc
-
- def test_check_exists(self):
- """Test |exists| returns True if tool command succeeds (returns 0)."""
- self._set_mock_proc(return_value=0)
-
- self.assertTrue(self.ermine_ctl.exists)
-
- # Modifying this will not result in a change in state due to caching.
- self._set_mock_proc(return_value=42)
- self.assertTrue(self.ermine_ctl.exists)
-
- def test_does_not_exist(self):
- """Test |exists| returns False if tool command fails (returns != 0)."""
- self._set_mock_proc(return_value=42)
-
- self.assertFalse(self.ermine_ctl.exists)
-
- def test_ready_raises_assertion_error_if_not_exist(self):
- """Test |ready| raises AssertionError if tool does not exist."""
- self._set_mock_proc(return_value=42)
- self.assertRaises(AssertionError, getattr, self.ermine_ctl, 'ready')
-
- def test_ready_returns_false_if_bad_status(self):
- """Test |ready| return False if tool has a bad status."""
- with mock.patch.object(
- BaseErmineCtl, 'status',
- new_callable=mock.PropertyMock) as mock_status, \
- mock.patch.object(BaseErmineCtl, 'exists',
- new_callable=mock.PropertyMock) as mock_exists:
- mock_exists.return_value = True
- mock_status.return_value = (1, 'FakeStatus')
- self.assertFalse(self.ermine_ctl.ready)
-
- def test_ready_returns_true(self):
- """Test |ready| return True if tool returns good status (rc = 0)."""
- with mock.patch.object(
- BaseErmineCtl, 'status',
- new_callable=mock.PropertyMock) as mock_status, \
- mock.patch.object(BaseErmineCtl, 'exists',
- new_callable=mock.PropertyMock) as mock_exists:
- mock_exists.return_value = True
- mock_status.return_value = (0, 'FakeStatus')
- self.assertTrue(self.ermine_ctl.ready)
-
- def test_status_raises_assertion_error_if_dne(self):
- """Test |status| returns |InvalidState| if tool does not exist."""
- with mock.patch.object(BaseErmineCtl,
- 'exists',
- new_callable=mock.PropertyMock) as mock_exists:
- mock_exists.return_value = False
-
- self.assertRaises(AssertionError, getattr, self.ermine_ctl,
- 'status')
-
- def test_status_returns_rc_and_stdout(self):
- """Test |status| returns subprocess stdout and rc if tool exists."""
- with mock.patch.object(BaseErmineCtl,
- 'exists',
- new_callable=mock.PropertyMock) as _:
- self._set_mock_proc(return_value=10)
-
- self.assertEqual(self.ermine_ctl.status, (10, 'foo'))
-
- def test_status_returns_timeout_state(self):
- """Test |status| returns |Timeout| if exception is raised."""
- with mock.patch.object(
- BaseErmineCtl, 'exists', new_callable=mock.PropertyMock) as _, \
- mock.patch.object(logging, 'warning') as _:
- mock_proc = self._set_mock_proc(return_value=0)
- mock_proc.wait.side_effect = subprocess.TimeoutExpired(
- 'cmd', 'some timeout')
-
- self.assertEqual(self.ermine_ctl.status, (-1, 'Timeout'))
-
- def test_wait_until_ready_raises_assertion_error_if_tool_dne(self):
- """Test |wait_until_ready| is returns false if tool does not exist."""
- with mock.patch.object(BaseErmineCtl,
- 'exists',
- new_callable=mock.PropertyMock) as mock_exists:
- mock_exists.return_value = False
-
- self.assertRaises(AssertionError, self.ermine_ctl.wait_until_ready)
-
- def test_wait_until_ready_loops_until_ready(self):
- """Test |wait_until_ready| loops until |ready| returns True."""
- with mock.patch.object(BaseErmineCtl, 'exists',
- new_callable=mock.PropertyMock) as mock_exists, \
- mock.patch.object(time, 'sleep') as mock_sleep, \
- mock.patch.object(BaseErmineCtl, 'ready',
- new_callable=mock.PropertyMock) as mock_ready:
- mock_exists.return_value = True
- mock_ready.side_effect = [False, False, False, True]
-
- self.ermine_ctl.wait_until_ready()
-
- self.assertEqual(mock_ready.call_count, 4)
- self.assertEqual(mock_sleep.call_count, 3)
-
- def test_wait_until_ready_raises_assertion_error_if_attempts_exceeded(
- self):
- """Test |wait_until_ready| loops if |ready| is not True n attempts."""
- with mock.patch.object(BaseErmineCtl, 'exists',
- new_callable=mock.PropertyMock) as mock_exists, \
- mock.patch.object(time, 'sleep') as mock_sleep, \
- mock.patch.object(BaseErmineCtl, 'ready',
- new_callable=mock.PropertyMock) as mock_ready:
- mock_exists.return_value = True
- mock_ready.side_effect = [False] * 15 + [True]
-
- self.assertRaises(TimeoutError, self.ermine_ctl.wait_until_ready)
-
- self.assertEqual(mock_ready.call_count, 10)
- self.assertEqual(mock_sleep.call_count, 10)
-
- def test_take_to_shell_raises_assertion_error_if_tool_dne(self):
- """Test |take_to_shell| throws AssertionError if not ready is False."""
- with mock.patch.object(BaseErmineCtl,
- 'exists',
- new_callable=mock.PropertyMock) as mock_exists:
- mock_exists.return_value = False
- self.assertRaises(AssertionError, self.ermine_ctl.take_to_shell)
-
- def test_take_to_shell_exits_on_complete_state(self):
- """Test |take_to_shell| exits with no calls if in completed state."""
- with mock.patch.object(BaseErmineCtl,
- 'wait_until_ready') as mock_wait_ready, \
- mock.patch.object(
- BaseErmineCtl, 'status',
- new_callable=mock.PropertyMock) as mock_status:
- mock_proc = self._set_mock_proc(return_value=52)
- mock_wait_ready.return_value = True
- mock_status.return_value = (0, 'Shell')
-
- self.ermine_ctl.take_to_shell()
-
- self.assertEqual(mock_proc.call_count, 0)
-
- def test_take_to_shell_invalid_state_raises_not_implemented_error(self):
- """Test |take_to_shell| raises exception if invalid state is returned.
- """
- with mock.patch.object(BaseErmineCtl,
- 'wait_until_ready') as mock_wait_ready, \
- mock.patch.object(
- BaseErmineCtl, 'status',
- new_callable=mock.PropertyMock) as mock_status:
- mock_wait_ready.return_value = True
- mock_status.return_value = (0, 'SomeUnknownState')
-
- self.assertRaises(NotImplementedError,
- self.ermine_ctl.take_to_shell)
-
- def test_take_to_shell_with_max_transitions_raises_runtime_error(self):
- """Test |take_to_shell| raises exception on too many transitions.
-
- |take_to_shell| attempts to transition from one state to another.
- After 5 attempts, if this does not end in the completed state, an
- Exception is thrown.
- """
- with mock.patch.object(BaseErmineCtl,
- 'wait_until_ready') as mock_wait_ready, \
- mock.patch.object(
- BaseErmineCtl, 'status',
- new_callable=mock.PropertyMock) as mock_status:
- mock_wait_ready.return_value = True
- # Returns too many state transitions before CompleteState.
- mock_status.side_effect = [(0, 'Unknown'),
- (0, 'KnownWithPassword'),
- (0, 'Unknown')] * 3 + [
- (0, 'CompleteState')
- ]
- self.assertRaises(RuntimeError, self.ermine_ctl.take_to_shell)
-
- def test_take_to_shell_executes_known_commands(self):
- """Test |take_to_shell| executes commands if necessary.
-
- Some states can only be transitioned between with specific commands.
- These are executed by |take_to_shell| until the final test |Shell| is
- reached.
- """
- with mock.patch.object(BaseErmineCtl,
- 'wait_until_ready') as mock_wait_ready, \
- mock.patch.object(
- BaseErmineCtl, 'status',
- new_callable=mock.PropertyMock) as mock_status:
- self._set_mock_proc(return_value=0)
- mock_wait_ready.return_value = True
- mock_status.side_effect = [(0, 'Unknown'), (0, 'SetPassword'),
- (0, 'Shell')]
-
- self.ermine_ctl.take_to_shell()
-
- self.assertEqual(self.ermine_ctl.execute_command_async.call_count,
- 2)
- self.ermine_ctl.execute_command_async.assert_has_calls([
- mock.call(['erminectl', 'oobe', 'skip']),
- mock.call().communicate(),
- mock.call([
- 'erminectl', 'oobe', 'set_password',
- 'workstation_test_password'
- ]),
- mock.call().communicate()
- ])
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/build/fuchsia/test/compatible_utils.py b/build/fuchsia/test/compatible_utils.py
index 1290409424..39e1ac1208 100644
--- a/build/fuchsia/test/compatible_utils.py
+++ b/build/fuchsia/test/compatible_utils.py
@@ -7,9 +7,8 @@ import os
import platform
import re
import stat
-import subprocess
-from typing import Iterable, List, Optional, Tuple
+from typing import Iterable, List, Tuple
# File indicating version of an image downloaded to the host
@@ -61,40 +60,6 @@ def add_exec_to_file(file: str) -> None:
os.chmod(file, file_stat.st_mode | stat.S_IXUSR)
-def _add_exec_to_pave_binaries(system_image_dir: str):
- """Add exec to required pave files.
-
- The pave files may vary depending if a product-bundle or a prebuilt images
- directory is being used.
- Args:
- system_image_dir: string path to the directory containing the pave files.
- """
- pb_files = [
- 'pave.sh',
- os.path.join(f'host_{get_host_arch()}', 'bootserver')
- ]
- image_files = [
- 'pave.sh',
- os.path.join(f'bootserver.exe.linux-{get_host_arch()}')
- ]
- use_pb_files = os.path.exists(os.path.join(system_image_dir, pb_files[1]))
- for f in pb_files if use_pb_files else image_files:
- add_exec_to_file(os.path.join(system_image_dir, f))
-
-
-def pave(image_dir: str, target_id: Optional[str])\
- -> subprocess.CompletedProcess:
- """"Pave a device using the pave script inside |image_dir|."""
- _add_exec_to_pave_binaries(image_dir)
- pave_command = [
- os.path.join(image_dir, 'pave.sh'), '--authorized-keys',
- get_ssh_keys(), '-1'
- ]
- if target_id:
- pave_command.extend(['-n', target_id])
- return subprocess.run(pave_command, check=True, text=True, timeout=300)
-
-
def parse_host_port(host_port_pair: str) -> Tuple[str, int]:
"""Parses a host name or IP address and a port number from a string of
any of the following forms:
diff --git a/build/fuchsia/test/compatible_utils_unittests.py b/build/fuchsia/test/compatible_utils_unittests.py
index 02815921c2..fa2a7130b5 100755
--- a/build/fuchsia/test/compatible_utils_unittests.py
+++ b/build/fuchsia/test/compatible_utils_unittests.py
@@ -50,60 +50,6 @@ class CompatibleUtilsTest(unittest.TestCase):
new_stat = os.stat(f.name).st_mode
self.assertTrue(new_stat & stat.S_IXUSR)
- # pylint: disable=no-self-use
- def test_pave_adds_exec_to_binary_files(self) -> None:
- """Test |pave| calls |add_exec_to_file| on necessary files."""
- with mock.patch('os.path.exists', return_value=True), \
- mock.patch('compatible_utils.add_exec_to_file') as mock_exec, \
- mock.patch('platform.machine', return_value='x86_64'), \
- mock.patch('subprocess.run'):
- compatible_utils.pave('some/path/to/dir', 'some-target')
-
- mock_exec.assert_has_calls([
- mock.call('some/path/to/dir/pave.sh'),
- mock.call('some/path/to/dir/host_x64/bootserver')
- ],
- any_order=True)
-
- def test_pave_adds_exec_to_binary_files_if_pb_set_not_found(self) -> None:
- """Test |pave| calls |add_exec_to_file| on necessary files.
-
- Checks if current product-bundle files exist. If not, defaults to
- prebuilt-images set.
- """
- with mock.patch('os.path.exists', return_value=False), \
- mock.patch('compatible_utils.add_exec_to_file') as mock_exec, \
- mock.patch('platform.machine', return_value='x86_64'), \
- mock.patch('subprocess.run'):
- compatible_utils.pave('some/path/to/dir', 'some-target')
-
- mock_exec.assert_has_calls([
- mock.call('some/path/to/dir/pave.sh'),
- mock.call('some/path/to/dir/bootserver.exe.linux-x64')
- ],
- any_order=True)
-
- def test_pave_adds_target_id_if_given(self) -> None:
- """Test |pave| adds target-id to the arguments."""
- with mock.patch('os.path.exists', return_value=False), \
- mock.patch('compatible_utils.add_exec_to_file'), \
- mock.patch('platform.machine', return_value='x86_64'), \
- mock.patch('compatible_utils.get_ssh_keys',
- return_value='authorized-keys-file'), \
- mock.patch('subprocess.run') as mock_subproc:
- mock_subproc.reset_mock()
- compatible_utils.pave('some/path/to/dir', 'some-target')
-
- mock_subproc.assert_called_once_with([
- 'some/path/to/dir/pave.sh', '--authorized-keys',
- 'authorized-keys-file', '-1', '-n', 'some-target'
- ],
- check=True,
- text=True,
- timeout=300)
-
- # pylint: disable=no-self-use
-
def test_parse_host_port_splits_address_and_strips_brackets(self) -> None:
"""Test |parse_host_port| splits ipv4 and ipv6 addresses correctly."""
self.assertEqual(compatible_utils.parse_host_port('hostname:55'),
@@ -191,21 +137,19 @@ universe_package_labels += []
self.assertRaises(compatible_utils.VersionNotFoundError):
compatible_utils.get_sdk_hash('some/dir')
- def trim_noop_prefixes(self, path):
- """Helper function to trim no-op path name prefixes that are
- introduced by os.path.realpath on some platforms. These break
- the unit tests, but have no actual effect on behavior."""
- # These must all end in the path separator character for the
- # string length computation to be correct on all platforms.
- noop_prefixes = ['/private/']
- for prefix in noop_prefixes:
- if path.startswith(prefix):
- return path[len(prefix) - 1:]
- return path
-
def test_install_symbols(self):
-
"""Test |install_symbols|."""
+ def trim_noop_prefixes(path):
+ """Helper function to trim no-op path name prefixes that are
+ introduced by os.path.realpath on some platforms. These break
+ the unit tests, but have no actual effect on behavior."""
+ # These must all end in the path separator character for the
+ # string length computation to be correct on all platforms.
+ noop_prefixes = ['/private/']
+ for prefix in noop_prefixes:
+ if path.startswith(prefix):
+ return path[len(prefix) - 1:]
+ return path
with tempfile.TemporaryDirectory() as fuchsia_out_dir:
build_id = 'test_build_id'
@@ -219,7 +163,7 @@ universe_package_labels += []
compatible_utils.install_symbols([id_path], fuchsia_out_dir)
self.assertTrue(os.path.islink(symbol_file))
self.assertEqual(
- self.trim_noop_prefixes(os.path.realpath(symbol_file)),
+ trim_noop_prefixes(os.path.realpath(symbol_file)),
os.path.join(fuchsia_out_dir, binary_relpath))
new_binary_relpath = 'path/to/new/binary'
@@ -228,11 +172,16 @@ universe_package_labels += []
compatible_utils.install_symbols([id_path], fuchsia_out_dir)
self.assertTrue(os.path.islink(symbol_file))
self.assertEqual(
- self.trim_noop_prefixes(os.path.realpath(symbol_file)),
+ trim_noop_prefixes(os.path.realpath(symbol_file)),
os.path.join(fuchsia_out_dir, new_binary_relpath))
finally:
os.remove(id_path)
+ def test_ssh_keys(self):
+ """Ensures the get_ssh_keys won't return a None."""
+ self.assertIsNotNone(compatible_utils.get_ssh_keys())
+
+
if __name__ == '__main__':
unittest.main()
diff --git a/build/fuchsia/test/ermine_ctl.py b/build/fuchsia/test/ermine_ctl.py
deleted file mode 100644
index 66253891a2..0000000000
--- a/build/fuchsia/test/ermine_ctl.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2022 The Chromium Authors
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-"""Defines erminctl interface compatible with modern scripts."""
-
-import subprocess
-from typing import List
-
-from compatible_utils import get_ssh_prefix
-from common import get_ssh_address
-import base_ermine_ctl
-
-
-class ErmineCtl(base_ermine_ctl.BaseErmineCtl):
- """ErmineCtl adaptation for modern scripts."""
-
- def __init__(self, target_id: str):
- super().__init__()
- self._ssh_prefix = get_ssh_prefix(get_ssh_address(target_id))
-
- def execute_command_async(self, args: List[str]) -> subprocess.Popen:
- return subprocess.Popen(self._ssh_prefix + args,
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT,
- encoding='utf-8')
diff --git a/build/fuchsia/test/flash_device.py b/build/fuchsia/test/flash_device.py
index b936dec97e..23d6fa30e1 100755
--- a/build/fuchsia/test/flash_device.py
+++ b/build/fuchsia/test/flash_device.py
@@ -17,7 +17,7 @@ import common
from boot_device import BootMode, StateTransitionError, boot_device
from common import get_system_info, find_image_in_sdk, \
register_device_args
-from compatible_utils import get_sdk_hash, pave, running_unattended
+from compatible_utils import get_sdk_hash, running_unattended
from lockfile import lock
# Flash-file lock. Used to restrict number of flash operations per host.
@@ -121,8 +121,7 @@ def flash(system_image_dir: str,
def update(system_image_dir: str,
os_check: str,
target: Optional[str],
- serial_num: Optional[str] = None,
- should_pave: Optional[bool] = True) -> None:
+ serial_num: Optional[str] = None) -> None:
"""Conditionally updates target given.
Args:
@@ -130,7 +129,6 @@ def update(system_image_dir: str,
os_check: <check|ignore|update>, which decides how to update the device.
target: Node-name string indicating device that should be updated.
serial_num: String of serial number of device that should be updated.
- should_pave: Optional bool on whether or not to pave or flash.
"""
needs_update, actual_image_dir = update_required(os_check,
system_image_dir, target,
@@ -138,37 +136,28 @@ def update(system_image_dir: str,
system_image_dir = actual_image_dir
if needs_update:
- if should_pave:
- if running_unattended():
- assert target, ('Target ID must be specified on swarming when'
- ' paving.')
- # TODO(crbug.com/1405525): We should check the device state
- # before and after rebooting it to avoid unnecessary reboot or
- # undesired state.
- boot_device(target, BootMode.RECOVERY, serial_num)
- try:
- pave(system_image_dir, target)
- except subprocess.TimeoutExpired:
- # Fallback to flashing, just in case it might work.
- # This could recover the device and make it usable.
- # If it fails, device is unpaveable anyway, and should be taken
- # out of fleet - this will do that.
- flash(system_image_dir, target, serial_num)
- else:
- flash(system_image_dir, target, serial_num)
- # Always sleep after all updates.
- time.sleep(180)
+ flash(system_image_dir, target, serial_num)
+ # Always reboot the device since the ffx may ignore the device state
+ # after the flash. See
+ # https://cs.opensource.google/fuchsia/fuchsia/+/main:src/developer/ffx/lib/fastboot/src/common/fastboot.rs;drc=cfba0bdd4f8857adb6409f8ae9e35af52c0da93e;l=454
+ # TODO(crbug.com/1490434): May consider is_in_fuchsia and
+ # test_connection before the reboot.
+ try:
+ boot_device(target, BootMode.REGULAR, serial_num, must_boot=True)
+ except: # pylint: disable=bare-except
+ # If unfortunately, the reboot failed, it's still worth continuing
+ # the test rather than failing here.
+ pass
def register_update_args(arg_parser: argparse.ArgumentParser,
- default_os_check: Optional[str] = 'check',
- default_pave: Optional[bool] = True) -> None:
+ default_os_check: Optional[str] = 'check') -> None:
"""Register common arguments for device updating."""
serve_args = arg_parser.add_argument_group('update',
'device updating arguments')
serve_args.add_argument('--system-image-dir',
help='Specify the directory that contains the '
- 'Fuchsia image used to pave the device. Only '
+ 'Fuchsia image used to flash the device. Only '
'needs to be specified if "os_check" is not '
'"ignore".')
serve_args.add_argument('--serial-num',
@@ -185,26 +174,16 @@ def register_update_args(arg_parser: argparse.ArgumentParser,
'"update", then the target device will '
'be reflashed. If "ignore", then the OS version '
'will not be checked.')
- serve_args.add_argument('--pave',
- action='store_true',
- help='Performs a pave instead of a flash. '
- 'Device must already be in Zedboot')
- serve_args.add_argument('--no-pave',
- action='store_false',
- dest='pave',
- help='Performs a flash instead of a pave '
- '(experimental).')
- serve_args.set_defaults(pave=default_pave)
def main():
"""Stand-alone function for flashing a device."""
parser = argparse.ArgumentParser()
register_device_args(parser)
- register_update_args(parser, default_os_check='update', default_pave=False)
+ register_update_args(parser, default_os_check='update')
args = parser.parse_args()
update(args.system_image_dir, args.os_check, args.target_id,
- args.serial_num, args.pave)
+ args.serial_num)
if __name__ == '__main__':
diff --git a/build/fuchsia/test/flash_device_unittests.py b/build/fuchsia/test/flash_device_unittests.py
index 65f8dd5410..0cbe09d180 100755
--- a/build/fuchsia/test/flash_device_unittests.py
+++ b/build/fuchsia/test/flash_device_unittests.py
@@ -5,7 +5,6 @@
"""File for testing flash_device.py."""
import os
-import subprocess
import unittest
import unittest.mock as mock
@@ -128,14 +127,14 @@ class FlashDeviceTest(unittest.TestCase):
self._ffx_mock.return_value.stdout = \
'[{"title": "Build", "child": [{"value": "wrong.version"}, ' \
'{"value": "wrong_product"}]}]'
- flash_device.update(_TEST_IMAGE_DIR,
- 'check',
- None,
- should_pave=False)
- # Regular boot is to check the versions.
- mock_boot.assert_called_once_with(mock.ANY,
- boot_device.BootMode.REGULAR,
- None)
+ flash_device.update(_TEST_IMAGE_DIR, 'check', None)
+ mock_boot.assert_has_calls([
+ mock.call(mock.ANY, boot_device.BootMode.REGULAR, None),
+ mock.call(mock.ANY,
+ boot_device.BootMode.REGULAR,
+ None,
+ must_boot=True)
+ ])
self.assertEqual(self._ffx_mock.call_count, 1)
# get_system_info should not even be called due to early exit.
@@ -152,14 +151,14 @@ class FlashDeviceTest(unittest.TestCase):
self._ffx_mock.return_value.stdout = \
'[{"title": "Build", "child": [{"value": "wrong.version"}, ' \
'{"value": "wrong_product"}]}]'
- flash_device.update(_TEST_IMAGE_DIR,
- 'check',
- None,
- should_pave=False)
- # Regular boot is to check the versions.
- mock_boot.assert_called_once_with(mock.ANY,
- boot_device.BootMode.REGULAR,
- None)
+ flash_device.update(_TEST_IMAGE_DIR, 'check', None)
+ mock_boot.assert_has_calls([
+ mock.call(mock.ANY, boot_device.BootMode.REGULAR, None),
+ mock.call(mock.ANY,
+ boot_device.BootMode.REGULAR,
+ None,
+ must_boot=True)
+ ])
self.assertEqual(self._ffx_mock.call_count, 2)
def test_incorrect_target_info(self) -> None:
@@ -167,10 +166,7 @@ class FlashDeviceTest(unittest.TestCase):
retrieved."""
with mock.patch('os.path.exists', return_value=True):
self._ffx_mock.return_value.stdout = '[{"title": "badtitle"}]'
- flash_device.update(_TEST_IMAGE_DIR,
- 'check',
- None,
- should_pave=False)
+ flash_device.update(_TEST_IMAGE_DIR, 'check', None)
self.assertEqual(self._ffx_mock.call_count, 2)
def test_update_with_serial_num(self) -> None:
@@ -179,14 +175,15 @@ class FlashDeviceTest(unittest.TestCase):
with mock.patch('time.sleep'), \
mock.patch('os.path.exists', return_value=True), \
mock.patch('flash_device.boot_device') as mock_boot:
- flash_device.update(_TEST_IMAGE_DIR,
- 'update',
- None,
- 'test_serial',
- should_pave=False)
- mock_boot.assert_called_once_with(mock.ANY,
- boot_device.BootMode.BOOTLOADER,
- 'test_serial')
+ flash_device.update(_TEST_IMAGE_DIR, 'update', None, 'test_serial')
+ mock_boot.assert_has_calls([
+ mock.call(mock.ANY, boot_device.BootMode.BOOTLOADER,
+ 'test_serial'),
+ mock.call(mock.ANY,
+ boot_device.BootMode.REGULAR,
+ 'test_serial',
+ must_boot=True)
+ ])
self.assertEqual(self._ffx_mock.call_count, 2)
def test_reboot_failure(self) -> None:
@@ -201,42 +198,6 @@ class FlashDeviceTest(unittest.TestCase):
_TEST_IMAGE_DIR, None)
self.assertEqual(required, True)
- # pylint: disable=no-self-use
- def test_update_calls_paving_if_specified(self) -> None:
- """Test update calls pave if specified."""
- with mock.patch('time.sleep'), \
- mock.patch('os.path.exists', return_value=True), \
- mock.patch('flash_device.running_unattended',
- return_value=True), \
- mock.patch('flash_device.boot_device') as mock_boot, \
- mock.patch('flash_device.pave') as mock_pave:
- flash_device.update(_TEST_IMAGE_DIR,
- 'update',
- 'some-target-id',
- should_pave=True)
-
- mock_boot.assert_called_once_with('some-target-id',
- boot_device.BootMode.RECOVERY,
- None)
- mock_pave.assert_called_once_with(_TEST_IMAGE_DIR,
- 'some-target-id')
-
- # pylint: enable=no-self-use
-
- def test_update_raises_error_if_unattended_with_no_target(self) -> None:
- """Test update raises error if no target specified."""
-
- self._swarming_mock.return_value = True
- with mock.patch('time.sleep'), \
- mock.patch('flash_device.pave'), \
- mock.patch('os.path.exists', return_value=True):
- self.assertRaises(AssertionError,
- flash_device.update,
- _TEST_IMAGE_DIR,
- 'update',
- None,
- should_pave=True)
-
def test_update_on_swarming(self) -> None:
"""Test update on swarming bots."""
@@ -245,47 +206,22 @@ class FlashDeviceTest(unittest.TestCase):
mock.patch('os.path.exists', return_value=True), \
mock.patch('flash_device.boot_device') as mock_boot, \
mock.patch('subprocess.run'):
- flash_device.update(_TEST_IMAGE_DIR,
- 'update',
- None,
- 'test_serial',
- should_pave=False)
- mock_boot.assert_called_once_with(mock.ANY,
- boot_device.BootMode.BOOTLOADER,
- 'test_serial')
+ flash_device.update(_TEST_IMAGE_DIR, 'update', None, 'test_serial')
+ mock_boot.assert_has_calls([
+ mock.call(mock.ANY, boot_device.BootMode.BOOTLOADER,
+ 'test_serial'),
+ mock.call(mock.ANY,
+ boot_device.BootMode.REGULAR,
+ 'test_serial',
+ must_boot=True)
+ ])
self.assertEqual(self._ffx_mock.call_count, 2)
- # pylint: disable=no-self-use
- def test_update_with_pave_timeout_defaults_to_flash(self) -> None:
- """Test update falls back to flash if pave fails."""
- with mock.patch('time.sleep'), \
- mock.patch('os.path.exists', return_value=True), \
- mock.patch('flash_device.running_unattended',
- return_value=True), \
- mock.patch('flash_device.pave') as mock_pave, \
- mock.patch('flash_device.boot_device'), \
- mock.patch('flash_device.flash') as mock_flash:
- mock_pave.side_effect = subprocess.TimeoutExpired(
- cmd='/some/cmd',
- timeout=0,
- )
- flash_device.update(_TEST_IMAGE_DIR,
- 'update',
- 'some-target-id',
- should_pave=True)
- mock_pave.assert_called_once_with(_TEST_IMAGE_DIR,
- 'some-target-id')
- mock_flash.assert_called_once_with(_TEST_IMAGE_DIR,
- 'some-target-id', None)
-
- # pylint: enable=no-self-use
-
def test_main(self) -> None:
"""Tests |main| function."""
- with mock.patch(
- 'sys.argv',
- ['flash_device.py', '--os-check', 'ignore', '--no-pave']):
+ with mock.patch('sys.argv',
+ ['flash_device.py', '--os-check', 'ignore']):
with mock.patch.dict(os.environ, {}):
flash_device.main()
self.assertEqual(self._ffx_mock.call_count, 0)
diff --git a/build/fuchsia/test/run_test.py b/build/fuchsia/test/run_test.py
index a49ba2ca41..96d77c0667 100755
--- a/build/fuchsia/test/run_test.py
+++ b/build/fuchsia/test/run_test.py
@@ -29,7 +29,6 @@ from run_webpage_test import WebpageTestRunner
from serve_repo import register_serve_args, serve_repository
from start_emulator import create_emulator_from_args, register_emulator_args
from test_runner import TestRunner
-from ermine_ctl import ErmineCtl
def _get_test_runner(runner_args: argparse.Namespace,
@@ -73,7 +72,7 @@ def main():
register_device_args(parser)
register_emulator_args(parser)
register_executable_test_args(parser)
- register_update_args(parser, default_os_check='ignore', default_pave=False)
+ register_update_args(parser, default_os_check='ignore')
register_log_args(parser)
register_package_args(parser, allow_temp_repo=True)
register_serve_args(parser)
@@ -115,8 +114,7 @@ def main():
if runner_args.device:
update(runner_args.system_image_dir, runner_args.os_check,
- runner_args.target_id, runner_args.serial_num,
- runner_args.pave)
+ runner_args.target_id, runner_args.serial_num)
else:
runner_args.target_id = stack.enter_context(
create_emulator_from_args(runner_args))
@@ -141,10 +139,6 @@ def main():
start_system_log(log_manager, False, package_deps.values(),
('--since', 'now'), runner_args.target_id)
- ermine = ErmineCtl(runner_args.target_id)
- if ermine.exists:
- ermine.take_to_shell()
-
resolve_packages(package_deps.keys(), runner_args.target_id)
return test_runner.run_test().returncode
diff --git a/build/fuchsia/test/serial_boot_device.py b/build/fuchsia/test/serial_boot_device.py
index 98a060c3a8..bfc7606935 100755
--- a/build/fuchsia/test/serial_boot_device.py
+++ b/build/fuchsia/test/serial_boot_device.py
@@ -5,7 +5,8 @@
"""Helpers to reliably reboot the device via serial and fastboot.
Note, this file will be executed in docker instance without vpython3, so we use
-python3 instead.
+python3 instead. The docker instance runs this file as a symbolic link of dmc
+via the "main" function.
"""
import json
@@ -201,6 +202,15 @@ def main(action: str) -> int:
serial_num = os.getenv('FUCHSIA_FASTBOOT_SERNUM')
assert node_id is not None
assert serial_num is not None
+
+ handlers = [logging.StreamHandler()]
+ if os.path.isdir('/home/swarming/'):
+ handlers.append(
+ logging.FileHandler('/home/swarming/dmc.%s.log' % node_id))
+ logging.basicConfig(format='%(levelname)s %(asctime)s %(message)s',
+ handlers=handlers)
+ logging.info('running command %s', sys.argv)
+
if action == 'health-check':
if is_in_fuchsia(node_id) or is_in_fastboot(serial_num):
# Print out the json result without using logging to avoid any
diff --git a/build/toolchain/concurrent_links.gni b/build/toolchain/concurrent_links.gni
index 815314dbca..c3275b42fa 100644
--- a/build/toolchain/concurrent_links.gni
+++ b/build/toolchain/concurrent_links.gni
@@ -86,6 +86,9 @@ if (concurrent_links == -1) {
# crbug.com/1505350 - CrOS MSan builder consumes more memory and crushes.
# Max 25.2GB, Avg: 9.4GB, Median: 7.9GB
_args = [ "--mem_per_link_gb=12" ]
+ } else if (is_chromeos && is_debug) {
+ # b/315102033, b/312072730: Large links use 9GB-13.5GB.
+ _args = [ "--mem_per_link_gb=10" ]
} else {
_args = []
}
diff --git a/build/util/LASTCHANGE b/build/util/LASTCHANGE
index d8597fe401..2485fbbfe1 100644
--- a/build/util/LASTCHANGE
+++ b/build/util/LASTCHANGE
@@ -1,2 +1,2 @@
-LASTCHANGE=7d0812ef48f15b342cee12535fcf7f8f7583b343-refs/heads/main@{#1233759}
+LASTCHANGE=6fdac9cc5eac1d59c208601c03c183007310bca2-refs/heads/main@{#1234845}
LASTCHANGE_YEAR=2023
diff --git a/build/util/LASTCHANGE.committime b/build/util/LASTCHANGE.committime
index 086658199e..8cc9eaafa4 100644
--- a/build/util/LASTCHANGE.committime
+++ b/build/util/LASTCHANGE.committime
@@ -1 +1 @@
-1701837197 \ No newline at end of file
+1702009805 \ No newline at end of file
diff --git a/build/util/lastchange.py b/build/util/lastchange.py
index d1be27d5ac..457c0dac91 100755
--- a/build/util/lastchange.py
+++ b/build/util/lastchange.py
@@ -323,8 +323,8 @@ def main(argv=None):
if args.print_only:
print(revision_string)
else:
- lastchange_year = datetime.datetime.utcfromtimestamp(
- version_info.timestamp).year
+ lastchange_year = datetime.datetime.fromtimestamp(
+ version_info.timestamp, datetime.timezone.utc).year
contents_lines = [
"LASTCHANGE=%s" % revision_string,
"LASTCHANGE_YEAR=%s" % lastchange_year,
diff --git a/doc/ContributingCode.md b/doc/ContributingCode.md
index db718afd0e..80744a19bc 100644
--- a/doc/ContributingCode.md
+++ b/doc/ContributingCode.md
@@ -56,7 +56,7 @@
* To kick off a try job, use the 'CQ Dry Run' button, or set the Commit-Queue +1 label to trigger
a dry run of the CQ (will not land the change).
* If you are not part of the `angle-committers` group, you will need to either ask to be added or
- ask a member of the group to submit the tryjob for you. Add jmadill or geofflang as a reviewer
+ ask a member of the group to submit the tryjob for you. Add syoussefi or geofflang as a reviewer
for assistance.
* Wait for the bots to report the result on the code review page. The bot results should be
visible in Gerrit as yellow (in-progress), green (passed), or red (failed). This can take up to
diff --git a/infra/config/OWNERS b/infra/config/OWNERS
index a77cf581cc..5953da0cb7 100644
--- a/infra/config/OWNERS
+++ b/infra/config/OWNERS
@@ -1,3 +1,2 @@
geofflang@chromium.org
-jmadill@chromium.org
ynovikov@chromium.org
diff --git a/src/compiler/translator/Compiler.cpp b/src/compiler/translator/Compiler.cpp
index ec49d33b3d..f62b2e93f8 100644
--- a/src/compiler/translator/Compiler.cpp
+++ b/src/compiler/translator/Compiler.cpp
@@ -774,11 +774,6 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root,
return false;
}
- if (shouldLimitTypeSizes() && !ValidateTypeSizeLimitations(root, &mSymbolTable, &mDiagnostics))
- {
- return false;
- }
-
if (!ValidateFragColorAndFragData(mShaderType, mShaderVersion, mSymbolTable, &mDiagnostics))
{
return false;
@@ -1060,6 +1055,13 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root,
return false;
}
+ // Run after RemoveUnreferencedVariables, validate that the shader does not have excessively
+ // large variables.
+ if (shouldLimitTypeSizes() && !ValidateTypeSizeLimitations(root, &mSymbolTable, &mDiagnostics))
+ {
+ return false;
+ }
+
// Built-in function emulation needs to happen after validateLimitations pass.
GetGlobalPoolAllocator()->lock();
initBuiltInFunctionEmulator(&mBuiltInFunctionEmulator, compileOptions);
diff --git a/src/compiler/translator/ValidateTypeSizeLimitations.cpp b/src/compiler/translator/ValidateTypeSizeLimitations.cpp
index f0ff9cb11a..8f02c65b5e 100644
--- a/src/compiler/translator/ValidateTypeSizeLimitations.cpp
+++ b/src/compiler/translator/ValidateTypeSizeLimitations.cpp
@@ -24,10 +24,11 @@ namespace
// Arbitrarily enforce that all types declared with a size in bytes of over 2 GB will cause
// compilation failure.
//
-// For local and global variables, the limit is much lower (16MB) as that much memory won't fit in
+// For local and global variables, the limit is much lower (64KB) as that much memory won't fit in
// the GPU registers anyway.
-constexpr size_t kMaxVariableSizeInBytes = static_cast<size_t>(2) * 1024 * 1024 * 1024;
-constexpr size_t kMaxPrivateVariableSizeInBytes = static_cast<size_t>(16) * 1024 * 1024;
+constexpr size_t kMaxVariableSizeInBytes = static_cast<size_t>(2) * 1024 * 1024 * 1024;
+constexpr size_t kMaxPrivateVariableSizeInBytes = static_cast<size_t>(64) * 1024;
+constexpr size_t kMaxTotalPrivateVariableSizeInBytes = static_cast<size_t>(16) * 1024 * 1024;
// Traverses intermediate tree to ensure that the shader does not
// exceed certain implementation-defined limits on the sizes of types.
@@ -70,43 +71,115 @@ class ValidateTypeSizeLimitationsTraverser : public TIntermTraverser
continue;
}
- const TType &variableType = asSymbol->getType();
-
- // Create a ShaderVariable from which to compute
- // (conservative) sizing information.
- ShaderVariable shaderVar;
- setCommonVariableProperties(variableType, variable, &shaderVar);
-
- // Compute the std140 layout of this variable, assuming
- // it's a member of a block (which it might not be).
- Std140BlockEncoder layoutEncoder;
- BlockEncoderVisitor visitor("", "", &layoutEncoder);
- // Since the size limit's arbitrary, it doesn't matter
- // whether the row-major layout is correctly determined.
- bool isRowMajorLayout = false;
- TraverseShaderVariable(shaderVar, isRowMajorLayout, &visitor);
- if (layoutEncoder.getCurrentOffset() > kMaxVariableSizeInBytes)
+ if (!validateVariableSize(variable, asSymbol->getLine()))
{
- error(asSymbol->getLine(),
- "Size of declared variable exceeds implementation-defined limit",
- asSymbol->getName());
return false;
}
+ }
+
+ return true;
+ }
+
+ void visitFunctionPrototype(TIntermFunctionPrototype *node) override
+ {
+ const TFunction *function = node->getFunction();
+ const size_t paramCount = function->getParamCount();
+
+ for (size_t paramIndex = 0; paramIndex < paramCount; ++paramIndex)
+ {
+ validateVariableSize(*function->getParam(paramIndex), node->getLine());
+ }
+ }
+
+ bool validateVariableSize(const TVariable &variable, const TSourceLoc &location)
+ {
+ const TType &variableType = variable.getType();
+
+ // Create a ShaderVariable from which to compute
+ // (conservative) sizing information.
+ ShaderVariable shaderVar;
+ setCommonVariableProperties(variableType, variable, &shaderVar);
+
+ // Compute the std140 layout of this variable, assuming
+ // it's a member of a block (which it might not be).
+ Std140BlockEncoder layoutEncoder;
+ BlockEncoderVisitor visitor("", "", &layoutEncoder);
+ // Since the size limit's arbitrary, it doesn't matter
+ // whether the row-major layout is correctly determined.
+ bool isRowMajorLayout = false;
+ TraverseShaderVariable(shaderVar, isRowMajorLayout, &visitor);
+ if (layoutEncoder.getCurrentOffset() > kMaxVariableSizeInBytes)
+ {
+ error(location, "Size of declared variable exceeds implementation-defined limit",
+ variable.name());
+ return false;
+ }
+
+ // Skip over struct declarations. As long as they are not used (or if they are used later
+ // in a less-restricted context (such as a UBO or SSBO)), they can be larger than
+ // kMaxPrivateVariableSizeInBytes.
+ if (variable.symbolType() == SymbolType::Empty && variableType.isStructSpecifier())
+ {
+ return true;
+ }
+
+ switch (variableType.getQualifier())
+ {
+ // List of all types that need to be limited (for example because they cause overflows
+ // in drivers, or create trouble for the SPIR-V gen as the number of an instruction's
+ // arguments cannot be more than 64KB (see OutputSPIRVTraverser::cast)).
+
+ // Local/global variables
+ case EvqTemporary:
+ case EvqGlobal:
+ case EvqConst:
+
+ // Function arguments
+ case EvqParamIn:
+ case EvqParamOut:
+ case EvqParamInOut:
+ case EvqParamConst:
+
+ // Varyings
+ case EvqVaryingIn:
+ case EvqVaryingOut:
+ case EvqSmoothOut:
+ case EvqFlatOut:
+ case EvqNoPerspectiveOut:
+ case EvqCentroidOut:
+ case EvqSampleOut:
+ case EvqNoPerspectiveCentroidOut:
+ case EvqNoPerspectiveSampleOut:
+ case EvqSmoothIn:
+ case EvqFlatIn:
+ case EvqNoPerspectiveIn:
+ case EvqCentroidIn:
+ case EvqNoPerspectiveCentroidIn:
+ case EvqNoPerspectiveSampleIn:
+ case EvqVertexOut:
+ case EvqFragmentIn:
+ case EvqGeometryIn:
+ case EvqGeometryOut:
+ case EvqPerVertexIn:
+ case EvqPerVertexOut:
+ case EvqPatchIn:
+ case EvqPatchOut:
+ case EvqTessControlIn:
+ case EvqTessControlOut:
+ case EvqTessEvaluationIn:
+ case EvqTessEvaluationOut:
- const bool isPrivate = variableType.getQualifier() == EvqTemporary ||
- variableType.getQualifier() == EvqGlobal ||
- variableType.getQualifier() == EvqConst;
- if (isPrivate)
- {
if (layoutEncoder.getCurrentOffset() > kMaxPrivateVariableSizeInBytes)
{
- error(asSymbol->getLine(),
+ error(location,
"Size of declared private variable exceeds implementation-defined limit",
- asSymbol->getName());
+ variable.name());
return false;
}
mTotalPrivateVariablesSize += layoutEncoder.getCurrentOffset();
- }
+ break;
+ default:
+ break;
}
return true;
@@ -115,7 +188,7 @@ class ValidateTypeSizeLimitationsTraverser : public TIntermTraverser
void validateTotalPrivateVariableSize()
{
if (mTotalPrivateVariablesSize.ValueOrDefault(std::numeric_limits<size_t>::max()) >
- kMaxPrivateVariableSizeInBytes)
+ kMaxTotalPrivateVariableSizeInBytes)
{
mDiagnostics->error(
TSourceLoc{},
diff --git a/src/libANGLE/capture/OWNERS b/src/libANGLE/capture/OWNERS
index 787073e2cd..1ab1839530 100644
--- a/src/libANGLE/capture/OWNERS
+++ b/src/libANGLE/capture/OWNERS
@@ -1,2 +1 @@
-jmadill@chromium.org
cnorthrop@google.com
diff --git a/src/libANGLE/renderer/gl/OWNERS b/src/libANGLE/renderer/gl/OWNERS
index f220a7a890..8158660fda 100644
--- a/src/libANGLE/renderer/gl/OWNERS
+++ b/src/libANGLE/renderer/gl/OWNERS
@@ -1,2 +1 @@
geofflang@chromium.org
-jonahr@google.com
diff --git a/src/libANGLE/renderer/vulkan/TextureVk.cpp b/src/libANGLE/renderer/vulkan/TextureVk.cpp
index b9d60a0d95..9d431f1612 100644
--- a/src/libANGLE/renderer/vulkan/TextureVk.cpp
+++ b/src/libANGLE/renderer/vulkan/TextureVk.cpp
@@ -949,8 +949,28 @@ angle::Result TextureVk::copyImage(const gl::Context *context,
gl::GetInternalFormatInfo(internalFormat, GL_UNSIGNED_BYTE);
const vk::Format &vkFormat = renderer->getFormat(internalFormatInfo.sizedInternalFormat);
+ // The texture level being redefined might be the same as the one bound to the framebuffer.
+ // This _could_ be supported by using a temp image before redefining the level (and potentially
+ // discarding the image). However, this is currently unimplemented.
+ FramebufferVk *framebufferVk = vk::GetImpl(source);
+ RenderTargetVk *colorReadRT = framebufferVk->getColorReadRenderTarget();
+ vk::ImageHelper *srcImage = &colorReadRT->getImageForCopy();
+ const bool isCubeMap = index.getType() == gl::TextureType::CubeMap;
+ gl::LevelIndex levelIndex(getNativeImageIndex(index).getLevelIndex());
+ const uint32_t layerIndex = index.hasLayer() ? index.getLayerIndex() : 0;
+ const uint32_t redefinedFace = isCubeMap ? layerIndex : 0;
+ const uint32_t sourceFace = isCubeMap ? colorReadRT->getLayerIndex() : 0;
+ const bool isSelfCopy = mImage == srcImage && levelIndex == colorReadRT->getLevelIndex() &&
+ redefinedFace == sourceFace;
+
ANGLE_TRY(redefineLevel(context, index, vkFormat, newImageSize));
+ if (isSelfCopy)
+ {
+ UNIMPLEMENTED();
+ return angle::Result::Continue;
+ }
+
return copySubImageImpl(context, index, gl::Offset(0, 0, 0), sourceArea, internalFormatInfo,
source);
}
@@ -2026,7 +2046,8 @@ angle::Result TextureVk::redefineLevel(const gl::Context *context,
mImage->getLevelCount() == 1 && mImage->getFirstAllocatedLevel() == levelIndexGL;
// If incompatible, and redefining the single-level image, release it so it can be
- // recreated immediately. This is an optimization to avoid an extra copy.
+ // recreated immediately. This is needed so that the texture can be reallocated with
+ // the correct format/size.
//
// This is not done for cubemaps because every face may be separately redefined. Note
// that this is not possible for texture arrays in general.
diff --git a/src/tests/angle_end2end_tests_expectations.txt b/src/tests/angle_end2end_tests_expectations.txt
index c5f0fa3345..e4a30369f8 100644
--- a/src/tests/angle_end2end_tests_expectations.txt
+++ b/src/tests/angle_end2end_tests_expectations.txt
@@ -29,6 +29,8 @@
6989 GLES : BlitFramebufferTestES31.OOBResolve/* = SKIP
7881 VULKAN : MultithreadingTestES3.UnsynchronizedTextureReads/* = SKIP
7881 VULKAN : MultithreadingTestES3.UnsynchronizedTextureReads2/* = SKIP
+// Incorrectly handled pretty much in all backends
+8446 : CopyTexImageTestES3.RedefineSameLevel/* = SKIP
6743 OPENGL : SimpleStateChangeTestES3.RespecifyBufferAfterBeginTransformFeedback/* = SKIP
6743 GLES : SimpleStateChangeTestES3.RespecifyBufferAfterBeginTransformFeedback/* = SKIP
@@ -109,6 +111,8 @@ b/273271471 WIN INTEL VULKAN : ShaderAlgorithmTest.rgb_to_hsl_vertex_shader/* =
7872 WIN INTEL OPENGL : VertexAttributeTest.AliasingMatrixAttribLocations/ES2_OpenGL = SKIP
7872 WIN INTEL OPENGL : VertexAttributeTest.ShortUnnormalized/ES2_OpenGL = SKIP
7872 WIN INTEL OPENGL : ViewportTest.DoubleWindowCentered/ES2_OpenGL = SKIP
+8441 WIN INTEL OPENGL : GLSLTest_ES3.LargeInterfaceBlockArray/* = SKIP
+8441 WIN INTEL OPENGL : GLSLTest_ES3.LargeInterfaceBlockNestedArray/* = SKIP
// Linux
6065 LINUX INTEL VULKAN : SimpleStateChangeTestES31.DrawThenUpdateUBOThenDrawThenDrawIndexed/* = SKIP
@@ -144,6 +148,10 @@ b/273271471 WIN INTEL VULKAN : ShaderAlgorithmTest.rgb_to_hsl_vertex_shader/* =
6977 LINUX NVIDIA OpenGL : MipmapTestES31.GenerateLowerMipsWithDraw/* = SKIP
7301 LINUX NVIDIA OpenGL : CopyTexImageTest.RGBAToRGB/ES2_OpenGL_EmulateCopyTexImage2DFromRenderbuffers/* = SKIP
7371 LINUX NVIDIA OpenGL : FramebufferTest_ES3.SurfaceDimensionsChangeAndFragCoord/* = SKIP
+8441 NVIDIA OPENGL : GLSLTest_ES3.LargeInterfaceBlockArray/* = SKIP
+8441 NVIDIA OPENGL : GLSLTest_ES3.LargeInterfaceBlockNestedArray/* = SKIP
+8441 NVIDIA GLES : GLSLTest_ES3.LargeInterfaceBlockArray/* = SKIP
+8441 NVIDIA GLES : GLSLTest_ES3.LargeInterfaceBlockNestedArray/* = SKIP
// Nvidia Vulkan
7236 NVIDIA VULKAN : GLSLTest_ES31.TessellationControlShaderMatrixCopyBug/* = SKIP
@@ -1042,6 +1050,8 @@ b/308668391 PIXEL4ORXL VULKAN : ImageTest.SourceYUVAHBTargetExternalRGBSampleNoD
7389 MAC OPENGL : Texture2DTest.ManySupersedingTextureUpdates/* = SKIP
8437 MAC OPENGL : GLSLTest_ES3.LotsOfFieldsInStruct/* = SKIP
+8437 MAC OPENGL : GLSLTest_ES3.LargeInterfaceBlockArray/* = SKIP
+8437 MAC OPENGL : GLSLTest_ES3.LargeInterfaceBlockNestedArray/* = SKIP
// GL, GLES run into issues with cleanup
7495 WIN OpenGL : EGLMultiContextTest.ReuseUnterminatedDisplay/* = SKIP
diff --git a/src/tests/compiler_tests/RecordConstantPrecision_test.cpp b/src/tests/compiler_tests/RecordConstantPrecision_test.cpp
index 07923f9914..9446576ac7 100644
--- a/src/tests/compiler_tests/RecordConstantPrecision_test.cpp
+++ b/src/tests/compiler_tests/RecordConstantPrecision_test.cpp
@@ -141,11 +141,11 @@ TEST_F(RecordConstantPrecisionTest, HigherPrecisionConstantInIndex)
uniform mediump float u;
void main()
{
- const highp int a = 33000;
- mediump float b[34000];
+ const highp int a = 330;
+ mediump float b[340];
gl_FragColor = vec4(b[a]);
})";
compile(shaderString);
ASSERT_FALSE(foundInCode("const highp int s"));
- ASSERT_TRUE(foundInCode("b[33000]"));
+ ASSERT_TRUE(foundInCode("b[330]"));
}
diff --git a/src/tests/gl_tests/CopyTexImageTest.cpp b/src/tests/gl_tests/CopyTexImageTest.cpp
index e0a8fb85b2..bcdae07dc8 100644
--- a/src/tests/gl_tests/CopyTexImageTest.cpp
+++ b/src/tests/gl_tests/CopyTexImageTest.cpp
@@ -1263,6 +1263,56 @@ TEST_P(CopyTexImageTestES3, 3DSubImageDrawMismatchedTextureTypes)
glBindTexture(GL_TEXTURE_3D, 0);
}
+// Make sure a single-level texture can be redefined through glCopyTexImage2D from a framebuffer
+// bound to the same texture. Regression test for a bug in the Vulkan backend where the texture was
+// released before the copy.
+TEST_P(CopyTexImageTestES3, RedefineSameLevel)
+{
+ constexpr GLsizei kSize = 32;
+ constexpr GLsizei kHalfSize = kSize / 2;
+
+ // Create a single-level texture with four colors in different regions.
+ std::vector<GLColor> initData(kSize * kSize);
+ for (GLsizei y = 0; y < kSize; ++y)
+ {
+ const bool isTop = y < kHalfSize;
+ for (GLsizei x = 0; x < kSize; ++x)
+ {
+ const bool isLeft = x < kHalfSize;
+
+ GLColor color = isLeft && isTop ? GLColor::red
+ : isLeft && !isTop ? GLColor::green
+ : !isLeft && isTop ? GLColor::blue
+ : GLColor::yellow;
+ color.A = 123;
+ initData[y * kSize + x] = color;
+ }
+ }
+
+ GLTexture tex;
+ glBindTexture(GL_TEXTURE_2D, tex);
+ glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE,
+ initData.data());
+
+ // Bind the framebuffer to the same texture
+ GLFramebuffer framebuffer;
+ glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
+ glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
+
+ // Redefine the texture
+ glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, kHalfSize / 2, kHalfSize / 2, kHalfSize, kHalfSize,
+ 0);
+
+ // Verify copy is done correctly.
+ ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER);
+
+ EXPECT_PIXEL_RECT_EQ(0, 0, kHalfSize / 2, kHalfSize / 2, GLColor::red);
+ EXPECT_PIXEL_RECT_EQ(kHalfSize / 2, 0, kHalfSize / 2, kHalfSize / 2, GLColor::blue);
+ EXPECT_PIXEL_RECT_EQ(0, kHalfSize / 2, kHalfSize / 2, kHalfSize / 2, GLColor::green);
+ EXPECT_PIXEL_RECT_EQ(kHalfSize / 2, kHalfSize / 2, kHalfSize / 2, kHalfSize / 2,
+ GLColor::yellow);
+}
+
ANGLE_INSTANTIATE_TEST(CopyTexImageTest,
ANGLE_ALL_TEST_PLATFORMS_ES2,
ES2_D3D11_PRESENT_PATH_FAST(),
diff --git a/src/tests/gl_tests/GLSLTest.cpp b/src/tests/gl_tests/GLSLTest.cpp
index 4ff7f66e79..7b6e70d168 100644
--- a/src/tests/gl_tests/GLSLTest.cpp
+++ b/src/tests/gl_tests/GLSLTest.cpp
@@ -18318,6 +18318,138 @@ void main() {
EXPECT_EQ(0u, shader);
}
+// Test that passing large arrays to functions are compiled correctly. Regression test for the
+// SPIR-V generator that made a copy of the array to pass to the function, by decomposing and
+// reconstructing it (in the absence of OpCopyLogical), but the reconstruction instruction has a
+// length higher than can fit in SPIR-V.
+TEST_P(GLSLTest_ES3, LargeInterfaceBlockArrayPassedToFunction)
+{
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+uniform Large { float a[65536]; };
+float f(float b[65536])
+{
+ b[0] = 1.0;
+ return b[0] + b[1];
+}
+out vec4 color;
+void main() {
+ color = vec4(f(a), 0.0, 0.0, 1.0);
+})";
+
+ GLuint shader = CompileShader(GL_FRAGMENT_SHADER, kFS);
+ EXPECT_EQ(0u, shader);
+}
+
+// Make sure the shader in LargeInterfaceBlockArrayPassedToFunction works if the large local is
+// avoided.
+TEST_P(GLSLTest_ES3, LargeInterfaceBlockArray)
+{
+ int maxUniformBlockSize = 0;
+ glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, &maxUniformBlockSize);
+ ANGLE_SKIP_TEST_IF(maxUniformBlockSize < 16384 * 4);
+
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+uniform Large { float a[16384]; };
+out vec4 color;
+void main() {
+ color = vec4(a[0], 0.0, 0.0, 1.0);
+})";
+
+ ANGLE_GL_PROGRAM(program, essl3_shaders::vs::Simple(), kFS);
+}
+
+// Similar to LargeInterfaceBlockArrayPassedToFunction, but the array is nested in a struct.
+TEST_P(GLSLTest_ES3, LargeInterfaceBlockNestedArrayPassedToFunction)
+{
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+struct S { float a[65536]; };
+uniform Large { S s; };
+float f(float b[65536])
+{
+ b[0] = 1.0;
+ return b[0] + b[1];
+}
+out vec4 color;
+void main() {
+ color = vec4(f(s.a), 0.0, 0.0, 1.0);
+})";
+
+ GLuint shader = CompileShader(GL_FRAGMENT_SHADER, kFS);
+ EXPECT_EQ(0u, shader);
+}
+
+// Make sure the shader in LargeInterfaceBlockNestedArrayPassedToFunction works if the large local
+// is avoided.
+TEST_P(GLSLTest_ES3, LargeInterfaceBlockNestedArray)
+{
+ int maxUniformBlockSize = 0;
+ glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, &maxUniformBlockSize);
+ ANGLE_SKIP_TEST_IF(maxUniformBlockSize < 16384 * 4);
+
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+struct S { float a[16384]; };
+uniform Large { S s; };
+out vec4 color;
+void main() {
+ color = vec4(s.a[0], 0.0, 0.0, 1.0);
+})";
+
+ ANGLE_GL_PROGRAM(program, essl3_shaders::vs::Simple(), kFS);
+}
+
+// Similar to LargeInterfaceBlockArrayPassedToFunction, but the large array is copied to a local
+// variable instead.
+TEST_P(GLSLTest_ES3, LargeInterfaceBlockArrayCopiedToLocal)
+{
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+uniform Large { float a[65536]; };
+out vec4 color;
+void main() {
+ float b[65536] = a;
+ color = vec4(b[0], 0.0, 0.0, 1.0);
+})";
+
+ GLuint shader = CompileShader(GL_FRAGMENT_SHADER, kFS);
+ EXPECT_EQ(0u, shader);
+}
+
+// Similar to LargeInterfaceBlockArrayCopiedToLocal, but the array is nested in a struct
+TEST_P(GLSLTest_ES3, LargeInterfaceBlockNestedArrayCopiedToLocal)
+{
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+struct S { float a[65536]; };
+uniform Large { S s; };
+out vec4 color;
+void main() {
+ S s2 = s;
+ color = vec4(s2.a[0], 0.0, 0.0, 1.0);
+})";
+
+ GLuint shader = CompileShader(GL_FRAGMENT_SHADER, kFS);
+ EXPECT_EQ(0u, shader);
+}
+
+// Test that too large varyings are rejected.
+TEST_P(GLSLTest_ES3, LargeArrayVarying)
+{
+ constexpr char kFS[] = R"(#version 300 es
+precision highp float;
+in float a[65536];
+out vec4 color;
+void main() {
+ color = vec4(a[0], 0.0, 0.0, 1.0);
+})";
+
+ GLuint shader = CompileShader(GL_FRAGMENT_SHADER, kFS);
+ EXPECT_EQ(0u, shader);
+}
+
} // anonymous namespace
ANGLE_INSTANTIATE_TEST_ES2_AND_ES3_AND(
diff --git a/src/tests/restricted_traces/OWNERS b/src/tests/restricted_traces/OWNERS
index ea7391a638..1ab1839530 100644
--- a/src/tests/restricted_traces/OWNERS
+++ b/src/tests/restricted_traces/OWNERS
@@ -1,2 +1 @@
cnorthrop@google.com
-jmadill@chromium.org
diff --git a/third_party/abseil-cpp/symbols_arm64_dbg.def b/third_party/abseil-cpp/symbols_arm64_dbg.def
index c363d5bc11..58bfe73498 100644
--- a/third_party/abseil-cpp/symbols_arm64_dbg.def
+++ b/third_party/abseil-cpp/symbols_arm64_dbg.def
@@ -4035,7 +4035,6 @@ EXPORTS
?empty@?$Span@I@absl@@QEBA_NXZ
?empty@?$__split_buffer@PEAPEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEAPEBVImpl@time_zone@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$__split_buffer@PEAUPrefixCrc@CrcCordState@crc_internal@absl@@V?$allocator@PEAUPrefixCrc@CrcCordState@crc_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
- ?empty@?$deque@PEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEBVImpl@time_zone@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$deque@UPrefixCrc@CrcCordState@crc_internal@absl@@V?$allocator@UPrefixCrc@CrcCordState@crc_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$vector@UConversionItem@ParsedFormatBase@str_format_internal@absl@@V?$allocator@UConversionItem@ParsedFormatBase@str_format_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$vector@UTransition@cctz@time_internal@absl@@V?$allocator@UTransition@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
diff --git a/third_party/abseil-cpp/symbols_x64_dbg.def b/third_party/abseil-cpp/symbols_x64_dbg.def
index 168de97b16..c0b1834f60 100644
--- a/third_party/abseil-cpp/symbols_x64_dbg.def
+++ b/third_party/abseil-cpp/symbols_x64_dbg.def
@@ -4034,7 +4034,6 @@ EXPORTS
?empty@?$Span@I@absl@@QEBA_NXZ
?empty@?$__split_buffer@PEAPEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEAPEBVImpl@time_zone@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$__split_buffer@PEAUPrefixCrc@CrcCordState@crc_internal@absl@@V?$allocator@PEAUPrefixCrc@CrcCordState@crc_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
- ?empty@?$deque@PEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEBVImpl@time_zone@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$deque@UPrefixCrc@CrcCordState@crc_internal@absl@@V?$allocator@UPrefixCrc@CrcCordState@crc_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$vector@UConversionItem@ParsedFormatBase@str_format_internal@absl@@V?$allocator@UConversionItem@ParsedFormatBase@str_format_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
?empty@?$vector@UTransition@cctz@time_internal@absl@@V?$allocator@UTransition@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QEBA_NXZ
diff --git a/third_party/abseil-cpp/symbols_x86_dbg.def b/third_party/abseil-cpp/symbols_x86_dbg.def
index a92ad3a789..d0e523a5db 100644
--- a/third_party/abseil-cpp/symbols_x86_dbg.def
+++ b/third_party/abseil-cpp/symbols_x86_dbg.def
@@ -4034,7 +4034,6 @@ EXPORTS
?empty@?$Span@I@absl@@QBE_NXZ
?empty@?$__split_buffer@PAPBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PAPBVImpl@time_zone@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QBE_NXZ
?empty@?$__split_buffer@PAUPrefixCrc@CrcCordState@crc_internal@absl@@V?$allocator@PAUPrefixCrc@CrcCordState@crc_internal@absl@@@__Cr@std@@@__Cr@std@@QBE_NXZ
- ?empty@?$deque@PBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PBVImpl@time_zone@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QBE_NXZ
?empty@?$deque@UPrefixCrc@CrcCordState@crc_internal@absl@@V?$allocator@UPrefixCrc@CrcCordState@crc_internal@absl@@@__Cr@std@@@__Cr@std@@QBE_NXZ
?empty@?$vector@UConversionItem@ParsedFormatBase@str_format_internal@absl@@V?$allocator@UConversionItem@ParsedFormatBase@str_format_internal@absl@@@__Cr@std@@@__Cr@std@@QBE_NXZ
?empty@?$vector@UTransition@cctz@time_internal@absl@@V?$allocator@UTransition@cctz@time_internal@absl@@@__Cr@std@@@__Cr@std@@QBE_NXZ
diff --git a/third_party/vulkan-deps/DEPS b/third_party/vulkan-deps/DEPS
index df144ab559..fb2c3f9ae9 100644
--- a/third_party/vulkan-deps/DEPS
+++ b/third_party/vulkan-deps/DEPS
@@ -10,13 +10,13 @@ vars = {
'chromium_git': 'https://chromium.googlesource.com',
# Current revision of glslang, the Khronos SPIRV compiler.
- 'glslang_revision': '0fedf7d95ad9c183279c279f3912c2da6d7fd0a5',
+ 'glslang_revision': '9a35abff55440655dda5326c1d07ae23450ae64f',
# Current revision of spirv-cross, the Khronos SPIRV cross compiler.
- 'spirv_cross_revision': '7c335edc663c3cb4dc2cf1babde987d9a8f9d15b',
+ 'spirv_cross_revision': 'e6b013a492d55e2f9d981eaa961f4168303524ef',
# Current revision fo the SPIRV-Headers Vulkan support library.
- 'spirv_headers_revision': 'cca08c63cefa129d082abca0302adcb81610b465',
+ 'spirv_headers_revision': '1c6bb2743599e6eb6f37b2969acc0aef812e32e3',
# Current revision of SPIRV-Tools for Vulkan.
'spirv_tools_revision': '6b4f0c9d0b7d02db5ed0b03433ae62c03bbff722',
@@ -25,16 +25,16 @@ vars = {
'vulkan_headers_revision': '19a863ccce773ff393b186329478b1eb1a519fd3',
# Current revision of Khronos Vulkan-Loader.
- 'vulkan_loader_revision': 'b79c10bac1d311cc16891f9a1f29ab58c602760f',
+ 'vulkan_loader_revision': 'a0308b56d851bea6496ed36b088e2d24afd3cb6d',
# Current revision of Khronos Vulkan-Tools.
- 'vulkan_tools_revision': '67cda9672b97daa9a3eb6d74639e5d87dd6ef463',
+ 'vulkan_tools_revision': '1ee9eea9f1f58fe0677703eb121ae445e6513b9a',
# Current revision of Khronos Vulkan-Utility-Libraries.
'vulkan_utility_libraries_revision': '2feac587338c7e1b631b2ef9bd6e894d7ad7f56d',
# Current revision of Khronos Vulkan-ValidationLayers.
- 'vulkan_validation_revision': '8739b87fcf30c631c0193546b6420cd2f9e7c6a9',
+ 'vulkan_validation_revision': '847a8a1f8ac49fb9b7523953dadfff3c960b103d',
}
deps = {
diff --git a/third_party/vulkan-deps/glslang/src/SPIRV/GlslangToSpv.cpp b/third_party/vulkan-deps/glslang/src/SPIRV/GlslangToSpv.cpp
index 671f3db36d..ec40f663a7 100755
--- a/third_party/vulkan-deps/glslang/src/SPIRV/GlslangToSpv.cpp
+++ b/third_party/vulkan-deps/glslang/src/SPIRV/GlslangToSpv.cpp
@@ -4407,7 +4407,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangToSpvType(const glslang::TType& ty
if (explicitLayout != glslang::ElpNone)
spvType = builder.makeUintType(32);
else
- spvType = builder.makeBoolType(false);
+ spvType = builder.makeBoolType();
break;
case glslang::EbtInt:
spvType = builder.makeIntType(32);
diff --git a/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.cpp b/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.cpp
index f898b75418..c07f3b6705 100644
--- a/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.cpp
+++ b/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.cpp
@@ -182,7 +182,7 @@ Id Builder::makeVoidType()
return type->getResultId();
}
-Id Builder::makeBoolType(bool const compilerGenerated)
+Id Builder::makeBoolType()
{
Instruction* type;
if (groupedTypes[OpTypeBool].size() == 0) {
@@ -190,14 +190,15 @@ Id Builder::makeBoolType(bool const compilerGenerated)
groupedTypes[OpTypeBool].push_back(type);
constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
module.mapInstruction(type);
+
+ if (emitNonSemanticShaderDebugInfo) {
+ auto const debugResultId = makeBoolDebugType(32);
+ debugId[type->getResultId()] = debugResultId;
+ }
+
} else
type = groupedTypes[OpTypeBool].back();
- if (emitNonSemanticShaderDebugInfo && !compilerGenerated)
- {
- auto const debugResultId = makeBoolDebugType(32);
- debugId[type->getResultId()] = debugResultId;
- }
return type->getResultId();
}
diff --git a/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.h b/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.h
index eae8d4f56b..b1ca6ce1f7 100644
--- a/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.h
+++ b/third_party/vulkan-deps/glslang/src/SPIRV/SpvBuilder.h
@@ -185,7 +185,7 @@ public:
// For creating new types (will return old type if the requested one was already made).
Id makeVoidType();
- Id makeBoolType(bool const compilerGenerated = true);
+ Id makeBoolType();
Id makePointer(StorageClass, Id pointee);
Id makeForwardPointer(StorageClass);
Id makePointerFromForwardPointer(StorageClass, Id forwardPointerType, Id pointee);
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.comp.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.comp.out
index 6781ee8bff..ab5d83971e 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.comp.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.comp.out
@@ -1,7 +1,7 @@
spv.debuginfo.glsl.comp
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 971
+// Id's are bound by 950
Capability Shader
Extension "SPV_KHR_non_semantic_info"
@@ -42,19 +42,19 @@ spv.debuginfo.glsl.comp
180: String "Particle"
185: String "particleIn"
189: String "ParticleIn"
- 210: String "particleOut"
- 213: String "ParticleOut"
- 238: String "force"
- 251: String "pos"
- 261: String "vel"
- 573: String "f"
- 622: String "sphereDist"
- 675: String "calculateNormals"
- 678: String "PushConsts"
- 682: String "pushConsts"
- 719: String "a"
- 732: String "b"
- 749: String "c"
+ 209: String "particleOut"
+ 212: String "ParticleOut"
+ 237: String "force"
+ 250: String "pos"
+ 260: String "vel"
+ 560: String "f"
+ 609: String "sphereDist"
+ 661: String "calculateNormals"
+ 664: String "PushConsts"
+ 668: String "pushConsts"
+ 702: String "a"
+ 715: String "b"
+ 732: String "c"
Name 14 "main"
Name 28 "springForce(vf3;vf3;f1;"
Name 25 "p0"
@@ -86,45 +86,45 @@ spv.debuginfo.glsl.comp
Name 183 "ParticleIn"
MemberName 183(ParticleIn) 0 "particleIn"
Name 191 ""
- Name 208 "ParticleOut"
- MemberName 208(ParticleOut) 0 "particleOut"
- Name 215 ""
- Name 236 "force"
- Name 249 "pos"
- Name 259 "vel"
- Name 280 "param"
+ Name 207 "ParticleOut"
+ MemberName 207(ParticleOut) 0 "particleOut"
+ Name 214 ""
+ Name 235 "force"
+ Name 248 "pos"
+ Name 258 "vel"
+ Name 278 "param"
+ Name 282 "param"
Name 284 "param"
- Name 286 "param"
- Name 310 "param"
- Name 314 "param"
- Name 316 "param"
+ Name 307 "param"
+ Name 311 "param"
+ Name 313 "param"
+ Name 340 "param"
Name 344 "param"
- Name 348 "param"
- Name 350 "param"
- Name 373 "param"
- Name 377 "param"
- Name 379 "param"
- Name 417 "param"
- Name 421 "param"
- Name 423 "param"
- Name 456 "param"
- Name 460 "param"
- Name 462 "param"
- Name 503 "param"
- Name 507 "param"
- Name 509 "param"
- Name 546 "param"
- Name 550 "param"
- Name 552 "param"
- Name 571 "f"
- Name 620 "sphereDist"
- Name 673 "PushConsts"
- MemberName 673(PushConsts) 0 "calculateNormals"
- Name 680 "pushConsts"
- Name 693 "normal"
- Name 717 "a"
- Name 730 "b"
- Name 747 "c"
+ Name 346 "param"
+ Name 368 "param"
+ Name 372 "param"
+ Name 374 "param"
+ Name 410 "param"
+ Name 414 "param"
+ Name 416 "param"
+ Name 447 "param"
+ Name 451 "param"
+ Name 453 "param"
+ Name 492 "param"
+ Name 496 "param"
+ Name 498 "param"
+ Name 533 "param"
+ Name 537 "param"
+ Name 539 "param"
+ Name 558 "f"
+ Name 607 "sphereDist"
+ Name 659 "PushConsts"
+ MemberName 659(PushConsts) 0 "calculateNormals"
+ Name 666 "pushConsts"
+ Name 678 "normal"
+ Name 700 "a"
+ Name 713 "b"
+ Name 730 "c"
MemberDecorate 76(UBO) 0 Offset 0
MemberDecorate 76(UBO) 1 Offset 4
MemberDecorate 76(UBO) 2 Offset 8
@@ -150,14 +150,14 @@ spv.debuginfo.glsl.comp
Decorate 183(ParticleIn) BufferBlock
Decorate 191 DescriptorSet 0
Decorate 191 Binding 0
- Decorate 206 ArrayStride 80
- MemberDecorate 208(ParticleOut) 0 Offset 0
- Decorate 208(ParticleOut) BufferBlock
- Decorate 215 DescriptorSet 0
- Decorate 215 Binding 1
- MemberDecorate 673(PushConsts) 0 Offset 0
- Decorate 673(PushConsts) Block
- Decorate 970 BuiltIn WorkgroupSize
+ Decorate 205 ArrayStride 80
+ MemberDecorate 207(ParticleOut) 0 Offset 0
+ Decorate 207(ParticleOut) BufferBlock
+ Decorate 214 DescriptorSet 0
+ Decorate 214 Binding 1
+ MemberDecorate 659(PushConsts) 0 Offset 0
+ Decorate 659(PushConsts) Block
+ Decorate 949 BuiltIn WorkgroupSize
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@@ -259,161 +259,140 @@ spv.debuginfo.glsl.comp
193: 71(int) Constant 0
195: 71(int) Constant 4
198: 16(float) Constant 1065353216
- 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 205: 7(int) Constant 82
- 206: TypeRuntimeArray 170(Particle)
- 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 179 12
-208(ParticleOut): TypeStruct 206
- 211: 7(int) Constant 40
- 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 210 207 32 211 187 12 12 13
- 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 213 36 32 205 12 35 213 12 13 209
- 214: TypePointer Uniform 208(ParticleOut)
- 215: 214(ptr) Variable Uniform
- 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 212 32 205 12 35 1 215 80
- 219: TypePointer Uniform 69(fvec4)
- 224: 7(int) Constant 83
- 226: 71(int) Constant 1
- 227: 16(float) Constant 0
- 228: 69(fvec4) ConstantComposite 227 227 227 227
- 231: 7(int) Constant 84
- 235: 7(int) Constant 88
- 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 238 20 32 235 12 52 37
- 240: 71(int) Constant 9
- 248: 7(int) Constant 90
- 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 251 20 32 248 12 52 37
- 258: 7(int) Constant 91
- 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 20 32 258 12 52 37
- 268: 7(int) Constant 95
- 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 277: 7(int) Constant 96
- 294: 7(int) Constant 99
- 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 307: 7(int) Constant 100
- 324: 7(int) Constant 103
- 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 337: 7(int) Constant 104
- 343: 71(int) Constant 5
- 358: 7(int) Constant 107
- 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 367: 7(int) Constant 108
- 387: 7(int) Constant 111
- 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 409: 7(int) Constant 112
- 416: 71(int) Constant 6
- 431: 7(int) Constant 115
- 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 449: 7(int) Constant 116
- 470: 7(int) Constant 119
- 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 496: 7(int) Constant 120
- 517: 7(int) Constant 123
- 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 539: 7(int) Constant 124
- 560: 7(int) Constant 127
- 561: 71(int) Constant 3
- 570: 7(int) Constant 130
- 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 573 20 32 570 12 52 37
- 581: 7(int) Constant 131
- 589: 16(float) Constant 1056964608
- 605: 7(int) Constant 132
- 619: 7(int) Constant 135
- 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 622 20 32 619 12 52 37
- 628: 71(int) Constant 8
- 634: 7(int) Constant 136
- 637: 71(int) Constant 7
- 640: 16(float) Constant 1008981770
- 642: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 648: 7(int) Constant 138
- 667: 7(int) Constant 140
- 672: 7(int) Constant 144
- 673(PushConsts): TypeStruct 7(int)
- 676: 7(int) Constant 63
- 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 675 9 32 676 91 12 12 13
- 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 678 36 32 672 12 35 678 12 13 674
- 679: TypePointer PushConstant 673(PushConsts)
- 680(pushConsts): 679(ptr) Variable PushConstant
- 681: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 682 677 32 672 12 35 682 680(pushConsts) 80
- 683: TypePointer PushConstant 7(int)
- 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 692: 7(int) Constant 145
- 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 20 32 692 12 52 37
- 696: 19(fvec3) ConstantComposite 227 227 227
- 698: 7(int) Constant 147
- 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 707: 7(int) Constant 148
- 710: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 716: 7(int) Constant 149
- 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 719 20 32 716 12 52 37
- 729: 7(int) Constant 150
+ 204: 7(int) Constant 82
+ 205: TypeRuntimeArray 170(Particle)
+ 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 179 12
+207(ParticleOut): TypeStruct 205
+ 210: 7(int) Constant 40
+ 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 209 206 32 210 187 12 12 13
+ 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 36 32 204 12 35 212 12 13 208
+ 213: TypePointer Uniform 207(ParticleOut)
+ 214: 213(ptr) Variable Uniform
+ 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 211 32 204 12 35 1 214 80
+ 218: TypePointer Uniform 69(fvec4)
+ 223: 7(int) Constant 83
+ 225: 71(int) Constant 1
+ 226: 16(float) Constant 0
+ 227: 69(fvec4) ConstantComposite 226 226 226 226
+ 230: 7(int) Constant 84
+ 234: 7(int) Constant 88
+ 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 237 20 32 234 12 52 37
+ 239: 71(int) Constant 9
+ 247: 7(int) Constant 90
+ 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 250 20 32 247 12 52 37
+ 257: 7(int) Constant 91
+ 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 260 20 32 257 12 52 37
+ 267: 7(int) Constant 95
+ 275: 7(int) Constant 96
+ 292: 7(int) Constant 99
+ 304: 7(int) Constant 100
+ 321: 7(int) Constant 103
+ 333: 7(int) Constant 104
+ 339: 71(int) Constant 5
+ 354: 7(int) Constant 107
+ 362: 7(int) Constant 108
+ 382: 7(int) Constant 111
+ 402: 7(int) Constant 112
+ 409: 71(int) Constant 6
+ 424: 7(int) Constant 115
+ 440: 7(int) Constant 116
+ 461: 7(int) Constant 119
+ 485: 7(int) Constant 120
+ 506: 7(int) Constant 123
+ 526: 7(int) Constant 124
+ 547: 7(int) Constant 127
+ 548: 71(int) Constant 3
+ 557: 7(int) Constant 130
+ 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 560 20 32 557 12 52 37
+ 568: 7(int) Constant 131
+ 576: 16(float) Constant 1056964608
+ 592: 7(int) Constant 132
+ 606: 7(int) Constant 135
+ 608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 609 20 32 606 12 52 37
+ 615: 71(int) Constant 8
+ 621: 7(int) Constant 136
+ 624: 71(int) Constant 7
+ 627: 16(float) Constant 1008981770
+ 634: 7(int) Constant 138
+ 653: 7(int) Constant 140
+ 658: 7(int) Constant 144
+ 659(PushConsts): TypeStruct 7(int)
+ 662: 7(int) Constant 63
+ 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 661 9 32 662 91 12 12 13
+ 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 664 36 32 658 12 35 664 12 13 660
+ 665: TypePointer PushConstant 659(PushConsts)
+ 666(pushConsts): 665(ptr) Variable PushConstant
+ 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 668 663 32 658 12 35 668 666(pushConsts) 80
+ 669: TypePointer PushConstant 7(int)
+ 677: 7(int) Constant 145
+ 679: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 20 32 677 12 52 37
+ 681: 19(fvec3) ConstantComposite 226 226 226
+ 683: 7(int) Constant 147
+ 691: 7(int) Constant 148
+ 699: 7(int) Constant 149
+ 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 702 20 32 699 12 52 37
+ 712: 7(int) Constant 150
+ 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 715 20 32 712 12 52 37
+ 729: 7(int) Constant 151
731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 732 20 32 729 12 52 37
- 746: 7(int) Constant 151
- 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 749 20 32 746 12 52 37
- 762: 7(int) Constant 152
- 774: 7(int) Constant 154
- 781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 787: 7(int) Constant 155
- 799: 7(int) Constant 156
- 812: 7(int) Constant 157
- 821: 7(int) Constant 158
- 833: 7(int) Constant 161
- 840: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 846: 7(int) Constant 162
- 849: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 855: 7(int) Constant 163
- 867: 7(int) Constant 164
- 880: 7(int) Constant 165
- 889: 7(int) Constant 166
- 901: 7(int) Constant 168
- 908: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12
- 914: 7(int) Constant 169
- 923: 7(int) Constant 170
- 936: 7(int) Constant 171
- 948: 7(int) Constant 172
- 960: 7(int) Constant 175
- 969: 7(int) Constant 10
- 970: 118(ivec3) ConstantComposite 969 969 36
+ 745: 7(int) Constant 152
+ 757: 7(int) Constant 154
+ 769: 7(int) Constant 155
+ 781: 7(int) Constant 156
+ 794: 7(int) Constant 157
+ 803: 7(int) Constant 158
+ 815: 7(int) Constant 161
+ 827: 7(int) Constant 162
+ 835: 7(int) Constant 163
+ 847: 7(int) Constant 164
+ 860: 7(int) Constant 165
+ 869: 7(int) Constant 166
+ 881: 7(int) Constant 168
+ 893: 7(int) Constant 169
+ 902: 7(int) Constant 170
+ 915: 7(int) Constant 171
+ 927: 7(int) Constant 172
+ 939: 7(int) Constant 175
+ 948: 7(int) Constant 10
+ 949: 118(ivec3) ConstantComposite 948 948 36
Line 1 72 11
14(main): 4 Function None 5
15: Label
121(id): 120(ptr) Variable Function
133(index): 132(ptr) Variable Function
- 236(force): 21(ptr) Variable Function
- 249(pos): 21(ptr) Variable Function
- 259(vel): 21(ptr) Variable Function
- 280(param): 21(ptr) Variable Function
- 284(param): 21(ptr) Variable Function
- 286(param): 22(ptr) Variable Function
- 310(param): 21(ptr) Variable Function
- 314(param): 21(ptr) Variable Function
- 316(param): 22(ptr) Variable Function
+ 235(force): 21(ptr) Variable Function
+ 248(pos): 21(ptr) Variable Function
+ 258(vel): 21(ptr) Variable Function
+ 278(param): 21(ptr) Variable Function
+ 282(param): 21(ptr) Variable Function
+ 284(param): 22(ptr) Variable Function
+ 307(param): 21(ptr) Variable Function
+ 311(param): 21(ptr) Variable Function
+ 313(param): 22(ptr) Variable Function
+ 340(param): 21(ptr) Variable Function
344(param): 21(ptr) Variable Function
- 348(param): 21(ptr) Variable Function
- 350(param): 22(ptr) Variable Function
- 373(param): 21(ptr) Variable Function
- 377(param): 21(ptr) Variable Function
- 379(param): 22(ptr) Variable Function
- 417(param): 21(ptr) Variable Function
- 421(param): 21(ptr) Variable Function
- 423(param): 22(ptr) Variable Function
- 456(param): 21(ptr) Variable Function
- 460(param): 21(ptr) Variable Function
- 462(param): 22(ptr) Variable Function
- 503(param): 21(ptr) Variable Function
- 507(param): 21(ptr) Variable Function
- 509(param): 22(ptr) Variable Function
- 546(param): 21(ptr) Variable Function
- 550(param): 21(ptr) Variable Function
- 552(param): 22(ptr) Variable Function
- 571(f): 21(ptr) Variable Function
- 620(sphereDist): 21(ptr) Variable Function
- 693(normal): 21(ptr) Variable Function
- 717(a): 21(ptr) Variable Function
- 730(b): 21(ptr) Variable Function
- 747(c): 21(ptr) Variable Function
+ 346(param): 22(ptr) Variable Function
+ 368(param): 21(ptr) Variable Function
+ 372(param): 21(ptr) Variable Function
+ 374(param): 22(ptr) Variable Function
+ 410(param): 21(ptr) Variable Function
+ 414(param): 21(ptr) Variable Function
+ 416(param): 22(ptr) Variable Function
+ 447(param): 21(ptr) Variable Function
+ 451(param): 21(ptr) Variable Function
+ 453(param): 22(ptr) Variable Function
+ 492(param): 21(ptr) Variable Function
+ 496(param): 21(ptr) Variable Function
+ 498(param): 22(ptr) Variable Function
+ 533(param): 21(ptr) Variable Function
+ 537(param): 21(ptr) Variable Function
+ 539(param): 22(ptr) Variable Function
+ 558(f): 21(ptr) Variable Function
+ 607(sphereDist): 21(ptr) Variable Function
+ 678(normal): 21(ptr) Variable Function
+ 700(a): 21(ptr) Variable Function
+ 713(b): 21(ptr) Variable Function
+ 730(c): 21(ptr) Variable Function
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 52 14(main)
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 117 117 12 12
@@ -453,741 +432,741 @@ spv.debuginfo.glsl.comp
194: 7(int) Load 133(index)
196: 103(ptr) AccessChain 191 193 194 195
197: 16(float) Load 196
- 200: 157(bool) FOrdEqual 197 198
- SelectionMerge 202 None
- BranchConditional 200 201 202
- 201: Label
- 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 205 205 12 12
+ 199: 157(bool) FOrdEqual 197 198
+ SelectionMerge 201 None
+ BranchConditional 199 200 201
+ 200: Label
+ 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 204 204 12 12
+ 216: 7(int) Load 133(index)
217: 7(int) Load 133(index)
- 218: 7(int) Load 133(index)
- 220: 219(ptr) AccessChain 215 193 218 193
- 221: 69(fvec4) Load 220
- 222: 219(ptr) AccessChain 215 193 217 193
- Store 222 221
- 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 224 224 12 12
- 225: 7(int) Load 133(index)
- 229: 219(ptr) AccessChain 215 193 225 226
- Store 229 228
- 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 231 231 12 12
+ 219: 218(ptr) AccessChain 214 193 217 193
+ 220: 69(fvec4) Load 219
+ 221: 218(ptr) AccessChain 214 193 216 193
+ Store 221 220
+ 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 223 223 12 12
+ 224: 7(int) Load 133(index)
+ 228: 218(ptr) AccessChain 214 193 224 225
+ Store 228 227
+ 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 230 230 12 12
Return
- 202: Label
- 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 235 235 12 12
- 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 237 236(force) 44
- 241: 219(ptr) AccessChain 99(params) 240
- 242: 69(fvec4) Load 241
- 243: 19(fvec3) VectorShuffle 242 242 0 1 2
- 244: 103(ptr) AccessChain 99(params) 226
- 245: 16(float) Load 244
- 246: 19(fvec3) VectorTimesScalar 243 245
- Store 236(force) 246
- 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 248 248 12 12
- 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 250 249(pos) 44
- 253: 7(int) Load 133(index)
- 254: 219(ptr) AccessChain 191 193 253 193
- 255: 69(fvec4) Load 254
- 256: 19(fvec3) VectorShuffle 255 255 0 1 2
- Store 249(pos) 256
- 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 258 258 12 12
- 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(vel) 44
- 263: 7(int) Load 133(index)
- 264: 219(ptr) AccessChain 191 193 263 226
- 265: 69(fvec4) Load 264
- 266: 19(fvec3) VectorShuffle 265 265 0 1 2
- Store 259(vel) 266
- 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 268 268 12 12
- 269: 132(ptr) AccessChain 121(id) 12
- 270: 7(int) Load 269
- 272: 157(bool) UGreaterThan 270 12
- SelectionMerge 274 None
- BranchConditional 272 273 274
- 273: Label
- 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 277 277 12 12
- 278: 7(int) Load 133(index)
- 279: 7(int) ISub 278 36
- 281: 219(ptr) AccessChain 191 193 279 193
- 282: 69(fvec4) Load 281
- 283: 19(fvec3) VectorShuffle 282 282 0 1 2
- Store 280(param) 283
- 285: 19(fvec3) Load 249(pos)
- Store 284(param) 285
- 287: 103(ptr) AccessChain 99(params) 195
- 288: 16(float) Load 287
- Store 286(param) 288
- 289: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 280(param) 284(param) 286(param)
- 290: 19(fvec3) Load 236(force)
- 291: 19(fvec3) FAdd 290 289
- Store 236(force) 291
- Branch 274
- 274: Label
- 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 294 294 12 12
- 295: 132(ptr) AccessChain 121(id) 12
- 296: 7(int) Load 295
- 297: 140(ptr) AccessChain 99(params) 139 12
- 298: 71(int) Load 297
- 299: 71(int) ISub 298 226
- 300: 7(int) Bitcast 299
- 302: 157(bool) ULessThan 296 300
- SelectionMerge 304 None
- BranchConditional 302 303 304
- 303: Label
- 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 307 307 12 12
- 308: 7(int) Load 133(index)
- 309: 7(int) IAdd 308 36
- 311: 219(ptr) AccessChain 191 193 309 193
- 312: 69(fvec4) Load 311
- 313: 19(fvec3) VectorShuffle 312 312 0 1 2
- Store 310(param) 313
- 315: 19(fvec3) Load 249(pos)
- Store 314(param) 315
- 317: 103(ptr) AccessChain 99(params) 195
- 318: 16(float) Load 317
- Store 316(param) 318
- 319: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 310(param) 314(param) 316(param)
- 320: 19(fvec3) Load 236(force)
- 321: 19(fvec3) FAdd 320 319
- Store 236(force) 321
- Branch 304
- 304: Label
- 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 324 324 12 12
- 325: 132(ptr) AccessChain 121(id) 36
- 326: 7(int) Load 325
- 327: 140(ptr) AccessChain 99(params) 139 36
- 328: 71(int) Load 327
- 329: 71(int) ISub 328 226
- 330: 7(int) Bitcast 329
- 332: 157(bool) ULessThan 326 330
- SelectionMerge 334 None
- BranchConditional 332 333 334
- 333: Label
- 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 337 337 12 12
- 338: 7(int) Load 133(index)
- 339: 140(ptr) AccessChain 99(params) 139 12
- 340: 71(int) Load 339
- 341: 7(int) Bitcast 340
- 342: 7(int) IAdd 338 341
- 345: 219(ptr) AccessChain 191 193 342 193
- 346: 69(fvec4) Load 345
- 347: 19(fvec3) VectorShuffle 346 346 0 1 2
- Store 344(param) 347
- 349: 19(fvec3) Load 249(pos)
- Store 348(param) 349
- 351: 103(ptr) AccessChain 99(params) 343
- 352: 16(float) Load 351
- Store 350(param) 352
- 353: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 344(param) 348(param) 350(param)
- 354: 19(fvec3) Load 236(force)
- 355: 19(fvec3) FAdd 354 353
- Store 236(force) 355
- Branch 334
- 334: Label
- 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 358 358 12 12
- 359: 132(ptr) AccessChain 121(id) 36
- 360: 7(int) Load 359
- 362: 157(bool) UGreaterThan 360 12
- SelectionMerge 364 None
- BranchConditional 362 363 364
- 363: Label
- 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 367 367 12 12
- 368: 7(int) Load 133(index)
- 369: 140(ptr) AccessChain 99(params) 139 12
- 370: 71(int) Load 369
- 371: 7(int) Bitcast 370
- 372: 7(int) ISub 368 371
- 374: 219(ptr) AccessChain 191 193 372 193
- 375: 69(fvec4) Load 374
- 376: 19(fvec3) VectorShuffle 375 375 0 1 2
- Store 373(param) 376
- 378: 19(fvec3) Load 249(pos)
- Store 377(param) 378
- 380: 103(ptr) AccessChain 99(params) 343
- 381: 16(float) Load 380
- Store 379(param) 381
- 382: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 373(param) 377(param) 379(param)
- 383: 19(fvec3) Load 236(force)
- 384: 19(fvec3) FAdd 383 382
- Store 236(force) 384
- Branch 364
- 364: Label
- 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 387 387 12 12
- 388: 132(ptr) AccessChain 121(id) 12
- 389: 7(int) Load 388
- 391: 157(bool) UGreaterThan 389 12
- SelectionMerge 393 None
- BranchConditional 391 392 393
- 392: Label
- 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 387 387 12 12
- 396: 132(ptr) AccessChain 121(id) 36
- 397: 7(int) Load 396
- 398: 140(ptr) AccessChain 99(params) 139 36
- 399: 71(int) Load 398
- 400: 71(int) ISub 399 226
- 401: 7(int) Bitcast 400
- 403: 157(bool) ULessThan 397 401
- Branch 393
- 393: Label
- 404: 157(bool) Phi 391 364 403 392
- SelectionMerge 406 None
- BranchConditional 404 405 406
- 405: Label
- 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 409 409 12 12
- 410: 7(int) Load 133(index)
- 411: 140(ptr) AccessChain 99(params) 139 12
- 412: 71(int) Load 411
- 413: 7(int) Bitcast 412
- 414: 7(int) IAdd 410 413
- 415: 7(int) ISub 414 36
- 418: 219(ptr) AccessChain 191 193 415 193
- 419: 69(fvec4) Load 418
- 420: 19(fvec3) VectorShuffle 419 419 0 1 2
- Store 417(param) 420
- 422: 19(fvec3) Load 249(pos)
- Store 421(param) 422
- 424: 103(ptr) AccessChain 99(params) 416
- 425: 16(float) Load 424
- Store 423(param) 425
- 426: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 417(param) 421(param) 423(param)
- 427: 19(fvec3) Load 236(force)
- 428: 19(fvec3) FAdd 427 426
- Store 236(force) 428
- Branch 406
- 406: Label
- 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 431 431 12 12
- 432: 132(ptr) AccessChain 121(id) 12
- 433: 7(int) Load 432
- 435: 157(bool) UGreaterThan 433 12
+ 201: Label
+ 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 234 234 12 12
+ 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 236 235(force) 44
+ 240: 218(ptr) AccessChain 99(params) 239
+ 241: 69(fvec4) Load 240
+ 242: 19(fvec3) VectorShuffle 241 241 0 1 2
+ 243: 103(ptr) AccessChain 99(params) 225
+ 244: 16(float) Load 243
+ 245: 19(fvec3) VectorTimesScalar 242 244
+ Store 235(force) 245
+ 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 247 247 12 12
+ 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 249 248(pos) 44
+ 252: 7(int) Load 133(index)
+ 253: 218(ptr) AccessChain 191 193 252 193
+ 254: 69(fvec4) Load 253
+ 255: 19(fvec3) VectorShuffle 254 254 0 1 2
+ Store 248(pos) 255
+ 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 257 257 12 12
+ 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 259 258(vel) 44
+ 262: 7(int) Load 133(index)
+ 263: 218(ptr) AccessChain 191 193 262 225
+ 264: 69(fvec4) Load 263
+ 265: 19(fvec3) VectorShuffle 264 264 0 1 2
+ Store 258(vel) 265
+ 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 267 267 12 12
+ 268: 132(ptr) AccessChain 121(id) 12
+ 269: 7(int) Load 268
+ 270: 157(bool) UGreaterThan 269 12
+ SelectionMerge 272 None
+ BranchConditional 270 271 272
+ 271: Label
+ 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 275 275 12 12
+ 276: 7(int) Load 133(index)
+ 277: 7(int) ISub 276 36
+ 279: 218(ptr) AccessChain 191 193 277 193
+ 280: 69(fvec4) Load 279
+ 281: 19(fvec3) VectorShuffle 280 280 0 1 2
+ Store 278(param) 281
+ 283: 19(fvec3) Load 248(pos)
+ Store 282(param) 283
+ 285: 103(ptr) AccessChain 99(params) 195
+ 286: 16(float) Load 285
+ Store 284(param) 286
+ 287: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 278(param) 282(param) 284(param)
+ 288: 19(fvec3) Load 235(force)
+ 289: 19(fvec3) FAdd 288 287
+ Store 235(force) 289
+ Branch 272
+ 272: Label
+ 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 292 292 12 12
+ 293: 132(ptr) AccessChain 121(id) 12
+ 294: 7(int) Load 293
+ 295: 140(ptr) AccessChain 99(params) 139 12
+ 296: 71(int) Load 295
+ 297: 71(int) ISub 296 225
+ 298: 7(int) Bitcast 297
+ 299: 157(bool) ULessThan 294 298
+ SelectionMerge 301 None
+ BranchConditional 299 300 301
+ 300: Label
+ 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 304 304 12 12
+ 305: 7(int) Load 133(index)
+ 306: 7(int) IAdd 305 36
+ 308: 218(ptr) AccessChain 191 193 306 193
+ 309: 69(fvec4) Load 308
+ 310: 19(fvec3) VectorShuffle 309 309 0 1 2
+ Store 307(param) 310
+ 312: 19(fvec3) Load 248(pos)
+ Store 311(param) 312
+ 314: 103(ptr) AccessChain 99(params) 195
+ 315: 16(float) Load 314
+ Store 313(param) 315
+ 316: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 307(param) 311(param) 313(param)
+ 317: 19(fvec3) Load 235(force)
+ 318: 19(fvec3) FAdd 317 316
+ Store 235(force) 318
+ Branch 301
+ 301: Label
+ 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 321 321 12 12
+ 322: 132(ptr) AccessChain 121(id) 36
+ 323: 7(int) Load 322
+ 324: 140(ptr) AccessChain 99(params) 139 36
+ 325: 71(int) Load 324
+ 326: 71(int) ISub 325 225
+ 327: 7(int) Bitcast 326
+ 328: 157(bool) ULessThan 323 327
+ SelectionMerge 330 None
+ BranchConditional 328 329 330
+ 329: Label
+ 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 333 333 12 12
+ 334: 7(int) Load 133(index)
+ 335: 140(ptr) AccessChain 99(params) 139 12
+ 336: 71(int) Load 335
+ 337: 7(int) Bitcast 336
+ 338: 7(int) IAdd 334 337
+ 341: 218(ptr) AccessChain 191 193 338 193
+ 342: 69(fvec4) Load 341
+ 343: 19(fvec3) VectorShuffle 342 342 0 1 2
+ Store 340(param) 343
+ 345: 19(fvec3) Load 248(pos)
+ Store 344(param) 345
+ 347: 103(ptr) AccessChain 99(params) 339
+ 348: 16(float) Load 347
+ Store 346(param) 348
+ 349: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 340(param) 344(param) 346(param)
+ 350: 19(fvec3) Load 235(force)
+ 351: 19(fvec3) FAdd 350 349
+ Store 235(force) 351
+ Branch 330
+ 330: Label
+ 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 354 354 12 12
+ 355: 132(ptr) AccessChain 121(id) 36
+ 356: 7(int) Load 355
+ 357: 157(bool) UGreaterThan 356 12
+ SelectionMerge 359 None
+ BranchConditional 357 358 359
+ 358: Label
+ 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 362 362 12 12
+ 363: 7(int) Load 133(index)
+ 364: 140(ptr) AccessChain 99(params) 139 12
+ 365: 71(int) Load 364
+ 366: 7(int) Bitcast 365
+ 367: 7(int) ISub 363 366
+ 369: 218(ptr) AccessChain 191 193 367 193
+ 370: 69(fvec4) Load 369
+ 371: 19(fvec3) VectorShuffle 370 370 0 1 2
+ Store 368(param) 371
+ 373: 19(fvec3) Load 248(pos)
+ Store 372(param) 373
+ 375: 103(ptr) AccessChain 99(params) 339
+ 376: 16(float) Load 375
+ Store 374(param) 376
+ 377: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 368(param) 372(param) 374(param)
+ 378: 19(fvec3) Load 235(force)
+ 379: 19(fvec3) FAdd 378 377
+ Store 235(force) 379
+ Branch 359
+ 359: Label
+ 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 382 382 12 12
+ 383: 132(ptr) AccessChain 121(id) 12
+ 384: 7(int) Load 383
+ 385: 157(bool) UGreaterThan 384 12
+ SelectionMerge 387 None
+ BranchConditional 385 386 387
+ 386: Label
+ 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 382 382 12 12
+ 390: 132(ptr) AccessChain 121(id) 36
+ 391: 7(int) Load 390
+ 392: 140(ptr) AccessChain 99(params) 139 36
+ 393: 71(int) Load 392
+ 394: 71(int) ISub 393 225
+ 395: 7(int) Bitcast 394
+ 396: 157(bool) ULessThan 391 395
+ Branch 387
+ 387: Label
+ 397: 157(bool) Phi 385 359 396 386
+ SelectionMerge 399 None
+ BranchConditional 397 398 399
+ 398: Label
+ 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 402 402 12 12
+ 403: 7(int) Load 133(index)
+ 404: 140(ptr) AccessChain 99(params) 139 12
+ 405: 71(int) Load 404
+ 406: 7(int) Bitcast 405
+ 407: 7(int) IAdd 403 406
+ 408: 7(int) ISub 407 36
+ 411: 218(ptr) AccessChain 191 193 408 193
+ 412: 69(fvec4) Load 411
+ 413: 19(fvec3) VectorShuffle 412 412 0 1 2
+ Store 410(param) 413
+ 415: 19(fvec3) Load 248(pos)
+ Store 414(param) 415
+ 417: 103(ptr) AccessChain 99(params) 409
+ 418: 16(float) Load 417
+ Store 416(param) 418
+ 419: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 410(param) 414(param) 416(param)
+ 420: 19(fvec3) Load 235(force)
+ 421: 19(fvec3) FAdd 420 419
+ Store 235(force) 421
+ Branch 399
+ 399: Label
+ 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 424 424 12 12
+ 425: 132(ptr) AccessChain 121(id) 12
+ 426: 7(int) Load 425
+ 427: 157(bool) UGreaterThan 426 12
+ SelectionMerge 429 None
+ BranchConditional 427 428 429
+ 428: Label
+ 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 424 424 12 12
+ 432: 132(ptr) AccessChain 121(id) 36
+ 433: 7(int) Load 432
+ 434: 157(bool) UGreaterThan 433 12
+ Branch 429
+ 429: Label
+ 435: 157(bool) Phi 427 399 434 428
SelectionMerge 437 None
BranchConditional 435 436 437
436: Label
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 431 431 12 12
- 440: 132(ptr) AccessChain 121(id) 36
- 441: 7(int) Load 440
- 443: 157(bool) UGreaterThan 441 12
+ 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 440 440 12 12
+ 441: 7(int) Load 133(index)
+ 442: 140(ptr) AccessChain 99(params) 139 12
+ 443: 71(int) Load 442
+ 444: 7(int) Bitcast 443
+ 445: 7(int) ISub 441 444
+ 446: 7(int) ISub 445 36
+ 448: 218(ptr) AccessChain 191 193 446 193
+ 449: 69(fvec4) Load 448
+ 450: 19(fvec3) VectorShuffle 449 449 0 1 2
+ Store 447(param) 450
+ 452: 19(fvec3) Load 248(pos)
+ Store 451(param) 452
+ 454: 103(ptr) AccessChain 99(params) 409
+ 455: 16(float) Load 454
+ Store 453(param) 455
+ 456: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 447(param) 451(param) 453(param)
+ 457: 19(fvec3) Load 235(force)
+ 458: 19(fvec3) FAdd 457 456
+ Store 235(force) 458
Branch 437
437: Label
- 444: 157(bool) Phi 435 406 443 436
- SelectionMerge 446 None
- BranchConditional 444 445 446
- 445: Label
- 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 449 449 12 12
- 450: 7(int) Load 133(index)
- 451: 140(ptr) AccessChain 99(params) 139 12
- 452: 71(int) Load 451
- 453: 7(int) Bitcast 452
- 454: 7(int) ISub 450 453
- 455: 7(int) ISub 454 36
- 457: 219(ptr) AccessChain 191 193 455 193
- 458: 69(fvec4) Load 457
- 459: 19(fvec3) VectorShuffle 458 458 0 1 2
- Store 456(param) 459
- 461: 19(fvec3) Load 249(pos)
- Store 460(param) 461
- 463: 103(ptr) AccessChain 99(params) 416
- 464: 16(float) Load 463
- Store 462(param) 464
- 465: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 456(param) 460(param) 462(param)
- 466: 19(fvec3) Load 236(force)
- 467: 19(fvec3) FAdd 466 465
- Store 236(force) 467
- Branch 446
- 446: Label
- 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 470 470 12 12
- 471: 132(ptr) AccessChain 121(id) 12
- 472: 7(int) Load 471
- 473: 140(ptr) AccessChain 99(params) 139 12
- 474: 71(int) Load 473
- 475: 71(int) ISub 474 226
- 476: 7(int) Bitcast 475
- 478: 157(bool) ULessThan 472 476
- SelectionMerge 480 None
- BranchConditional 478 479 480
- 479: Label
- 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 470 470 12 12
- 483: 132(ptr) AccessChain 121(id) 36
- 484: 7(int) Load 483
- 485: 140(ptr) AccessChain 99(params) 139 36
- 486: 71(int) Load 485
- 487: 71(int) ISub 486 226
- 488: 7(int) Bitcast 487
- 490: 157(bool) ULessThan 484 488
- Branch 480
- 480: Label
- 491: 157(bool) Phi 478 446 490 479
- SelectionMerge 493 None
- BranchConditional 491 492 493
- 492: Label
- 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 496 496 12 12
- 497: 7(int) Load 133(index)
- 498: 140(ptr) AccessChain 99(params) 139 12
- 499: 71(int) Load 498
- 500: 7(int) Bitcast 499
- 501: 7(int) IAdd 497 500
- 502: 7(int) IAdd 501 36
- 504: 219(ptr) AccessChain 191 193 502 193
- 505: 69(fvec4) Load 504
- 506: 19(fvec3) VectorShuffle 505 505 0 1 2
- Store 503(param) 506
- 508: 19(fvec3) Load 249(pos)
- Store 507(param) 508
- 510: 103(ptr) AccessChain 99(params) 416
- 511: 16(float) Load 510
- Store 509(param) 511
- 512: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 503(param) 507(param) 509(param)
- 513: 19(fvec3) Load 236(force)
- 514: 19(fvec3) FAdd 513 512
- Store 236(force) 514
- Branch 493
- 493: Label
- 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 517 517 12 12
- 518: 132(ptr) AccessChain 121(id) 12
- 519: 7(int) Load 518
- 520: 140(ptr) AccessChain 99(params) 139 12
- 521: 71(int) Load 520
- 522: 71(int) ISub 521 226
- 523: 7(int) Bitcast 522
- 525: 157(bool) ULessThan 519 523
- SelectionMerge 527 None
- BranchConditional 525 526 527
- 526: Label
- 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 517 517 12 12
- 530: 132(ptr) AccessChain 121(id) 36
- 531: 7(int) Load 530
- 533: 157(bool) UGreaterThan 531 12
- Branch 527
- 527: Label
- 534: 157(bool) Phi 525 493 533 526
- SelectionMerge 536 None
- BranchConditional 534 535 536
- 535: Label
- 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 539 539 12 12
- 540: 7(int) Load 133(index)
- 541: 140(ptr) AccessChain 99(params) 139 12
- 542: 71(int) Load 541
- 543: 7(int) Bitcast 542
- 544: 7(int) ISub 540 543
- 545: 7(int) IAdd 544 36
- 547: 219(ptr) AccessChain 191 193 545 193
- 548: 69(fvec4) Load 547
- 549: 19(fvec3) VectorShuffle 548 548 0 1 2
- Store 546(param) 549
- 551: 19(fvec3) Load 249(pos)
- Store 550(param) 551
- 553: 103(ptr) AccessChain 99(params) 416
- 554: 16(float) Load 553
- Store 552(param) 554
- 555: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 546(param) 550(param) 552(param)
- 556: 19(fvec3) Load 236(force)
- 557: 19(fvec3) FAdd 556 555
- Store 236(force) 557
- Branch 536
- 536: Label
- 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 560 560 12 12
- 562: 103(ptr) AccessChain 99(params) 561
- 563: 16(float) Load 562
- 564: 16(float) FNegate 563
- 565: 19(fvec3) Load 259(vel)
- 566: 19(fvec3) VectorTimesScalar 565 564
- 567: 19(fvec3) Load 236(force)
- 568: 19(fvec3) FAdd 567 566
- Store 236(force) 568
- 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 570 570 12 12
- 574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 572 571(f) 44
- 575: 19(fvec3) Load 236(force)
- 576: 103(ptr) AccessChain 99(params) 226
- 577: 16(float) Load 576
- 578: 16(float) FDiv 198 577
- 579: 19(fvec3) VectorTimesScalar 575 578
- Store 571(f) 579
- 580: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 581 581 12 12
- 582: 7(int) Load 133(index)
- 583: 19(fvec3) Load 249(pos)
- 584: 19(fvec3) Load 259(vel)
- 585: 103(ptr) AccessChain 99(params) 193
- 586: 16(float) Load 585
- 587: 19(fvec3) VectorTimesScalar 584 586
- 588: 19(fvec3) FAdd 583 587
- 590: 19(fvec3) Load 571(f)
- 591: 19(fvec3) VectorTimesScalar 590 589
- 592: 103(ptr) AccessChain 99(params) 193
- 593: 16(float) Load 592
- 594: 19(fvec3) VectorTimesScalar 591 593
- 595: 103(ptr) AccessChain 99(params) 193
- 596: 16(float) Load 595
- 597: 19(fvec3) VectorTimesScalar 594 596
- 598: 19(fvec3) FAdd 588 597
- 599: 16(float) CompositeExtract 598 0
- 600: 16(float) CompositeExtract 598 1
- 601: 16(float) CompositeExtract 598 2
- 602: 69(fvec4) CompositeConstruct 599 600 601 198
- 603: 219(ptr) AccessChain 215 193 582 193
- Store 603 602
- 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 605 605 12 12
- 606: 7(int) Load 133(index)
- 607: 19(fvec3) Load 259(vel)
- 608: 19(fvec3) Load 571(f)
- 609: 103(ptr) AccessChain 99(params) 193
- 610: 16(float) Load 609
- 611: 19(fvec3) VectorTimesScalar 608 610
- 612: 19(fvec3) FAdd 607 611
- 613: 16(float) CompositeExtract 612 0
- 614: 16(float) CompositeExtract 612 1
- 615: 16(float) CompositeExtract 612 2
- 616: 69(fvec4) CompositeConstruct 613 614 615 227
- 617: 219(ptr) AccessChain 215 193 606 226
- Store 617 616
- 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 619 619 12 12
- 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 621 620(sphereDist) 44
- 624: 7(int) Load 133(index)
- 625: 219(ptr) AccessChain 215 193 624 193
- 626: 69(fvec4) Load 625
- 627: 19(fvec3) VectorShuffle 626 626 0 1 2
- 629: 219(ptr) AccessChain 99(params) 628
- 630: 69(fvec4) Load 629
- 631: 19(fvec3) VectorShuffle 630 630 0 1 2
- 632: 19(fvec3) FSub 627 631
- Store 620(sphereDist) 632
- 633: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 634 634 12 12
- 635: 19(fvec3) Load 620(sphereDist)
- 636: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 635
- 638: 103(ptr) AccessChain 99(params) 637
- 639: 16(float) Load 638
- 641: 16(float) FAdd 639 640
- 643: 157(bool) FOrdLessThan 636 641
- SelectionMerge 645 None
- BranchConditional 643 644 645
- 644: Label
- 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 648 648 12 12
- 649: 7(int) Load 133(index)
- 650: 219(ptr) AccessChain 99(params) 628
- 651: 69(fvec4) Load 650
- 652: 19(fvec3) VectorShuffle 651 651 0 1 2
- 653: 19(fvec3) Load 620(sphereDist)
- 654: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 653
- 655: 103(ptr) AccessChain 99(params) 637
- 656: 16(float) Load 655
- 657: 16(float) FAdd 656 640
- 658: 19(fvec3) VectorTimesScalar 654 657
- 659: 19(fvec3) FAdd 652 658
- 660: 103(ptr) AccessChain 215 193 649 193 12
- 661: 16(float) CompositeExtract 659 0
- Store 660 661
- 662: 103(ptr) AccessChain 215 193 649 193 36
- 663: 16(float) CompositeExtract 659 1
- Store 662 663
- 664: 103(ptr) AccessChain 215 193 649 193 38
- 665: 16(float) CompositeExtract 659 2
- Store 664 665
- 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 667 667 12 12
- 668: 7(int) Load 133(index)
- 669: 219(ptr) AccessChain 215 193 668 226
- Store 669 228
- Branch 645
- 645: Label
- 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 671: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 672 672 12 12
- 684: 683(ptr) AccessChain 680(pushConsts) 193
- 685: 7(int) Load 684
- 687: 157(bool) IEqual 685 36
- SelectionMerge 689 None
- BranchConditional 687 688 689
- 688: Label
- 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 692 692 12 12
- 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 694 693(normal) 44
- Store 693(normal) 696
- 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 698 698 12 12
- 699: 132(ptr) AccessChain 121(id) 36
- 700: 7(int) Load 699
- 702: 157(bool) UGreaterThan 700 12
- SelectionMerge 704 None
- BranchConditional 702 703 704
- 703: Label
- 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 706: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 707 707 12 12
- 708: 132(ptr) AccessChain 121(id) 12
- 709: 7(int) Load 708
- 711: 157(bool) UGreaterThan 709 12
- SelectionMerge 713 None
- BranchConditional 711 712 713
- 712: Label
- 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 716 716 12 12
- 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 718 717(a) 44
- 721: 7(int) Load 133(index)
+ 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 461 461 12 12
+ 462: 132(ptr) AccessChain 121(id) 12
+ 463: 7(int) Load 462
+ 464: 140(ptr) AccessChain 99(params) 139 12
+ 465: 71(int) Load 464
+ 466: 71(int) ISub 465 225
+ 467: 7(int) Bitcast 466
+ 468: 157(bool) ULessThan 463 467
+ SelectionMerge 470 None
+ BranchConditional 468 469 470
+ 469: Label
+ 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 461 461 12 12
+ 473: 132(ptr) AccessChain 121(id) 36
+ 474: 7(int) Load 473
+ 475: 140(ptr) AccessChain 99(params) 139 36
+ 476: 71(int) Load 475
+ 477: 71(int) ISub 476 225
+ 478: 7(int) Bitcast 477
+ 479: 157(bool) ULessThan 474 478
+ Branch 470
+ 470: Label
+ 480: 157(bool) Phi 468 437 479 469
+ SelectionMerge 482 None
+ BranchConditional 480 481 482
+ 481: Label
+ 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 485 485 12 12
+ 486: 7(int) Load 133(index)
+ 487: 140(ptr) AccessChain 99(params) 139 12
+ 488: 71(int) Load 487
+ 489: 7(int) Bitcast 488
+ 490: 7(int) IAdd 486 489
+ 491: 7(int) IAdd 490 36
+ 493: 218(ptr) AccessChain 191 193 491 193
+ 494: 69(fvec4) Load 493
+ 495: 19(fvec3) VectorShuffle 494 494 0 1 2
+ Store 492(param) 495
+ 497: 19(fvec3) Load 248(pos)
+ Store 496(param) 497
+ 499: 103(ptr) AccessChain 99(params) 409
+ 500: 16(float) Load 499
+ Store 498(param) 500
+ 501: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 492(param) 496(param) 498(param)
+ 502: 19(fvec3) Load 235(force)
+ 503: 19(fvec3) FAdd 502 501
+ Store 235(force) 503
+ Branch 482
+ 482: Label
+ 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 506 506 12 12
+ 507: 132(ptr) AccessChain 121(id) 12
+ 508: 7(int) Load 507
+ 509: 140(ptr) AccessChain 99(params) 139 12
+ 510: 71(int) Load 509
+ 511: 71(int) ISub 510 225
+ 512: 7(int) Bitcast 511
+ 513: 157(bool) ULessThan 508 512
+ SelectionMerge 515 None
+ BranchConditional 513 514 515
+ 514: Label
+ 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 506 506 12 12
+ 518: 132(ptr) AccessChain 121(id) 36
+ 519: 7(int) Load 518
+ 520: 157(bool) UGreaterThan 519 12
+ Branch 515
+ 515: Label
+ 521: 157(bool) Phi 513 482 520 514
+ SelectionMerge 523 None
+ BranchConditional 521 522 523
+ 522: Label
+ 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 526 526 12 12
+ 527: 7(int) Load 133(index)
+ 528: 140(ptr) AccessChain 99(params) 139 12
+ 529: 71(int) Load 528
+ 530: 7(int) Bitcast 529
+ 531: 7(int) ISub 527 530
+ 532: 7(int) IAdd 531 36
+ 534: 218(ptr) AccessChain 191 193 532 193
+ 535: 69(fvec4) Load 534
+ 536: 19(fvec3) VectorShuffle 535 535 0 1 2
+ Store 533(param) 536
+ 538: 19(fvec3) Load 248(pos)
+ Store 537(param) 538
+ 540: 103(ptr) AccessChain 99(params) 409
+ 541: 16(float) Load 540
+ Store 539(param) 541
+ 542: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 533(param) 537(param) 539(param)
+ 543: 19(fvec3) Load 235(force)
+ 544: 19(fvec3) FAdd 543 542
+ Store 235(force) 544
+ Branch 523
+ 523: Label
+ 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 547 547 12 12
+ 549: 103(ptr) AccessChain 99(params) 548
+ 550: 16(float) Load 549
+ 551: 16(float) FNegate 550
+ 552: 19(fvec3) Load 258(vel)
+ 553: 19(fvec3) VectorTimesScalar 552 551
+ 554: 19(fvec3) Load 235(force)
+ 555: 19(fvec3) FAdd 554 553
+ Store 235(force) 555
+ 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 557 557 12 12
+ 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 559 558(f) 44
+ 562: 19(fvec3) Load 235(force)
+ 563: 103(ptr) AccessChain 99(params) 225
+ 564: 16(float) Load 563
+ 565: 16(float) FDiv 198 564
+ 566: 19(fvec3) VectorTimesScalar 562 565
+ Store 558(f) 566
+ 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 568 568 12 12
+ 569: 7(int) Load 133(index)
+ 570: 19(fvec3) Load 248(pos)
+ 571: 19(fvec3) Load 258(vel)
+ 572: 103(ptr) AccessChain 99(params) 193
+ 573: 16(float) Load 572
+ 574: 19(fvec3) VectorTimesScalar 571 573
+ 575: 19(fvec3) FAdd 570 574
+ 577: 19(fvec3) Load 558(f)
+ 578: 19(fvec3) VectorTimesScalar 577 576
+ 579: 103(ptr) AccessChain 99(params) 193
+ 580: 16(float) Load 579
+ 581: 19(fvec3) VectorTimesScalar 578 580
+ 582: 103(ptr) AccessChain 99(params) 193
+ 583: 16(float) Load 582
+ 584: 19(fvec3) VectorTimesScalar 581 583
+ 585: 19(fvec3) FAdd 575 584
+ 586: 16(float) CompositeExtract 585 0
+ 587: 16(float) CompositeExtract 585 1
+ 588: 16(float) CompositeExtract 585 2
+ 589: 69(fvec4) CompositeConstruct 586 587 588 198
+ 590: 218(ptr) AccessChain 214 193 569 193
+ Store 590 589
+ 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 592 592 12 12
+ 593: 7(int) Load 133(index)
+ 594: 19(fvec3) Load 258(vel)
+ 595: 19(fvec3) Load 558(f)
+ 596: 103(ptr) AccessChain 99(params) 193
+ 597: 16(float) Load 596
+ 598: 19(fvec3) VectorTimesScalar 595 597
+ 599: 19(fvec3) FAdd 594 598
+ 600: 16(float) CompositeExtract 599 0
+ 601: 16(float) CompositeExtract 599 1
+ 602: 16(float) CompositeExtract 599 2
+ 603: 69(fvec4) CompositeConstruct 600 601 602 226
+ 604: 218(ptr) AccessChain 214 193 593 225
+ Store 604 603
+ 605: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 606 606 12 12
+ 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 608 607(sphereDist) 44
+ 611: 7(int) Load 133(index)
+ 612: 218(ptr) AccessChain 214 193 611 193
+ 613: 69(fvec4) Load 612
+ 614: 19(fvec3) VectorShuffle 613 613 0 1 2
+ 616: 218(ptr) AccessChain 99(params) 615
+ 617: 69(fvec4) Load 616
+ 618: 19(fvec3) VectorShuffle 617 617 0 1 2
+ 619: 19(fvec3) FSub 614 618
+ Store 607(sphereDist) 619
+ 620: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 621 621 12 12
+ 622: 19(fvec3) Load 607(sphereDist)
+ 623: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 622
+ 625: 103(ptr) AccessChain 99(params) 624
+ 626: 16(float) Load 625
+ 628: 16(float) FAdd 626 627
+ 629: 157(bool) FOrdLessThan 623 628
+ SelectionMerge 631 None
+ BranchConditional 629 630 631
+ 630: Label
+ 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 633: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 634 634 12 12
+ 635: 7(int) Load 133(index)
+ 636: 218(ptr) AccessChain 99(params) 615
+ 637: 69(fvec4) Load 636
+ 638: 19(fvec3) VectorShuffle 637 637 0 1 2
+ 639: 19(fvec3) Load 607(sphereDist)
+ 640: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 639
+ 641: 103(ptr) AccessChain 99(params) 624
+ 642: 16(float) Load 641
+ 643: 16(float) FAdd 642 627
+ 644: 19(fvec3) VectorTimesScalar 640 643
+ 645: 19(fvec3) FAdd 638 644
+ 646: 103(ptr) AccessChain 214 193 635 193 12
+ 647: 16(float) CompositeExtract 645 0
+ Store 646 647
+ 648: 103(ptr) AccessChain 214 193 635 193 36
+ 649: 16(float) CompositeExtract 645 1
+ Store 648 649
+ 650: 103(ptr) AccessChain 214 193 635 193 38
+ 651: 16(float) CompositeExtract 645 2
+ Store 650 651
+ 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 653 653 12 12
+ 654: 7(int) Load 133(index)
+ 655: 218(ptr) AccessChain 214 193 654 225
+ Store 655 227
+ Branch 631
+ 631: Label
+ 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 657: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 658 658 12 12
+ 670: 669(ptr) AccessChain 666(pushConsts) 193
+ 671: 7(int) Load 670
+ 672: 157(bool) IEqual 671 36
+ SelectionMerge 674 None
+ BranchConditional 672 673 674
+ 673: Label
+ 675: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 677 677 12 12
+ 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 679 678(normal) 44
+ Store 678(normal) 681
+ 682: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 683 683 12 12
+ 684: 132(ptr) AccessChain 121(id) 36
+ 685: 7(int) Load 684
+ 686: 157(bool) UGreaterThan 685 12
+ SelectionMerge 688 None
+ BranchConditional 686 687 688
+ 687: Label
+ 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 691 691 12 12
+ 692: 132(ptr) AccessChain 121(id) 12
+ 693: 7(int) Load 692
+ 694: 157(bool) UGreaterThan 693 12
+ SelectionMerge 696 None
+ BranchConditional 694 695 696
+ 695: Label
+ 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 699 699 12 12
+ 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 701 700(a) 44
+ 704: 7(int) Load 133(index)
+ 705: 7(int) ISub 704 36
+ 706: 218(ptr) AccessChain 191 193 705 193
+ 707: 69(fvec4) Load 706
+ 708: 19(fvec3) VectorShuffle 707 707 0 1 2
+ 709: 19(fvec3) Load 248(pos)
+ 710: 19(fvec3) FSub 708 709
+ Store 700(a) 710
+ 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 712 712 12 12
+ 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 714 713(b) 44
+ 717: 7(int) Load 133(index)
+ 718: 140(ptr) AccessChain 99(params) 139 12
+ 719: 71(int) Load 718
+ 720: 7(int) Bitcast 719
+ 721: 7(int) ISub 717 720
722: 7(int) ISub 721 36
- 723: 219(ptr) AccessChain 191 193 722 193
+ 723: 218(ptr) AccessChain 191 193 722 193
724: 69(fvec4) Load 723
725: 19(fvec3) VectorShuffle 724 724 0 1 2
- 726: 19(fvec3) Load 249(pos)
+ 726: 19(fvec3) Load 248(pos)
727: 19(fvec3) FSub 725 726
- Store 717(a) 727
+ Store 713(b) 727
728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 729 729 12 12
- 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 731 730(b) 44
+ 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 731 730(c) 44
734: 7(int) Load 133(index)
735: 140(ptr) AccessChain 99(params) 139 12
736: 71(int) Load 735
737: 7(int) Bitcast 736
738: 7(int) ISub 734 737
- 739: 7(int) ISub 738 36
- 740: 219(ptr) AccessChain 191 193 739 193
- 741: 69(fvec4) Load 740
- 742: 19(fvec3) VectorShuffle 741 741 0 1 2
- 743: 19(fvec3) Load 249(pos)
- 744: 19(fvec3) FSub 742 743
- Store 730(b) 744
- 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 746 746 12 12
- 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 748 747(c) 44
- 751: 7(int) Load 133(index)
- 752: 140(ptr) AccessChain 99(params) 139 12
- 753: 71(int) Load 752
- 754: 7(int) Bitcast 753
- 755: 7(int) ISub 751 754
- 756: 219(ptr) AccessChain 191 193 755 193
- 757: 69(fvec4) Load 756
- 758: 19(fvec3) VectorShuffle 757 757 0 1 2
- 759: 19(fvec3) Load 249(pos)
- 760: 19(fvec3) FSub 758 759
- Store 747(c) 760
- 761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 762 762 12 12
- 763: 19(fvec3) Load 717(a)
- 764: 19(fvec3) Load 730(b)
- 765: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 763 764
- 766: 19(fvec3) Load 730(b)
- 767: 19(fvec3) Load 747(c)
- 768: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 766 767
- 769: 19(fvec3) FAdd 765 768
- 770: 19(fvec3) Load 693(normal)
- 771: 19(fvec3) FAdd 770 769
- Store 693(normal) 771
- Branch 713
- 713: Label
- 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 774 774 12 12
- 775: 132(ptr) AccessChain 121(id) 12
- 776: 7(int) Load 775
- 777: 140(ptr) AccessChain 99(params) 139 12
- 778: 71(int) Load 777
- 779: 71(int) ISub 778 226
- 780: 7(int) Bitcast 779
- 782: 157(bool) ULessThan 776 780
- SelectionMerge 784 None
- BranchConditional 782 783 784
- 783: Label
- 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 787 787 12 12
- 788: 7(int) Load 133(index)
- 789: 140(ptr) AccessChain 99(params) 139 12
- 790: 71(int) Load 789
- 791: 7(int) Bitcast 790
- 792: 7(int) ISub 788 791
- 793: 219(ptr) AccessChain 191 193 792 193
- 794: 69(fvec4) Load 793
- 795: 19(fvec3) VectorShuffle 794 794 0 1 2
- 796: 19(fvec3) Load 249(pos)
- 797: 19(fvec3) FSub 795 796
- Store 717(a) 797
- 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 799 799 12 12
- 800: 7(int) Load 133(index)
- 801: 140(ptr) AccessChain 99(params) 139 12
- 802: 71(int) Load 801
- 803: 7(int) Bitcast 802
- 804: 7(int) ISub 800 803
- 805: 7(int) IAdd 804 36
- 806: 219(ptr) AccessChain 191 193 805 193
- 807: 69(fvec4) Load 806
- 808: 19(fvec3) VectorShuffle 807 807 0 1 2
- 809: 19(fvec3) Load 249(pos)
- 810: 19(fvec3) FSub 808 809
- Store 730(b) 810
- 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 812 812 12 12
- 813: 7(int) Load 133(index)
- 814: 7(int) IAdd 813 36
- 815: 219(ptr) AccessChain 191 193 814 193
- 816: 69(fvec4) Load 815
- 817: 19(fvec3) VectorShuffle 816 816 0 1 2
- 818: 19(fvec3) Load 249(pos)
- 819: 19(fvec3) FSub 817 818
- Store 747(c) 819
- 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 821 821 12 12
- 822: 19(fvec3) Load 717(a)
- 823: 19(fvec3) Load 730(b)
- 824: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 822 823
- 825: 19(fvec3) Load 730(b)
- 826: 19(fvec3) Load 747(c)
- 827: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 825 826
- 828: 19(fvec3) FAdd 824 827
- 829: 19(fvec3) Load 693(normal)
- 830: 19(fvec3) FAdd 829 828
- Store 693(normal) 830
- Branch 784
- 784: Label
- Branch 704
- 704: Label
- 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 833 833 12 12
- 834: 132(ptr) AccessChain 121(id) 36
- 835: 7(int) Load 834
- 836: 140(ptr) AccessChain 99(params) 139 36
- 837: 71(int) Load 836
- 838: 71(int) ISub 837 226
- 839: 7(int) Bitcast 838
- 841: 157(bool) ULessThan 835 839
- SelectionMerge 843 None
- BranchConditional 841 842 843
- 842: Label
- 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 846 846 12 12
- 847: 132(ptr) AccessChain 121(id) 12
- 848: 7(int) Load 847
- 850: 157(bool) UGreaterThan 848 12
- SelectionMerge 852 None
- BranchConditional 850 851 852
- 851: Label
- 853: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 854: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 855 855 12 12
- 856: 7(int) Load 133(index)
- 857: 140(ptr) AccessChain 99(params) 139 12
- 858: 71(int) Load 857
- 859: 7(int) Bitcast 858
- 860: 7(int) IAdd 856 859
- 861: 219(ptr) AccessChain 191 193 860 193
- 862: 69(fvec4) Load 861
- 863: 19(fvec3) VectorShuffle 862 862 0 1 2
- 864: 19(fvec3) Load 249(pos)
- 865: 19(fvec3) FSub 863 864
- Store 717(a) 865
- 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 867 867 12 12
- 868: 7(int) Load 133(index)
- 869: 140(ptr) AccessChain 99(params) 139 12
- 870: 71(int) Load 869
- 871: 7(int) Bitcast 870
- 872: 7(int) IAdd 868 871
- 873: 7(int) ISub 872 36
- 874: 219(ptr) AccessChain 191 193 873 193
- 875: 69(fvec4) Load 874
- 876: 19(fvec3) VectorShuffle 875 875 0 1 2
- 877: 19(fvec3) Load 249(pos)
- 878: 19(fvec3) FSub 876 877
- Store 730(b) 878
- 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 880 880 12 12
- 881: 7(int) Load 133(index)
- 882: 7(int) ISub 881 36
- 883: 219(ptr) AccessChain 191 193 882 193
- 884: 69(fvec4) Load 883
- 885: 19(fvec3) VectorShuffle 884 884 0 1 2
- 886: 19(fvec3) Load 249(pos)
- 887: 19(fvec3) FSub 885 886
- Store 747(c) 887
- 888: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 889 889 12 12
- 890: 19(fvec3) Load 717(a)
- 891: 19(fvec3) Load 730(b)
- 892: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 890 891
- 893: 19(fvec3) Load 730(b)
- 894: 19(fvec3) Load 747(c)
- 895: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 893 894
- 896: 19(fvec3) FAdd 892 895
- 897: 19(fvec3) Load 693(normal)
- 898: 19(fvec3) FAdd 897 896
- Store 693(normal) 898
- Branch 852
- 852: Label
- 899: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 900: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 901 901 12 12
- 902: 132(ptr) AccessChain 121(id) 12
- 903: 7(int) Load 902
- 904: 140(ptr) AccessChain 99(params) 139 12
- 905: 71(int) Load 904
- 906: 71(int) ISub 905 226
- 907: 7(int) Bitcast 906
- 909: 157(bool) ULessThan 903 907
- SelectionMerge 911 None
- BranchConditional 909 910 911
- 910: Label
- 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 913: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 914 914 12 12
- 915: 7(int) Load 133(index)
- 916: 7(int) IAdd 915 36
- 917: 219(ptr) AccessChain 191 193 916 193
- 918: 69(fvec4) Load 917
- 919: 19(fvec3) VectorShuffle 918 918 0 1 2
- 920: 19(fvec3) Load 249(pos)
- 921: 19(fvec3) FSub 919 920
- Store 717(a) 921
- 922: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 923 923 12 12
- 924: 7(int) Load 133(index)
- 925: 140(ptr) AccessChain 99(params) 139 12
- 926: 71(int) Load 925
- 927: 7(int) Bitcast 926
- 928: 7(int) IAdd 924 927
- 929: 7(int) IAdd 928 36
- 930: 219(ptr) AccessChain 191 193 929 193
- 931: 69(fvec4) Load 930
- 932: 19(fvec3) VectorShuffle 931 931 0 1 2
- 933: 19(fvec3) Load 249(pos)
- 934: 19(fvec3) FSub 932 933
- Store 730(b) 934
- 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 936 936 12 12
- 937: 7(int) Load 133(index)
- 938: 140(ptr) AccessChain 99(params) 139 12
- 939: 71(int) Load 938
- 940: 7(int) Bitcast 939
- 941: 7(int) IAdd 937 940
- 942: 219(ptr) AccessChain 191 193 941 193
- 943: 69(fvec4) Load 942
- 944: 19(fvec3) VectorShuffle 943 943 0 1 2
- 945: 19(fvec3) Load 249(pos)
- 946: 19(fvec3) FSub 944 945
- Store 747(c) 946
- 947: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 948 948 12 12
- 949: 19(fvec3) Load 717(a)
- 950: 19(fvec3) Load 730(b)
- 951: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 949 950
- 952: 19(fvec3) Load 730(b)
- 953: 19(fvec3) Load 747(c)
- 954: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 952 953
- 955: 19(fvec3) FAdd 951 954
- 956: 19(fvec3) Load 693(normal)
- 957: 19(fvec3) FAdd 956 955
- Store 693(normal) 957
- Branch 911
- 911: Label
- Branch 843
- 843: Label
- 958: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
- 959: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 960 960 12 12
- 961: 7(int) Load 133(index)
- 962: 19(fvec3) Load 693(normal)
- 963: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 962
- 964: 16(float) CompositeExtract 963 0
- 965: 16(float) CompositeExtract 963 1
- 966: 16(float) CompositeExtract 963 2
- 967: 69(fvec4) CompositeConstruct 964 965 966 227
- 968: 219(ptr) AccessChain 215 193 961 561
- Store 968 967
- Branch 689
- 689: Label
+ 739: 218(ptr) AccessChain 191 193 738 193
+ 740: 69(fvec4) Load 739
+ 741: 19(fvec3) VectorShuffle 740 740 0 1 2
+ 742: 19(fvec3) Load 248(pos)
+ 743: 19(fvec3) FSub 741 742
+ Store 730(c) 743
+ 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 745 745 12 12
+ 746: 19(fvec3) Load 700(a)
+ 747: 19(fvec3) Load 713(b)
+ 748: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 746 747
+ 749: 19(fvec3) Load 713(b)
+ 750: 19(fvec3) Load 730(c)
+ 751: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 749 750
+ 752: 19(fvec3) FAdd 748 751
+ 753: 19(fvec3) Load 678(normal)
+ 754: 19(fvec3) FAdd 753 752
+ Store 678(normal) 754
+ Branch 696
+ 696: Label
+ 755: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 756: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 757 757 12 12
+ 758: 132(ptr) AccessChain 121(id) 12
+ 759: 7(int) Load 758
+ 760: 140(ptr) AccessChain 99(params) 139 12
+ 761: 71(int) Load 760
+ 762: 71(int) ISub 761 225
+ 763: 7(int) Bitcast 762
+ 764: 157(bool) ULessThan 759 763
+ SelectionMerge 766 None
+ BranchConditional 764 765 766
+ 765: Label
+ 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 769 769 12 12
+ 770: 7(int) Load 133(index)
+ 771: 140(ptr) AccessChain 99(params) 139 12
+ 772: 71(int) Load 771
+ 773: 7(int) Bitcast 772
+ 774: 7(int) ISub 770 773
+ 775: 218(ptr) AccessChain 191 193 774 193
+ 776: 69(fvec4) Load 775
+ 777: 19(fvec3) VectorShuffle 776 776 0 1 2
+ 778: 19(fvec3) Load 248(pos)
+ 779: 19(fvec3) FSub 777 778
+ Store 700(a) 779
+ 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 781 781 12 12
+ 782: 7(int) Load 133(index)
+ 783: 140(ptr) AccessChain 99(params) 139 12
+ 784: 71(int) Load 783
+ 785: 7(int) Bitcast 784
+ 786: 7(int) ISub 782 785
+ 787: 7(int) IAdd 786 36
+ 788: 218(ptr) AccessChain 191 193 787 193
+ 789: 69(fvec4) Load 788
+ 790: 19(fvec3) VectorShuffle 789 789 0 1 2
+ 791: 19(fvec3) Load 248(pos)
+ 792: 19(fvec3) FSub 790 791
+ Store 713(b) 792
+ 793: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 794 794 12 12
+ 795: 7(int) Load 133(index)
+ 796: 7(int) IAdd 795 36
+ 797: 218(ptr) AccessChain 191 193 796 193
+ 798: 69(fvec4) Load 797
+ 799: 19(fvec3) VectorShuffle 798 798 0 1 2
+ 800: 19(fvec3) Load 248(pos)
+ 801: 19(fvec3) FSub 799 800
+ Store 730(c) 801
+ 802: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 803 803 12 12
+ 804: 19(fvec3) Load 700(a)
+ 805: 19(fvec3) Load 713(b)
+ 806: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 804 805
+ 807: 19(fvec3) Load 713(b)
+ 808: 19(fvec3) Load 730(c)
+ 809: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 807 808
+ 810: 19(fvec3) FAdd 806 809
+ 811: 19(fvec3) Load 678(normal)
+ 812: 19(fvec3) FAdd 811 810
+ Store 678(normal) 812
+ Branch 766
+ 766: Label
+ Branch 688
+ 688: Label
+ 813: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 814: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 815 815 12 12
+ 816: 132(ptr) AccessChain 121(id) 36
+ 817: 7(int) Load 816
+ 818: 140(ptr) AccessChain 99(params) 139 36
+ 819: 71(int) Load 818
+ 820: 71(int) ISub 819 225
+ 821: 7(int) Bitcast 820
+ 822: 157(bool) ULessThan 817 821
+ SelectionMerge 824 None
+ BranchConditional 822 823 824
+ 823: Label
+ 825: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 826: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 827 827 12 12
+ 828: 132(ptr) AccessChain 121(id) 12
+ 829: 7(int) Load 828
+ 830: 157(bool) UGreaterThan 829 12
+ SelectionMerge 832 None
+ BranchConditional 830 831 832
+ 831: Label
+ 833: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 835 835 12 12
+ 836: 7(int) Load 133(index)
+ 837: 140(ptr) AccessChain 99(params) 139 12
+ 838: 71(int) Load 837
+ 839: 7(int) Bitcast 838
+ 840: 7(int) IAdd 836 839
+ 841: 218(ptr) AccessChain 191 193 840 193
+ 842: 69(fvec4) Load 841
+ 843: 19(fvec3) VectorShuffle 842 842 0 1 2
+ 844: 19(fvec3) Load 248(pos)
+ 845: 19(fvec3) FSub 843 844
+ Store 700(a) 845
+ 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 847 847 12 12
+ 848: 7(int) Load 133(index)
+ 849: 140(ptr) AccessChain 99(params) 139 12
+ 850: 71(int) Load 849
+ 851: 7(int) Bitcast 850
+ 852: 7(int) IAdd 848 851
+ 853: 7(int) ISub 852 36
+ 854: 218(ptr) AccessChain 191 193 853 193
+ 855: 69(fvec4) Load 854
+ 856: 19(fvec3) VectorShuffle 855 855 0 1 2
+ 857: 19(fvec3) Load 248(pos)
+ 858: 19(fvec3) FSub 856 857
+ Store 713(b) 858
+ 859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 860 860 12 12
+ 861: 7(int) Load 133(index)
+ 862: 7(int) ISub 861 36
+ 863: 218(ptr) AccessChain 191 193 862 193
+ 864: 69(fvec4) Load 863
+ 865: 19(fvec3) VectorShuffle 864 864 0 1 2
+ 866: 19(fvec3) Load 248(pos)
+ 867: 19(fvec3) FSub 865 866
+ Store 730(c) 867
+ 868: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 869 869 12 12
+ 870: 19(fvec3) Load 700(a)
+ 871: 19(fvec3) Load 713(b)
+ 872: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 870 871
+ 873: 19(fvec3) Load 713(b)
+ 874: 19(fvec3) Load 730(c)
+ 875: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 873 874
+ 876: 19(fvec3) FAdd 872 875
+ 877: 19(fvec3) Load 678(normal)
+ 878: 19(fvec3) FAdd 877 876
+ Store 678(normal) 878
+ Branch 832
+ 832: Label
+ 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 880: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 881 881 12 12
+ 882: 132(ptr) AccessChain 121(id) 12
+ 883: 7(int) Load 882
+ 884: 140(ptr) AccessChain 99(params) 139 12
+ 885: 71(int) Load 884
+ 886: 71(int) ISub 885 225
+ 887: 7(int) Bitcast 886
+ 888: 157(bool) ULessThan 883 887
+ SelectionMerge 890 None
+ BranchConditional 888 889 890
+ 889: Label
+ 891: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 892: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 893 893 12 12
+ 894: 7(int) Load 133(index)
+ 895: 7(int) IAdd 894 36
+ 896: 218(ptr) AccessChain 191 193 895 193
+ 897: 69(fvec4) Load 896
+ 898: 19(fvec3) VectorShuffle 897 897 0 1 2
+ 899: 19(fvec3) Load 248(pos)
+ 900: 19(fvec3) FSub 898 899
+ Store 700(a) 900
+ 901: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 902 902 12 12
+ 903: 7(int) Load 133(index)
+ 904: 140(ptr) AccessChain 99(params) 139 12
+ 905: 71(int) Load 904
+ 906: 7(int) Bitcast 905
+ 907: 7(int) IAdd 903 906
+ 908: 7(int) IAdd 907 36
+ 909: 218(ptr) AccessChain 191 193 908 193
+ 910: 69(fvec4) Load 909
+ 911: 19(fvec3) VectorShuffle 910 910 0 1 2
+ 912: 19(fvec3) Load 248(pos)
+ 913: 19(fvec3) FSub 911 912
+ Store 713(b) 913
+ 914: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 915 915 12 12
+ 916: 7(int) Load 133(index)
+ 917: 140(ptr) AccessChain 99(params) 139 12
+ 918: 71(int) Load 917
+ 919: 7(int) Bitcast 918
+ 920: 7(int) IAdd 916 919
+ 921: 218(ptr) AccessChain 191 193 920 193
+ 922: 69(fvec4) Load 921
+ 923: 19(fvec3) VectorShuffle 922 922 0 1 2
+ 924: 19(fvec3) Load 248(pos)
+ 925: 19(fvec3) FSub 923 924
+ Store 730(c) 925
+ 926: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 927 927 12 12
+ 928: 19(fvec3) Load 700(a)
+ 929: 19(fvec3) Load 713(b)
+ 930: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 928 929
+ 931: 19(fvec3) Load 713(b)
+ 932: 19(fvec3) Load 730(c)
+ 933: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 931 932
+ 934: 19(fvec3) FAdd 930 933
+ 935: 19(fvec3) Load 678(normal)
+ 936: 19(fvec3) FAdd 935 934
+ Store 678(normal) 936
+ Branch 890
+ 890: Label
+ Branch 824
+ 824: Label
+ 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52
+ 938: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 939 939 12 12
+ 940: 7(int) Load 133(index)
+ 941: 19(fvec3) Load 678(normal)
+ 942: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 941
+ 943: 16(float) CompositeExtract 942 0
+ 944: 16(float) CompositeExtract 942 1
+ 945: 16(float) CompositeExtract 942 2
+ 946: 69(fvec4) CompositeConstruct 943 944 945 226
+ 947: 218(ptr) AccessChain 214 193 940 548
+ Store 947 946
+ Branch 674
+ 674: Label
Return
FunctionEnd
Line 1 66 50
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.frag.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.frag.out
index 35dfd13e74..dda34650b4 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.frag.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.frag.out
@@ -1,7 +1,7 @@
spv.debuginfo.glsl.frag
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 863
+// Id's are bound by 854
Capability Shader
Capability ImageQuery
@@ -9,7 +9,7 @@ spv.debuginfo.glsl.frag
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint Fragment 14 "main" 482 537
+ EntryPoint Fragment 14 "main" 476 530
ExecutionMode 14 OriginUpperLeft
1: String ""
8: String "uint"
@@ -35,54 +35,54 @@ spv.debuginfo.glsl.frag
97: String "int"
102: String "global_var"
117: String "shadowCoord"
- 142: String "bool"
- 161: String "dist"
- 165: String "type.2d.image"
- 166: String "@type.2d.image"
- 170: String "type.sampled.image"
- 171: String "@type.sampled.image"
- 175: String "samplerShadowMap"
- 225: String "texDim"
- 237: String "scale"
- 244: String "dx"
- 257: String "dy"
- 269: String "shadowFactor"
- 275: String "count"
- 281: String "range"
- 288: String "x"
- 310: String "y"
- 374: String "i"
- 394: String "shadowClip"
- 401: String "color"
- 407: String "viewMatrix"
- 410: String "Light"
- 416: String "lights"
- 419: String "debugDisplayTarget"
- 423: String "UBO"
- 427: String "ubo"
- 470: String "fragPos"
- 479: String "samplerposition"
- 484: String "inUV"
- 492: String "normal"
- 496: String "samplerNormal"
- 505: String "albedo"
- 509: String "samplerAlbedo"
- 539: String "outFragColor"
- 631: String "N"
- 657: String "L"
- 681: String "V"
- 696: String "lightCosInnerAngle"
- 703: String "lightCosOuterAngle"
- 710: String "lightRange"
- 717: String "dir"
- 733: String "cosDir"
- 742: String "spotEffect"
- 752: String "heightAttenuation"
- 761: String "NdotL"
- 771: String "diff"
- 779: String "R"
- 789: String "NdotR"
- 799: String "spec"
+ 139: String "bool"
+ 160: String "dist"
+ 164: String "type.2d.image"
+ 165: String "@type.2d.image"
+ 169: String "type.sampled.image"
+ 170: String "@type.sampled.image"
+ 174: String "samplerShadowMap"
+ 222: String "texDim"
+ 234: String "scale"
+ 241: String "dx"
+ 254: String "dy"
+ 266: String "shadowFactor"
+ 272: String "count"
+ 278: String "range"
+ 285: String "x"
+ 306: String "y"
+ 369: String "i"
+ 388: String "shadowClip"
+ 395: String "color"
+ 401: String "viewMatrix"
+ 404: String "Light"
+ 410: String "lights"
+ 413: String "debugDisplayTarget"
+ 417: String "UBO"
+ 421: String "ubo"
+ 464: String "fragPos"
+ 473: String "samplerposition"
+ 478: String "inUV"
+ 486: String "normal"
+ 490: String "samplerNormal"
+ 499: String "albedo"
+ 503: String "samplerAlbedo"
+ 532: String "outFragColor"
+ 624: String "N"
+ 649: String "L"
+ 673: String "V"
+ 688: String "lightCosInnerAngle"
+ 695: String "lightCosOuterAngle"
+ 702: String "lightRange"
+ 709: String "dir"
+ 725: String "cosDir"
+ 734: String "spotEffect"
+ 744: String "heightAttenuation"
+ 753: String "NdotL"
+ 763: String "diff"
+ 771: String "R"
+ 781: String "NdotR"
+ 791: String "spec"
Name 14 "main"
Name 33 "textureProj(vf4;f1;vf2;"
Name 30 "P"
@@ -97,90 +97,90 @@ spv.debuginfo.glsl.frag
Name 100 "global_var"
Name 109 "shadow"
Name 115 "shadowCoord"
- Name 159 "dist"
- Name 173 "samplerShadowMap"
- Name 223 "texDim"
- Name 235 "scale"
- Name 242 "dx"
- Name 255 "dy"
- Name 267 "shadowFactor"
- Name 273 "count"
- Name 279 "range"
- Name 286 "x"
- Name 308 "y"
- Name 339 "param"
- Name 341 "param"
- Name 343 "param"
- Name 372 "i"
- Name 392 "shadowClip"
- Name 399 "Light"
- MemberName 399(Light) 0 "position"
- MemberName 399(Light) 1 "target"
- MemberName 399(Light) 2 "color"
- MemberName 399(Light) 3 "viewMatrix"
- Name 413 "UBO"
- MemberName 413(UBO) 0 "viewPos"
- MemberName 413(UBO) 1 "lights"
- MemberName 413(UBO) 2 "useShadows"
- MemberName 413(UBO) 3 "debugDisplayTarget"
- Name 425 "ubo"
- Name 440 "shadowFactor"
- Name 445 "param"
- Name 447 "param"
- Name 468 "fragPos"
- Name 477 "samplerposition"
- Name 482 "inUV"
- Name 490 "normal"
- Name 494 "samplerNormal"
- Name 503 "albedo"
- Name 507 "samplerAlbedo"
- Name 537 "outFragColor"
- Name 541 "param"
- Name 542 "param"
- Name 620 "fragcolor"
- Name 629 "N"
- Name 637 "i"
- Name 655 "L"
- Name 668 "dist"
- Name 679 "V"
- Name 694 "lightCosInnerAngle"
- Name 701 "lightCosOuterAngle"
- Name 708 "lightRange"
- Name 715 "dir"
- Name 731 "cosDir"
- Name 740 "spotEffect"
- Name 750 "heightAttenuation"
- Name 759 "NdotL"
- Name 769 "diff"
- Name 777 "R"
- Name 787 "NdotR"
- Name 797 "spec"
- Name 850 "param"
- Name 852 "param"
- Decorate 173(samplerShadowMap) DescriptorSet 0
- Decorate 173(samplerShadowMap) Binding 5
- MemberDecorate 399(Light) 0 Offset 0
- MemberDecorate 399(Light) 1 Offset 16
- MemberDecorate 399(Light) 2 Offset 32
- MemberDecorate 399(Light) 3 ColMajor
- MemberDecorate 399(Light) 3 Offset 48
- MemberDecorate 399(Light) 3 MatrixStride 16
- Decorate 411 ArrayStride 112
- MemberDecorate 413(UBO) 0 Offset 0
- MemberDecorate 413(UBO) 1 Offset 16
- MemberDecorate 413(UBO) 2 Offset 352
- MemberDecorate 413(UBO) 3 Offset 356
- Decorate 413(UBO) Block
- Decorate 425(ubo) DescriptorSet 0
- Decorate 425(ubo) Binding 4
- Decorate 477(samplerposition) DescriptorSet 0
- Decorate 477(samplerposition) Binding 1
- Decorate 482(inUV) Location 0
- Decorate 494(samplerNormal) DescriptorSet 0
- Decorate 494(samplerNormal) Binding 2
- Decorate 507(samplerAlbedo) DescriptorSet 0
- Decorate 507(samplerAlbedo) Binding 3
- Decorate 537(outFragColor) Location 0
+ Name 158 "dist"
+ Name 172 "samplerShadowMap"
+ Name 220 "texDim"
+ Name 232 "scale"
+ Name 239 "dx"
+ Name 252 "dy"
+ Name 264 "shadowFactor"
+ Name 270 "count"
+ Name 276 "range"
+ Name 283 "x"
+ Name 304 "y"
+ Name 334 "param"
+ Name 336 "param"
+ Name 338 "param"
+ Name 367 "i"
+ Name 386 "shadowClip"
+ Name 393 "Light"
+ MemberName 393(Light) 0 "position"
+ MemberName 393(Light) 1 "target"
+ MemberName 393(Light) 2 "color"
+ MemberName 393(Light) 3 "viewMatrix"
+ Name 407 "UBO"
+ MemberName 407(UBO) 0 "viewPos"
+ MemberName 407(UBO) 1 "lights"
+ MemberName 407(UBO) 2 "useShadows"
+ MemberName 407(UBO) 3 "debugDisplayTarget"
+ Name 419 "ubo"
+ Name 434 "shadowFactor"
+ Name 439 "param"
+ Name 441 "param"
+ Name 462 "fragPos"
+ Name 471 "samplerposition"
+ Name 476 "inUV"
+ Name 484 "normal"
+ Name 488 "samplerNormal"
+ Name 497 "albedo"
+ Name 501 "samplerAlbedo"
+ Name 530 "outFragColor"
+ Name 534 "param"
+ Name 535 "param"
+ Name 613 "fragcolor"
+ Name 622 "N"
+ Name 630 "i"
+ Name 647 "L"
+ Name 660 "dist"
+ Name 671 "V"
+ Name 686 "lightCosInnerAngle"
+ Name 693 "lightCosOuterAngle"
+ Name 700 "lightRange"
+ Name 707 "dir"
+ Name 723 "cosDir"
+ Name 732 "spotEffect"
+ Name 742 "heightAttenuation"
+ Name 751 "NdotL"
+ Name 761 "diff"
+ Name 769 "R"
+ Name 779 "NdotR"
+ Name 789 "spec"
+ Name 841 "param"
+ Name 843 "param"
+ Decorate 172(samplerShadowMap) DescriptorSet 0
+ Decorate 172(samplerShadowMap) Binding 5
+ MemberDecorate 393(Light) 0 Offset 0
+ MemberDecorate 393(Light) 1 Offset 16
+ MemberDecorate 393(Light) 2 Offset 32
+ MemberDecorate 393(Light) 3 ColMajor
+ MemberDecorate 393(Light) 3 Offset 48
+ MemberDecorate 393(Light) 3 MatrixStride 16
+ Decorate 405 ArrayStride 112
+ MemberDecorate 407(UBO) 0 Offset 0
+ MemberDecorate 407(UBO) 1 Offset 16
+ MemberDecorate 407(UBO) 2 Offset 352
+ MemberDecorate 407(UBO) 3 Offset 356
+ Decorate 407(UBO) Block
+ Decorate 419(ubo) DescriptorSet 0
+ Decorate 419(ubo) Binding 4
+ Decorate 471(samplerposition) DescriptorSet 0
+ Decorate 471(samplerposition) Binding 1
+ Decorate 476(inUV) Location 0
+ Decorate 488(samplerNormal) DescriptorSet 0
+ Decorate 488(samplerNormal) Binding 2
+ Decorate 501(samplerAlbedo) DescriptorSet 0
+ Decorate 501(samplerAlbedo) Binding 3
+ Decorate 530(outFragColor) Location 0
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@@ -246,539 +246,530 @@ spv.debuginfo.glsl.frag
128: 16(float) Constant 1056964608
137: 7(int) Constant 65
138: TypeBool
- 141: 16(float) Constant 3212836864
- 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 158: 7(int) Constant 67
- 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 18 37 158 12 36 20
- 163: TypeImage 16(float) 2D array sampled format:Unknown
- 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
- 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 12 37 158 12 40 166 167 13
- 168: TypeSampledImage 163
- 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 170 12 37 158 12 40 171 167 13
- 172: TypePointer UniformConstant 168
-173(samplerShadowMap): 172(ptr) Variable UniformConstant
- 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 175 169 37 158 12 40 175 173(samplerShadowMap) 103
- 188: 7(int) Constant 68
- 191: 16(float) Constant 0
- 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 208: 7(int) Constant 70
- 209: 16(float) Constant 1048576000
- 212: 7(int) Constant 73
- 219: 7(int) Constant 78
- 220: TypeVector 96(int) 2
- 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 25
- 222: TypePointer Function 220(ivec2)
- 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 225 221 37 219 12 61 20
- 229: TypeVector 96(int) 3
- 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 13
- 234: 7(int) Constant 79
- 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 237 18 37 234 12 61 20
- 239: 16(float) Constant 1069547520
- 241: 7(int) Constant 80
- 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 244 18 37 241 12 61 20
- 248: TypePointer Function 96(int)
- 254: 7(int) Constant 81
- 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 257 18 37 254 12 61 20
- 266: 7(int) Constant 83
- 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 18 37 266 12 61 20
- 272: 7(int) Constant 84
- 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 275 98 37 272 12 61 20
- 278: 7(int) Constant 85
- 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 281 98 37 278 12 61 20
- 283: 96(int) Constant 1
- 285: 7(int) Constant 87
- 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 98 37 285 12 61 20
- 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 307: 7(int) Constant 89
- 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 310 98 37 307 12 61 20
- 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 329: 7(int) Constant 91
- 348: 7(int) Constant 92
- 361: 7(int) Constant 96
- 371: 7(int) Constant 100
- 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 374 98 37 371 12 80 20
- 386: 96(int) Constant 3
- 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 391: 7(int) Constant 102
- 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 21 37 391 12 80 20
- 396: TypeMatrix 19(fvec4) 4
- 398: 138(bool) ConstantTrue
- 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 398
- 399(Light): TypeStruct 19(fvec4) 19(fvec4) 19(fvec4) 396
- 402: 7(int) Constant 47
- 403: 7(int) Constant 7
- 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13
- 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13
- 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13
- 408: 7(int) Constant 48
- 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 407 397 37 408 403 12 12 13
- 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 410 41 37 391 12 40 410 12 13 400 404 405 406
- 411: TypeArray 399(Light) 13
- 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 409 13
- 413(UBO): TypeStruct 19(fvec4) 411 96(int) 96(int)
- 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13
- 417: 7(int) Constant 54
- 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 416 412 37 417 103 12 12 13
- 420: 7(int) Constant 56
- 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 419 98 37 420 11 12 12 13
- 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 419 98 37 420 11 12 12 13
- 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 423 41 37 391 12 40 423 12 13 414 415 418 421
- 424: TypePointer Uniform 413(UBO)
- 425(ubo): 424(ptr) Variable Uniform
- 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 427 422 37 391 12 40 427 425(ubo) 103
- 429: TypePointer Uniform 396
- 439: 7(int) Constant 106
- 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 18 37 439 12 80 20
- 450: 7(int) Constant 111
- 460: 7(int) Constant 113
- 467: 7(int) Constant 119
- 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 470 71 37 467 12 91 20
- 472: TypeImage 16(float) 2D sampled format:Unknown
- 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 12 37 467 12 40 166 167 13
- 474: TypeSampledImage 472
- 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 170 12 37 467 12 40 171 167 13
- 476: TypePointer UniformConstant 474
-477(samplerposition): 476(ptr) Variable UniformConstant
- 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 479 475 37 467 12 40 479 477(samplerposition) 103
- 481: TypePointer Input 24(fvec2)
- 482(inUV): 481(ptr) Variable Input
- 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 484 26 37 467 12 40 484 482(inUV) 103
- 489: 7(int) Constant 120
- 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 492 71 37 489 12 91 20
-494(samplerNormal): 476(ptr) Variable UniformConstant
- 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 496 475 37 489 12 40 496 494(samplerNormal) 103
- 502: 7(int) Constant 121
- 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 505 21 37 502 12 91 20
-507(samplerAlbedo): 476(ptr) Variable UniformConstant
- 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 475 37 502 12 40 509 507(samplerAlbedo) 103
- 514: 7(int) Constant 124
- 515: TypePointer Uniform 96(int)
- 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 524: 7(int) Constant 125
- 535: 7(int) Constant 127
- 536: TypePointer Output 19(fvec4)
-537(outFragColor): 536(ptr) Variable Output
- 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 539 21 37 535 12 40 539 537(outFragColor) 103
- 540: 70(fvec3) ConstantComposite 112 112 112
- 545: TypePointer Output 16(float)
- 553: 7(int) Constant 128
- 557: 7(int) Constant 130
- 566: 7(int) Constant 131
- 570: 7(int) Constant 133
- 579: 7(int) Constant 134
- 583: 7(int) Constant 136
- 593: 7(int) Constant 137
- 597: 7(int) Constant 139
- 607: 7(int) Constant 140
- 612: 7(int) Constant 142
- 615: 7(int) Constant 143
- 619: 7(int) Constant 147
- 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 37 619 12 91 20
- 625: 16(float) Constant 1036831949
- 628: 7(int) Constant 149
- 630: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 631 71 37 628 12 91 20
- 636: 7(int) Constant 151
- 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 374 98 37 636 12 91 20
- 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 654: 7(int) Constant 154
- 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 657 71 37 654 12 91 20
- 660: TypePointer Uniform 19(fvec4)
- 667: 7(int) Constant 156
- 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 18 37 667 12 91 20
- 674: 7(int) Constant 157
- 678: 7(int) Constant 160
- 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 681 71 37 678 12 91 20
- 689: 7(int) Constant 161
- 693: 7(int) Constant 163
- 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 696 18 37 693 12 91 20
- 698: 16(float) Constant 1064781546
- 700: 7(int) Constant 164
- 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 703 18 37 700 12 91 20
- 705: 16(float) Constant 1063781322
- 707: 7(int) Constant 165
- 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 710 18 37 707 12 91 20
- 712: 16(float) Constant 1120403456
- 714: 7(int) Constant 168
- 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 717 71 37 714 12 91 20
- 730: 7(int) Constant 171
- 732: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 733 18 37 730 12 91 20
- 739: 7(int) Constant 172
- 741: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 742 18 37 739 12 91 20
- 749: 7(int) Constant 173
- 751: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 752 18 37 749 12 91 20
- 758: 7(int) Constant 176
- 760: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 761 18 37 758 12 91 20
- 768: 7(int) Constant 177
+ 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12
+ 143: 16(float) Constant 3212836864
+ 157: 7(int) Constant 67
+ 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 160 18 37 157 12 36 20
+ 162: TypeImage 16(float) 2D array sampled format:Unknown
+ 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
+ 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 164 12 37 157 12 40 165 166 13
+ 167: TypeSampledImage 162
+ 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 12 37 157 12 40 170 166 13
+ 171: TypePointer UniformConstant 167
+172(samplerShadowMap): 171(ptr) Variable UniformConstant
+ 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 174 168 37 157 12 40 174 172(samplerShadowMap) 103
+ 187: 7(int) Constant 68
+ 190: 16(float) Constant 0
+ 205: 7(int) Constant 70
+ 206: 16(float) Constant 1048576000
+ 209: 7(int) Constant 73
+ 216: 7(int) Constant 78
+ 217: TypeVector 96(int) 2
+ 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 25
+ 219: TypePointer Function 217(ivec2)
+ 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 222 218 37 216 12 61 20
+ 226: TypeVector 96(int) 3
+ 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 13
+ 231: 7(int) Constant 79
+ 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 234 18 37 231 12 61 20
+ 236: 16(float) Constant 1069547520
+ 238: 7(int) Constant 80
+ 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 241 18 37 238 12 61 20
+ 245: TypePointer Function 96(int)
+ 251: 7(int) Constant 81
+ 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 18 37 251 12 61 20
+ 263: 7(int) Constant 83
+ 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 266 18 37 263 12 61 20
+ 269: 7(int) Constant 84
+ 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 272 98 37 269 12 61 20
+ 275: 7(int) Constant 85
+ 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 278 98 37 275 12 61 20
+ 280: 96(int) Constant 1
+ 282: 7(int) Constant 87
+ 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 285 98 37 282 12 61 20
+ 303: 7(int) Constant 89
+ 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 98 37 303 12 61 20
+ 324: 7(int) Constant 91
+ 343: 7(int) Constant 92
+ 356: 7(int) Constant 96
+ 366: 7(int) Constant 100
+ 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 369 98 37 366 12 80 20
+ 381: 96(int) Constant 3
+ 385: 7(int) Constant 102
+ 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 388 21 37 385 12 80 20
+ 390: TypeMatrix 19(fvec4) 4
+ 392: 138(bool) ConstantTrue
+ 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 392
+ 393(Light): TypeStruct 19(fvec4) 19(fvec4) 19(fvec4) 390
+ 396: 7(int) Constant 47
+ 397: 7(int) Constant 7
+ 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13
+ 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13
+ 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13
+ 402: 7(int) Constant 48
+ 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 391 37 402 397 12 12 13
+ 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 404 41 37 385 12 40 404 12 13 394 398 399 400
+ 405: TypeArray 393(Light) 13
+ 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 403 13
+ 407(UBO): TypeStruct 19(fvec4) 405 96(int) 96(int)
+ 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13
+ 411: 7(int) Constant 54
+ 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 410 406 37 411 103 12 12 13
+ 414: 7(int) Constant 56
+ 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 98 37 414 11 12 12 13
+ 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 98 37 414 11 12 12 13
+ 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 417 41 37 385 12 40 417 12 13 408 409 412 415
+ 418: TypePointer Uniform 407(UBO)
+ 419(ubo): 418(ptr) Variable Uniform
+ 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 416 37 385 12 40 421 419(ubo) 103
+ 423: TypePointer Uniform 390
+ 433: 7(int) Constant 106
+ 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 266 18 37 433 12 80 20
+ 444: 7(int) Constant 111
+ 454: 7(int) Constant 113
+ 461: 7(int) Constant 119
+ 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 464 71 37 461 12 91 20
+ 466: TypeImage 16(float) 2D sampled format:Unknown
+ 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 164 12 37 461 12 40 165 166 13
+ 468: TypeSampledImage 466
+ 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 12 37 461 12 40 170 166 13
+ 470: TypePointer UniformConstant 468
+471(samplerposition): 470(ptr) Variable UniformConstant
+ 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 473 469 37 461 12 40 473 471(samplerposition) 103
+ 475: TypePointer Input 24(fvec2)
+ 476(inUV): 475(ptr) Variable Input
+ 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 478 26 37 461 12 40 478 476(inUV) 103
+ 483: 7(int) Constant 120
+ 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 486 71 37 483 12 91 20
+488(samplerNormal): 470(ptr) Variable UniformConstant
+ 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 490 469 37 483 12 40 490 488(samplerNormal) 103
+ 496: 7(int) Constant 121
+ 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 499 21 37 496 12 91 20
+501(samplerAlbedo): 470(ptr) Variable UniformConstant
+ 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 503 469 37 496 12 40 503 501(samplerAlbedo) 103
+ 508: 7(int) Constant 124
+ 509: TypePointer Uniform 96(int)
+ 517: 7(int) Constant 125
+ 528: 7(int) Constant 127
+ 529: TypePointer Output 19(fvec4)
+530(outFragColor): 529(ptr) Variable Output
+ 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 532 21 37 528 12 40 532 530(outFragColor) 103
+ 533: 70(fvec3) ConstantComposite 112 112 112
+ 538: TypePointer Output 16(float)
+ 546: 7(int) Constant 128
+ 550: 7(int) Constant 130
+ 559: 7(int) Constant 131
+ 563: 7(int) Constant 133
+ 572: 7(int) Constant 134
+ 576: 7(int) Constant 136
+ 586: 7(int) Constant 137
+ 590: 7(int) Constant 139
+ 600: 7(int) Constant 140
+ 605: 7(int) Constant 142
+ 608: 7(int) Constant 143
+ 612: 7(int) Constant 147
+ 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 37 612 12 91 20
+ 618: 16(float) Constant 1036831949
+ 621: 7(int) Constant 149
+ 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 624 71 37 621 12 91 20
+ 629: 7(int) Constant 151
+ 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 369 98 37 629 12 91 20
+ 646: 7(int) Constant 154
+ 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 649 71 37 646 12 91 20
+ 652: TypePointer Uniform 19(fvec4)
+ 659: 7(int) Constant 156
+ 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 160 18 37 659 12 91 20
+ 666: 7(int) Constant 157
+ 670: 7(int) Constant 160
+ 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 673 71 37 670 12 91 20
+ 681: 7(int) Constant 161
+ 685: 7(int) Constant 163
+ 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 688 18 37 685 12 91 20
+ 690: 16(float) Constant 1064781546
+ 692: 7(int) Constant 164
+ 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 695 18 37 692 12 91 20
+ 697: 16(float) Constant 1063781322
+ 699: 7(int) Constant 165
+ 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 702 18 37 699 12 91 20
+ 704: 16(float) Constant 1120403456
+ 706: 7(int) Constant 168
+ 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 709 71 37 706 12 91 20
+ 722: 7(int) Constant 171
+ 724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 725 18 37 722 12 91 20
+ 731: 7(int) Constant 172
+ 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 734 18 37 731 12 91 20
+ 741: 7(int) Constant 173
+ 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 744 18 37 741 12 91 20
+ 750: 7(int) Constant 176
+ 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 753 18 37 750 12 91 20
+ 760: 7(int) Constant 177
+ 762: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 763 71 37 760 12 91 20
+ 768: 7(int) Constant 180
770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 771 71 37 768 12 91 20
- 776: 7(int) Constant 180
- 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 779 71 37 776 12 91 20
- 786: 7(int) Constant 181
- 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 789 18 37 786 12 91 20
- 796: 7(int) Constant 182
- 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 799 71 37 796 12 91 20
- 802: 16(float) Constant 1098907648
- 807: 16(float) Constant 1075838976
- 811: 7(int) Constant 184
- 824: 96(int) Constant 2
- 840: 7(int) Constant 188
- 843: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12
- 849: 7(int) Constant 190
- 857: 7(int) Constant 193
+ 778: 7(int) Constant 181
+ 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 781 18 37 778 12 91 20
+ 788: 7(int) Constant 182
+ 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 791 71 37 788 12 91 20
+ 794: 16(float) Constant 1098907648
+ 799: 16(float) Constant 1075838976
+ 803: 7(int) Constant 184
+ 816: 96(int) Constant 2
+ 832: 7(int) Constant 188
+ 840: 7(int) Constant 190
+ 848: 7(int) Constant 193
Line 1 116 11
14(main): 4 Function None 5
15: Label
- 468(fragPos): 72(ptr) Variable Function
- 490(normal): 72(ptr) Variable Function
- 503(albedo): 22(ptr) Variable Function
- 541(param): 72(ptr) Variable Function
- 542(param): 72(ptr) Variable Function
- 620(fragcolor): 72(ptr) Variable Function
- 629(N): 72(ptr) Variable Function
- 637(i): 248(ptr) Variable Function
- 655(L): 72(ptr) Variable Function
- 668(dist): 23(ptr) Variable Function
- 679(V): 72(ptr) Variable Function
-694(lightCosInnerAngle): 23(ptr) Variable Function
-701(lightCosOuterAngle): 23(ptr) Variable Function
- 708(lightRange): 23(ptr) Variable Function
- 715(dir): 72(ptr) Variable Function
- 731(cosDir): 23(ptr) Variable Function
- 740(spotEffect): 23(ptr) Variable Function
-750(heightAttenuation): 23(ptr) Variable Function
- 759(NdotL): 23(ptr) Variable Function
- 769(diff): 72(ptr) Variable Function
- 777(R): 72(ptr) Variable Function
- 787(NdotR): 23(ptr) Variable Function
- 797(spec): 72(ptr) Variable Function
- 850(param): 72(ptr) Variable Function
- 852(param): 72(ptr) Variable Function
+ 462(fragPos): 72(ptr) Variable Function
+ 484(normal): 72(ptr) Variable Function
+ 497(albedo): 22(ptr) Variable Function
+ 534(param): 72(ptr) Variable Function
+ 535(param): 72(ptr) Variable Function
+ 613(fragcolor): 72(ptr) Variable Function
+ 622(N): 72(ptr) Variable Function
+ 630(i): 245(ptr) Variable Function
+ 647(L): 72(ptr) Variable Function
+ 660(dist): 23(ptr) Variable Function
+ 671(V): 72(ptr) Variable Function
+686(lightCosInnerAngle): 23(ptr) Variable Function
+693(lightCosOuterAngle): 23(ptr) Variable Function
+ 700(lightRange): 23(ptr) Variable Function
+ 707(dir): 72(ptr) Variable Function
+ 723(cosDir): 23(ptr) Variable Function
+ 732(spotEffect): 23(ptr) Variable Function
+742(heightAttenuation): 23(ptr) Variable Function
+ 751(NdotL): 23(ptr) Variable Function
+ 761(diff): 72(ptr) Variable Function
+ 769(R): 72(ptr) Variable Function
+ 779(NdotR): 23(ptr) Variable Function
+ 789(spec): 72(ptr) Variable Function
+ 841(param): 72(ptr) Variable Function
+ 843(param): 72(ptr) Variable Function
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 95 95 12 12
Store 100(global_var) 104
- 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 91 14(main)
- 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 466: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 467 467 12 12
- 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 469 468(fragPos) 47
- 480: 474 Load 477(samplerposition)
- 485: 24(fvec2) Load 482(inUV)
- 486: 19(fvec4) ImageSampleImplicitLod 480 485
- 487: 70(fvec3) VectorShuffle 486 486 0 1 2
- Store 468(fragPos) 487
- 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 489 489 12 12
- 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 491 490(normal) 47
- 497: 474 Load 494(samplerNormal)
- 498: 24(fvec2) Load 482(inUV)
- 499: 19(fvec4) ImageSampleImplicitLod 497 498
- 500: 70(fvec3) VectorShuffle 499 499 0 1 2
- Store 490(normal) 500
- 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 502 502 12 12
- 506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 504 503(albedo) 47
- 510: 474 Load 507(samplerAlbedo)
- 511: 24(fvec2) Load 482(inUV)
- 512: 19(fvec4) ImageSampleImplicitLod 510 511
- Store 503(albedo) 512
- 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 514 514 12 12
- 516: 515(ptr) AccessChain 425(ubo) 386
- 517: 96(int) Load 516
- 519: 138(bool) SGreaterThan 517 104
- SelectionMerge 521 None
- BranchConditional 519 520 521
- 520: Label
- 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 524 524 12 12
- 525: 515(ptr) AccessChain 425(ubo) 386
- 526: 96(int) Load 525
- SelectionMerge 532 None
- Switch 526 532
- case 1: 527
- case 2: 528
- case 3: 529
- case 4: 530
- case 5: 531
- 527: Label
- 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 535 535 12 12
- Store 541(param) 540
- 543: 70(fvec3) Load 468(fragPos)
- Store 542(param) 543
- 544: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 541(param) 542(param)
- 546: 545(ptr) AccessChain 537(outFragColor) 12
- 547: 16(float) CompositeExtract 544 0
- Store 546 547
- 548: 545(ptr) AccessChain 537(outFragColor) 41
- 549: 16(float) CompositeExtract 544 1
- Store 548 549
- 550: 545(ptr) AccessChain 537(outFragColor) 25
- 551: 16(float) CompositeExtract 544 2
- Store 550 551
- 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 553 553 12 12
- Branch 532
- 528: Label
- 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 557 557 12 12
- 558: 70(fvec3) Load 468(fragPos)
- 559: 545(ptr) AccessChain 537(outFragColor) 12
- 560: 16(float) CompositeExtract 558 0
- Store 559 560
- 561: 545(ptr) AccessChain 537(outFragColor) 41
- 562: 16(float) CompositeExtract 558 1
- Store 561 562
- 563: 545(ptr) AccessChain 537(outFragColor) 25
- 564: 16(float) CompositeExtract 558 2
- Store 563 564
- 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 566 566 12 12
- Branch 532
- 529: Label
- 568: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 570 570 12 12
- 571: 70(fvec3) Load 490(normal)
- 572: 545(ptr) AccessChain 537(outFragColor) 12
- 573: 16(float) CompositeExtract 571 0
- Store 572 573
- 574: 545(ptr) AccessChain 537(outFragColor) 41
- 575: 16(float) CompositeExtract 571 1
- Store 574 575
- 576: 545(ptr) AccessChain 537(outFragColor) 25
- 577: 16(float) CompositeExtract 571 2
- Store 576 577
- 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 579 579 12 12
- Branch 532
- 530: Label
- 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 582: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 583 583 12 12
- 584: 19(fvec4) Load 503(albedo)
- 585: 70(fvec3) VectorShuffle 584 584 0 1 2
- 586: 545(ptr) AccessChain 537(outFragColor) 12
- 587: 16(float) CompositeExtract 585 0
- Store 586 587
- 588: 545(ptr) AccessChain 537(outFragColor) 41
- 589: 16(float) CompositeExtract 585 1
- Store 588 589
- 590: 545(ptr) AccessChain 537(outFragColor) 25
- 591: 16(float) CompositeExtract 585 2
- Store 590 591
- 592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 593 593 12 12
- Branch 532
- 531: Label
- 595: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 596: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 597 597 12 12
- 598: 19(fvec4) Load 503(albedo)
- 599: 70(fvec3) VectorShuffle 598 598 3 3 3
- 600: 545(ptr) AccessChain 537(outFragColor) 12
- 601: 16(float) CompositeExtract 599 0
- Store 600 601
- 602: 545(ptr) AccessChain 537(outFragColor) 41
- 603: 16(float) CompositeExtract 599 1
- Store 602 603
- 604: 545(ptr) AccessChain 537(outFragColor) 25
- 605: 16(float) CompositeExtract 599 2
- Store 604 605
- 606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 607 607 12 12
- Branch 532
- 532: Label
- 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 612 612 12 12
- 613: 545(ptr) AccessChain 537(outFragColor) 13
- Store 613 112
- 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 615 615 12 12
+ 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 91 14(main)
+ 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 461 461 12 12
+ 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 463 462(fragPos) 47
+ 474: 468 Load 471(samplerposition)
+ 479: 24(fvec2) Load 476(inUV)
+ 480: 19(fvec4) ImageSampleImplicitLod 474 479
+ 481: 70(fvec3) VectorShuffle 480 480 0 1 2
+ Store 462(fragPos) 481
+ 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 483 483 12 12
+ 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 485 484(normal) 47
+ 491: 468 Load 488(samplerNormal)
+ 492: 24(fvec2) Load 476(inUV)
+ 493: 19(fvec4) ImageSampleImplicitLod 491 492
+ 494: 70(fvec3) VectorShuffle 493 493 0 1 2
+ Store 484(normal) 494
+ 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 496 496 12 12
+ 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 498 497(albedo) 47
+ 504: 468 Load 501(samplerAlbedo)
+ 505: 24(fvec2) Load 476(inUV)
+ 506: 19(fvec4) ImageSampleImplicitLod 504 505
+ Store 497(albedo) 506
+ 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 508 508 12 12
+ 510: 509(ptr) AccessChain 419(ubo) 381
+ 511: 96(int) Load 510
+ 512: 138(bool) SGreaterThan 511 104
+ SelectionMerge 514 None
+ BranchConditional 512 513 514
+ 513: Label
+ 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 517 517 12 12
+ 518: 509(ptr) AccessChain 419(ubo) 381
+ 519: 96(int) Load 518
+ SelectionMerge 525 None
+ Switch 519 525
+ case 1: 520
+ case 2: 521
+ case 3: 522
+ case 4: 523
+ case 5: 524
+ 520: Label
+ 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 528 528 12 12
+ Store 534(param) 533
+ 536: 70(fvec3) Load 462(fragPos)
+ Store 535(param) 536
+ 537: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 534(param) 535(param)
+ 539: 538(ptr) AccessChain 530(outFragColor) 12
+ 540: 16(float) CompositeExtract 537 0
+ Store 539 540
+ 541: 538(ptr) AccessChain 530(outFragColor) 41
+ 542: 16(float) CompositeExtract 537 1
+ Store 541 542
+ 543: 538(ptr) AccessChain 530(outFragColor) 25
+ 544: 16(float) CompositeExtract 537 2
+ Store 543 544
+ 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 546 546 12 12
+ Branch 525
+ 521: Label
+ 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 550 550 12 12
+ 551: 70(fvec3) Load 462(fragPos)
+ 552: 538(ptr) AccessChain 530(outFragColor) 12
+ 553: 16(float) CompositeExtract 551 0
+ Store 552 553
+ 554: 538(ptr) AccessChain 530(outFragColor) 41
+ 555: 16(float) CompositeExtract 551 1
+ Store 554 555
+ 556: 538(ptr) AccessChain 530(outFragColor) 25
+ 557: 16(float) CompositeExtract 551 2
+ Store 556 557
+ 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 559 559 12 12
+ Branch 525
+ 522: Label
+ 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 562: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 563 563 12 12
+ 564: 70(fvec3) Load 484(normal)
+ 565: 538(ptr) AccessChain 530(outFragColor) 12
+ 566: 16(float) CompositeExtract 564 0
+ Store 565 566
+ 567: 538(ptr) AccessChain 530(outFragColor) 41
+ 568: 16(float) CompositeExtract 564 1
+ Store 567 568
+ 569: 538(ptr) AccessChain 530(outFragColor) 25
+ 570: 16(float) CompositeExtract 564 2
+ Store 569 570
+ 571: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 572 572 12 12
+ Branch 525
+ 523: Label
+ 574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 575: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 576 576 12 12
+ 577: 19(fvec4) Load 497(albedo)
+ 578: 70(fvec3) VectorShuffle 577 577 0 1 2
+ 579: 538(ptr) AccessChain 530(outFragColor) 12
+ 580: 16(float) CompositeExtract 578 0
+ Store 579 580
+ 581: 538(ptr) AccessChain 530(outFragColor) 41
+ 582: 16(float) CompositeExtract 578 1
+ Store 581 582
+ 583: 538(ptr) AccessChain 530(outFragColor) 25
+ 584: 16(float) CompositeExtract 578 2
+ Store 583 584
+ 585: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 586 586 12 12
+ Branch 525
+ 524: Label
+ 588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 589: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 590 590 12 12
+ 591: 19(fvec4) Load 497(albedo)
+ 592: 70(fvec3) VectorShuffle 591 591 3 3 3
+ 593: 538(ptr) AccessChain 530(outFragColor) 12
+ 594: 16(float) CompositeExtract 592 0
+ Store 593 594
+ 595: 538(ptr) AccessChain 530(outFragColor) 41
+ 596: 16(float) CompositeExtract 592 1
+ Store 595 596
+ 597: 538(ptr) AccessChain 530(outFragColor) 25
+ 598: 16(float) CompositeExtract 592 2
+ Store 597 598
+ 599: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 600 600 12 12
+ Branch 525
+ 525: Label
+ 603: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 605 605 12 12
+ 606: 538(ptr) AccessChain 530(outFragColor) 13
+ Store 606 112
+ 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 608 608 12 12
Return
- 521: Label
- 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 619 619 12 12
- 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 621 620(fragcolor) 47
- 623: 19(fvec4) Load 503(albedo)
- 624: 70(fvec3) VectorShuffle 623 623 0 1 2
- 626: 70(fvec3) VectorTimesScalar 624 625
- Store 620(fragcolor) 626
- 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 628 628 12 12
- 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 630 629(N) 47
- 633: 70(fvec3) Load 490(normal)
- 634: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 633
- Store 629(N) 634
- 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12
- 639: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 638 637(i) 47
- Store 637(i) 104
- Branch 640
- 640: Label
- 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12
- LoopMerge 642 643 None
- Branch 646
- 646: Label
- 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12
- 649: 96(int) Load 637(i)
- 651: 138(bool) SLessThan 649 386
- BranchConditional 651 641 642
- 641: Label
- 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 653: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 654 654 12 12
- 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 656 655(L) 47
- 659: 96(int) Load 637(i)
- 661: 660(ptr) AccessChain 425(ubo) 283 659 104
- 662: 19(fvec4) Load 661
- 663: 70(fvec3) VectorShuffle 662 662 0 1 2
- 664: 70(fvec3) Load 468(fragPos)
- 665: 70(fvec3) FSub 663 664
- Store 655(L) 665
- 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 667 667 12 12
- 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 669 668(dist) 47
- 671: 70(fvec3) Load 655(L)
- 672: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 671
- Store 668(dist) 672
- 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 674 674 12 12
- 675: 70(fvec3) Load 655(L)
- 676: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 675
- Store 655(L) 676
- 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 678 678 12 12
- 682: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 680 679(V) 47
- 683: 660(ptr) AccessChain 425(ubo) 104
- 684: 19(fvec4) Load 683
- 685: 70(fvec3) VectorShuffle 684 684 0 1 2
- 686: 70(fvec3) Load 468(fragPos)
- 687: 70(fvec3) FSub 685 686
- Store 679(V) 687
- 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 689 689 12 12
- 690: 70(fvec3) Load 679(V)
- 691: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 690
- Store 679(V) 691
- 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 693 693 12 12
- 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 695 694(lightCosInnerAngle) 47
- Store 694(lightCosInnerAngle) 698
- 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 700 700 12 12
- 704: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 702 701(lightCosOuterAngle) 47
- Store 701(lightCosOuterAngle) 705
- 706: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 707 707 12 12
- 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 709 708(lightRange) 47
- Store 708(lightRange) 712
- 713: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 714 714 12 12
- 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 716 715(dir) 47
- 719: 96(int) Load 637(i)
- 720: 660(ptr) AccessChain 425(ubo) 283 719 104
- 721: 19(fvec4) Load 720
- 722: 70(fvec3) VectorShuffle 721 721 0 1 2
- 723: 96(int) Load 637(i)
- 724: 660(ptr) AccessChain 425(ubo) 283 723 283
- 725: 19(fvec4) Load 724
- 726: 70(fvec3) VectorShuffle 725 725 0 1 2
- 727: 70(fvec3) FSub 722 726
- 728: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 727
- Store 715(dir) 728
- 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 730 730 12 12
- 734: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 732 731(cosDir) 47
- 735: 70(fvec3) Load 655(L)
- 736: 70(fvec3) Load 715(dir)
- 737: 16(float) Dot 735 736
- Store 731(cosDir) 737
- 738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 739 739 12 12
- 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 741 740(spotEffect) 47
- 744: 16(float) Load 701(lightCosOuterAngle)
- 745: 16(float) Load 694(lightCosInnerAngle)
- 746: 16(float) Load 731(cosDir)
- 747: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 744 745 746
- Store 740(spotEffect) 747
- 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 749 749 12 12
- 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 751 750(heightAttenuation) 47
- 754: 16(float) Load 708(lightRange)
- 755: 16(float) Load 668(dist)
- 756: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 754 191 755
- Store 750(heightAttenuation) 756
- 757: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 758 758 12 12
- 762: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 760 759(NdotL) 47
- 763: 70(fvec3) Load 629(N)
- 764: 70(fvec3) Load 655(L)
- 765: 16(float) Dot 763 764
- 766: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 191 765
- Store 759(NdotL) 766
+ 514: Label
+ 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 612 612 12 12
+ 615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 614 613(fragcolor) 47
+ 616: 19(fvec4) Load 497(albedo)
+ 617: 70(fvec3) VectorShuffle 616 616 0 1 2
+ 619: 70(fvec3) VectorTimesScalar 617 618
+ Store 613(fragcolor) 619
+ 620: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 621 621 12 12
+ 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 623 622(N) 47
+ 626: 70(fvec3) Load 484(normal)
+ 627: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 626
+ Store 622(N) 627
+ 628: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12
+ 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 631 630(i) 47
+ Store 630(i) 104
+ Branch 633
+ 633: Label
+ 637: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12
+ LoopMerge 635 636 None
+ Branch 639
+ 639: Label
+ 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12
+ 642: 96(int) Load 630(i)
+ 643: 138(bool) SLessThan 642 381
+ BranchConditional 643 634 635
+ 634: Label
+ 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 646 646 12 12
+ 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 648 647(L) 47
+ 651: 96(int) Load 630(i)
+ 653: 652(ptr) AccessChain 419(ubo) 280 651 104
+ 654: 19(fvec4) Load 653
+ 655: 70(fvec3) VectorShuffle 654 654 0 1 2
+ 656: 70(fvec3) Load 462(fragPos)
+ 657: 70(fvec3) FSub 655 656
+ Store 647(L) 657
+ 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 659 659 12 12
+ 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 661 660(dist) 47
+ 663: 70(fvec3) Load 647(L)
+ 664: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 663
+ Store 660(dist) 664
+ 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 666 666 12 12
+ 667: 70(fvec3) Load 647(L)
+ 668: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 667
+ Store 647(L) 668
+ 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 670 670 12 12
+ 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 672 671(V) 47
+ 675: 652(ptr) AccessChain 419(ubo) 104
+ 676: 19(fvec4) Load 675
+ 677: 70(fvec3) VectorShuffle 676 676 0 1 2
+ 678: 70(fvec3) Load 462(fragPos)
+ 679: 70(fvec3) FSub 677 678
+ Store 671(V) 679
+ 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 681 681 12 12
+ 682: 70(fvec3) Load 671(V)
+ 683: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 682
+ Store 671(V) 683
+ 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 685 685 12 12
+ 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 687 686(lightCosInnerAngle) 47
+ Store 686(lightCosInnerAngle) 690
+ 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 692 692 12 12
+ 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 694 693(lightCosOuterAngle) 47
+ Store 693(lightCosOuterAngle) 697
+ 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 699 699 12 12
+ 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 701 700(lightRange) 47
+ Store 700(lightRange) 704
+ 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 706 706 12 12
+ 710: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 708 707(dir) 47
+ 711: 96(int) Load 630(i)
+ 712: 652(ptr) AccessChain 419(ubo) 280 711 104
+ 713: 19(fvec4) Load 712
+ 714: 70(fvec3) VectorShuffle 713 713 0 1 2
+ 715: 96(int) Load 630(i)
+ 716: 652(ptr) AccessChain 419(ubo) 280 715 280
+ 717: 19(fvec4) Load 716
+ 718: 70(fvec3) VectorShuffle 717 717 0 1 2
+ 719: 70(fvec3) FSub 714 718
+ 720: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 719
+ Store 707(dir) 720
+ 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 722 722 12 12
+ 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 724 723(cosDir) 47
+ 727: 70(fvec3) Load 647(L)
+ 728: 70(fvec3) Load 707(dir)
+ 729: 16(float) Dot 727 728
+ Store 723(cosDir) 729
+ 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 731 731 12 12
+ 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 733 732(spotEffect) 47
+ 736: 16(float) Load 693(lightCosOuterAngle)
+ 737: 16(float) Load 686(lightCosInnerAngle)
+ 738: 16(float) Load 723(cosDir)
+ 739: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 736 737 738
+ Store 732(spotEffect) 739
+ 740: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 741 741 12 12
+ 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 743 742(heightAttenuation) 47
+ 746: 16(float) Load 700(lightRange)
+ 747: 16(float) Load 660(dist)
+ 748: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 746 190 747
+ Store 742(heightAttenuation) 748
+ 749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 750 750 12 12
+ 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 752 751(NdotL) 47
+ 755: 70(fvec3) Load 622(N)
+ 756: 70(fvec3) Load 647(L)
+ 757: 16(float) Dot 755 756
+ 758: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 190 757
+ Store 751(NdotL) 758
+ 759: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 760 760 12 12
+ 764: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 762 761(diff) 47
+ 765: 16(float) Load 751(NdotL)
+ 766: 70(fvec3) CompositeConstruct 765 765 765
+ Store 761(diff) 766
767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 768 768 12 12
- 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 770 769(diff) 47
- 773: 16(float) Load 759(NdotL)
- 774: 70(fvec3) CompositeConstruct 773 773 773
- Store 769(diff) 774
- 775: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 776 776 12 12
- 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 778 777(R) 47
- 781: 70(fvec3) Load 655(L)
- 782: 70(fvec3) FNegate 781
- 783: 70(fvec3) Load 629(N)
- 784: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 782 783
- Store 777(R) 784
- 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 786 786 12 12
- 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 788 787(NdotR) 47
- 791: 70(fvec3) Load 777(R)
- 792: 70(fvec3) Load 679(V)
- 793: 16(float) Dot 791 792
- 794: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 191 793
- Store 787(NdotR) 794
- 795: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 796 796 12 12
- 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 798 797(spec) 47
- 801: 16(float) Load 787(NdotR)
- 803: 16(float) ExtInst 3(GLSL.std.450) 26(Pow) 801 802
- 804: 23(ptr) AccessChain 503(albedo) 13
- 805: 16(float) Load 804
- 806: 16(float) FMul 803 805
- 808: 16(float) FMul 806 807
- 809: 70(fvec3) CompositeConstruct 808 808 808
- Store 797(spec) 809
- 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 811 811 12 12
- 812: 70(fvec3) Load 769(diff)
- 813: 70(fvec3) Load 797(spec)
- 814: 70(fvec3) FAdd 812 813
- 815: 16(float) Load 740(spotEffect)
- 816: 70(fvec3) VectorTimesScalar 814 815
- 817: 16(float) Load 750(heightAttenuation)
- 818: 70(fvec3) VectorTimesScalar 816 817
- 819: 16(float) CompositeExtract 818 0
- 820: 16(float) CompositeExtract 818 1
- 821: 16(float) CompositeExtract 818 2
- 822: 70(fvec3) CompositeConstruct 819 820 821
- 823: 96(int) Load 637(i)
- 825: 660(ptr) AccessChain 425(ubo) 283 823 824
- 826: 19(fvec4) Load 825
- 827: 70(fvec3) VectorShuffle 826 826 0 1 2
- 828: 70(fvec3) FMul 822 827
- 829: 19(fvec4) Load 503(albedo)
- 830: 70(fvec3) VectorShuffle 829 829 0 1 2
- 831: 70(fvec3) FMul 828 830
- 832: 70(fvec3) Load 620(fragcolor)
- 833: 70(fvec3) FAdd 832 831
- Store 620(fragcolor) 833
- Branch 643
- 643: Label
- 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 835: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12
- 836: 96(int) Load 637(i)
- 837: 96(int) IAdd 836 283
- Store 637(i) 837
- Branch 640
- 642: Label
- 838: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 839: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 840 840 12 12
- 841: 515(ptr) AccessChain 425(ubo) 824
- 842: 96(int) Load 841
- 844: 138(bool) SGreaterThan 842 104
- SelectionMerge 846 None
- BranchConditional 844 845 846
- 845: Label
- 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 848: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 849 849 12 12
- 851: 70(fvec3) Load 620(fragcolor)
- Store 850(param) 851
- 853: 70(fvec3) Load 468(fragPos)
- Store 852(param) 853
- 854: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 850(param) 852(param)
- Store 620(fragcolor) 854
- Branch 846
- 846: Label
- 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
- 856: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 857 857 12 12
- 858: 70(fvec3) Load 620(fragcolor)
- 859: 16(float) CompositeExtract 858 0
- 860: 16(float) CompositeExtract 858 1
- 861: 16(float) CompositeExtract 858 2
- 862: 19(fvec4) CompositeConstruct 859 860 861 112
- Store 537(outFragColor) 862
+ 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 770 769(R) 47
+ 773: 70(fvec3) Load 647(L)
+ 774: 70(fvec3) FNegate 773
+ 775: 70(fvec3) Load 622(N)
+ 776: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 774 775
+ Store 769(R) 776
+ 777: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 778 778 12 12
+ 782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 780 779(NdotR) 47
+ 783: 70(fvec3) Load 769(R)
+ 784: 70(fvec3) Load 671(V)
+ 785: 16(float) Dot 783 784
+ 786: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 190 785
+ Store 779(NdotR) 786
+ 787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 788 788 12 12
+ 792: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 790 789(spec) 47
+ 793: 16(float) Load 779(NdotR)
+ 795: 16(float) ExtInst 3(GLSL.std.450) 26(Pow) 793 794
+ 796: 23(ptr) AccessChain 497(albedo) 13
+ 797: 16(float) Load 796
+ 798: 16(float) FMul 795 797
+ 800: 16(float) FMul 798 799
+ 801: 70(fvec3) CompositeConstruct 800 800 800
+ Store 789(spec) 801
+ 802: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 803 803 12 12
+ 804: 70(fvec3) Load 761(diff)
+ 805: 70(fvec3) Load 789(spec)
+ 806: 70(fvec3) FAdd 804 805
+ 807: 16(float) Load 732(spotEffect)
+ 808: 70(fvec3) VectorTimesScalar 806 807
+ 809: 16(float) Load 742(heightAttenuation)
+ 810: 70(fvec3) VectorTimesScalar 808 809
+ 811: 16(float) CompositeExtract 810 0
+ 812: 16(float) CompositeExtract 810 1
+ 813: 16(float) CompositeExtract 810 2
+ 814: 70(fvec3) CompositeConstruct 811 812 813
+ 815: 96(int) Load 630(i)
+ 817: 652(ptr) AccessChain 419(ubo) 280 815 816
+ 818: 19(fvec4) Load 817
+ 819: 70(fvec3) VectorShuffle 818 818 0 1 2
+ 820: 70(fvec3) FMul 814 819
+ 821: 19(fvec4) Load 497(albedo)
+ 822: 70(fvec3) VectorShuffle 821 821 0 1 2
+ 823: 70(fvec3) FMul 820 822
+ 824: 70(fvec3) Load 613(fragcolor)
+ 825: 70(fvec3) FAdd 824 823
+ Store 613(fragcolor) 825
+ Branch 636
+ 636: Label
+ 826: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 827: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12
+ 828: 96(int) Load 630(i)
+ 829: 96(int) IAdd 828 280
+ Store 630(i) 829
+ Branch 633
+ 635: Label
+ 830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 832 832 12 12
+ 833: 509(ptr) AccessChain 419(ubo) 816
+ 834: 96(int) Load 833
+ 835: 138(bool) SGreaterThan 834 104
+ SelectionMerge 837 None
+ BranchConditional 835 836 837
+ 836: Label
+ 838: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 839: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 840 840 12 12
+ 842: 70(fvec3) Load 613(fragcolor)
+ Store 841(param) 842
+ 844: 70(fvec3) Load 462(fragPos)
+ Store 843(param) 844
+ 845: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 841(param) 843(param)
+ Store 613(fragcolor) 845
+ Branch 837
+ 837: Label
+ 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91
+ 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 848 848 12 12
+ 849: 70(fvec3) Load 613(fragcolor)
+ 850: 16(float) CompositeExtract 849 0
+ 851: 16(float) CompositeExtract 849 1
+ 852: 16(float) CompositeExtract 849 2
+ 853: 19(fvec4) CompositeConstruct 850 851 852 112
+ Store 530(outFragColor) 853
Return
FunctionEnd
Line 1 59 51
@@ -789,7 +780,7 @@ spv.debuginfo.glsl.frag
34: Label
109(shadow): 23(ptr) Variable Function
115(shadowCoord): 22(ptr) Variable Function
- 159(dist): 23(ptr) Variable Function
+ 158(dist): 23(ptr) Variable Function
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 39 39 12 12
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 30(P) 47
@@ -821,9 +812,9 @@ spv.debuginfo.glsl.frag
135: 16(float) CompositeExtract 131 1
Store 134 135
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 137 137 12 12
- 139: 23(ptr) AccessChain 115(shadowCoord) 25
- 140: 16(float) Load 139
- 144: 138(bool) FOrdGreaterThan 140 141
+ 141: 23(ptr) AccessChain 115(shadowCoord) 25
+ 142: 16(float) Load 141
+ 144: 138(bool) FOrdGreaterThan 142 143
SelectionMerge 146 None
BranchConditional 144 145 146
145: Label
@@ -831,278 +822,278 @@ spv.debuginfo.glsl.frag
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 137 137 12 12
149: 23(ptr) AccessChain 115(shadowCoord) 25
150: 16(float) Load 149
- 152: 138(bool) FOrdLessThan 150 112
+ 151: 138(bool) FOrdLessThan 150 112
Branch 146
146: Label
- 153: 138(bool) Phi 144 34 152 145
- SelectionMerge 155 None
- BranchConditional 153 154 155
- 154: Label
- 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
- 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 158 158 12 12
- 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(dist) 47
- 176: 168 Load 173(samplerShadowMap)
- 177: 19(fvec4) Load 115(shadowCoord)
- 178: 24(fvec2) VectorShuffle 177 177 0 1
- 179: 24(fvec2) Load 32(offset)
- 180: 24(fvec2) FAdd 178 179
- 181: 16(float) Load 31(layer)
- 182: 16(float) CompositeExtract 180 0
- 183: 16(float) CompositeExtract 180 1
- 184: 70(fvec3) CompositeConstruct 182 183 181
- 185: 19(fvec4) ImageSampleImplicitLod 176 184
- 186: 16(float) CompositeExtract 185 0
- Store 159(dist) 186
- 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 188 188 12 12
- 189: 23(ptr) AccessChain 115(shadowCoord) 13
- 190: 16(float) Load 189
- 193: 138(bool) FOrdGreaterThan 190 191
- SelectionMerge 195 None
- BranchConditional 193 194 195
- 194: Label
- 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
- 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 188 188 12 12
- 198: 16(float) Load 159(dist)
- 199: 23(ptr) AccessChain 115(shadowCoord) 25
- 200: 16(float) Load 199
- 202: 138(bool) FOrdLessThan 198 200
- Branch 195
- 195: Label
- 203: 138(bool) Phi 193 154 202 194
- SelectionMerge 205 None
- BranchConditional 203 204 205
- 204: Label
- 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
- 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 208 208 12 12
- Store 109(shadow) 209
- Branch 205
- 205: Label
- Branch 155
- 155: Label
- 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
- 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 212 212 12 12
- 213: 16(float) Load 109(shadow)
- ReturnValue 213
+ 152: 138(bool) Phi 144 34 151 145
+ SelectionMerge 154 None
+ BranchConditional 152 153 154
+ 153: Label
+ 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
+ 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 157 157 12 12
+ 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 159 158(dist) 47
+ 175: 167 Load 172(samplerShadowMap)
+ 176: 19(fvec4) Load 115(shadowCoord)
+ 177: 24(fvec2) VectorShuffle 176 176 0 1
+ 178: 24(fvec2) Load 32(offset)
+ 179: 24(fvec2) FAdd 177 178
+ 180: 16(float) Load 31(layer)
+ 181: 16(float) CompositeExtract 179 0
+ 182: 16(float) CompositeExtract 179 1
+ 183: 70(fvec3) CompositeConstruct 181 182 180
+ 184: 19(fvec4) ImageSampleImplicitLod 175 183
+ 185: 16(float) CompositeExtract 184 0
+ Store 158(dist) 185
+ 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 187 187 12 12
+ 188: 23(ptr) AccessChain 115(shadowCoord) 13
+ 189: 16(float) Load 188
+ 191: 138(bool) FOrdGreaterThan 189 190
+ SelectionMerge 193 None
+ BranchConditional 191 192 193
+ 192: Label
+ 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
+ 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 187 187 12 12
+ 196: 16(float) Load 158(dist)
+ 197: 23(ptr) AccessChain 115(shadowCoord) 25
+ 198: 16(float) Load 197
+ 199: 138(bool) FOrdLessThan 196 198
+ Branch 193
+ 193: Label
+ 200: 138(bool) Phi 191 153 199 192
+ SelectionMerge 202 None
+ BranchConditional 200 201 202
+ 201: Label
+ 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
+ 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 205 205 12 12
+ Store 109(shadow) 206
+ Branch 202
+ 202: Label
+ Branch 154
+ 154: Label
+ 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
+ 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 209 209 12 12
+ 210: 16(float) Load 109(shadow)
+ ReturnValue 210
FunctionEnd
Line 1 76 37
58(filterPCF(vf4;f1;): 16(float) Function None 54
56(sc): 22(ptr) FunctionParameter
57(layer): 23(ptr) FunctionParameter
59: Label
- 223(texDim): 222(ptr) Variable Function
- 235(scale): 23(ptr) Variable Function
- 242(dx): 23(ptr) Variable Function
- 255(dy): 23(ptr) Variable Function
-267(shadowFactor): 23(ptr) Variable Function
- 273(count): 248(ptr) Variable Function
- 279(range): 248(ptr) Variable Function
- 286(x): 248(ptr) Variable Function
- 308(y): 248(ptr) Variable Function
- 339(param): 22(ptr) Variable Function
- 341(param): 23(ptr) Variable Function
- 343(param): 27(ptr) Variable Function
+ 220(texDim): 219(ptr) Variable Function
+ 232(scale): 23(ptr) Variable Function
+ 239(dx): 23(ptr) Variable Function
+ 252(dy): 23(ptr) Variable Function
+264(shadowFactor): 23(ptr) Variable Function
+ 270(count): 245(ptr) Variable Function
+ 276(range): 245(ptr) Variable Function
+ 283(x): 245(ptr) Variable Function
+ 304(y): 245(ptr) Variable Function
+ 334(param): 22(ptr) Variable Function
+ 336(param): 23(ptr) Variable Function
+ 338(param): 27(ptr) Variable Function
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 62 62 12 12
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 56(sc) 47
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 57(layer) 47
- 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;)
- 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 219 219 12 12
- 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 224 223(texDim) 47
- 227: 168 Load 173(samplerShadowMap)
- 228: 163 Image 227
- 231: 229(ivec3) ImageQuerySizeLod 228 104
- 232: 220(ivec2) VectorShuffle 231 231 0 1
- Store 223(texDim) 232
- 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 234 234 12 12
- 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 236 235(scale) 47
- Store 235(scale) 239
- 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 241 241 12 12
- 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 243 242(dx) 47
- 246: 16(float) Load 235(scale)
- 247: 16(float) FMul 246 112
- 249: 248(ptr) AccessChain 223(texDim) 12
- 250: 96(int) Load 249
- 251: 16(float) ConvertSToF 250
- 252: 16(float) FDiv 247 251
- Store 242(dx) 252
- 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 254 254 12 12
- 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 256 255(dy) 47
- 259: 16(float) Load 235(scale)
- 260: 16(float) FMul 259 112
- 261: 248(ptr) AccessChain 223(texDim) 41
- 262: 96(int) Load 261
- 263: 16(float) ConvertSToF 262
- 264: 16(float) FDiv 260 263
- Store 255(dy) 264
- 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 266 266 12 12
- 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 268 267(shadowFactor) 47
- Store 267(shadowFactor) 191
- 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 272 272 12 12
- 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 274 273(count) 47
- Store 273(count) 104
- 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 278 278 12 12
- 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 280 279(range) 47
- Store 279(range) 283
- 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12
- 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(x) 47
- 290: 96(int) Load 279(range)
- 291: 96(int) SNegate 290
- Store 286(x) 291
- Branch 292
- 292: Label
+ 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;)
+ 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 216 216 12 12
+ 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 221 220(texDim) 47
+ 224: 167 Load 172(samplerShadowMap)
+ 225: 162 Image 224
+ 228: 226(ivec3) ImageQuerySizeLod 225 104
+ 229: 217(ivec2) VectorShuffle 228 228 0 1
+ Store 220(texDim) 229
+ 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 231 231 12 12
+ 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 233 232(scale) 47
+ Store 232(scale) 236
+ 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 238 238 12 12
+ 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 240 239(dx) 47
+ 243: 16(float) Load 232(scale)
+ 244: 16(float) FMul 243 112
+ 246: 245(ptr) AccessChain 220(texDim) 12
+ 247: 96(int) Load 246
+ 248: 16(float) ConvertSToF 247
+ 249: 16(float) FDiv 244 248
+ Store 239(dx) 249
+ 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 251 251 12 12
+ 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(dy) 47
+ 256: 16(float) Load 232(scale)
+ 257: 16(float) FMul 256 112
+ 258: 245(ptr) AccessChain 220(texDim) 41
+ 259: 96(int) Load 258
+ 260: 16(float) ConvertSToF 259
+ 261: 16(float) FDiv 257 260
+ Store 252(dy) 261
+ 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 263 263 12 12
+ 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 265 264(shadowFactor) 47
+ Store 264(shadowFactor) 190
+ 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 269 269 12 12
+ 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 271 270(count) 47
+ Store 270(count) 104
+ 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 275 275 12 12
+ 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 277 276(range) 47
+ Store 276(range) 280
+ 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12
+ 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 284 283(x) 47
+ 287: 96(int) Load 276(range)
+ 288: 96(int) SNegate 287
+ Store 283(x) 288
+ Branch 289
+ 289: Label
+ 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12
+ LoopMerge 291 292 None
+ Branch 295
+ 295: Label
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12
- LoopMerge 294 295 None
- Branch 298
- 298: Label
- 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12
- 301: 96(int) Load 286(x)
- 302: 96(int) Load 279(range)
- 304: 138(bool) SLessThanEqual 301 302
- BranchConditional 304 293 294
- 293: Label
- 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12
- 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 309 308(y) 47
- 312: 96(int) Load 279(range)
- 313: 96(int) SNegate 312
- Store 308(y) 313
- Branch 314
- 314: Label
- 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12
- LoopMerge 316 317 None
- Branch 320
- 320: Label
- 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12
- 323: 96(int) Load 308(y)
- 324: 96(int) Load 279(range)
- 326: 138(bool) SLessThanEqual 323 324
- BranchConditional 326 315 316
- 315: Label
- 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 329 329 12 12
- 330: 16(float) Load 242(dx)
- 331: 96(int) Load 286(x)
- 332: 16(float) ConvertSToF 331
- 333: 16(float) FMul 330 332
- 334: 16(float) Load 255(dy)
- 335: 96(int) Load 308(y)
- 336: 16(float) ConvertSToF 335
- 337: 16(float) FMul 334 336
- 338: 24(fvec2) CompositeConstruct 333 337
- 340: 19(fvec4) Load 56(sc)
- Store 339(param) 340
- 342: 16(float) Load 57(layer)
- Store 341(param) 342
- Store 343(param) 338
- 344: 16(float) FunctionCall 33(textureProj(vf4;f1;vf2;) 339(param) 341(param) 343(param)
- 345: 16(float) Load 267(shadowFactor)
- 346: 16(float) FAdd 345 344
- Store 267(shadowFactor) 346
- 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 348 348 12 12
- 349: 96(int) Load 273(count)
- 350: 96(int) IAdd 349 283
- Store 273(count) 350
- Branch 317
- 317: Label
- 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12
- 353: 96(int) Load 308(y)
- 354: 96(int) IAdd 353 283
- Store 308(y) 354
- Branch 314
+ 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12
+ 298: 96(int) Load 283(x)
+ 299: 96(int) Load 276(range)
+ 300: 138(bool) SLessThanEqual 298 299
+ BranchConditional 300 290 291
+ 290: Label
+ 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12
+ 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(y) 47
+ 308: 96(int) Load 276(range)
+ 309: 96(int) SNegate 308
+ Store 304(y) 309
+ Branch 310
+ 310: Label
+ 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12
+ LoopMerge 312 313 None
+ Branch 316
316: Label
- Branch 295
- 295: Label
- 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12
- 357: 96(int) Load 286(x)
- 358: 96(int) IAdd 357 283
- Store 286(x) 358
+ 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12
+ 319: 96(int) Load 304(y)
+ 320: 96(int) Load 276(range)
+ 321: 138(bool) SLessThanEqual 319 320
+ BranchConditional 321 311 312
+ 311: Label
+ 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 324 324 12 12
+ 325: 16(float) Load 239(dx)
+ 326: 96(int) Load 283(x)
+ 327: 16(float) ConvertSToF 326
+ 328: 16(float) FMul 325 327
+ 329: 16(float) Load 252(dy)
+ 330: 96(int) Load 304(y)
+ 331: 16(float) ConvertSToF 330
+ 332: 16(float) FMul 329 331
+ 333: 24(fvec2) CompositeConstruct 328 332
+ 335: 19(fvec4) Load 56(sc)
+ Store 334(param) 335
+ 337: 16(float) Load 57(layer)
+ Store 336(param) 337
+ Store 338(param) 333
+ 339: 16(float) FunctionCall 33(textureProj(vf4;f1;vf2;) 334(param) 336(param) 338(param)
+ 340: 16(float) Load 264(shadowFactor)
+ 341: 16(float) FAdd 340 339
+ Store 264(shadowFactor) 341
+ 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 343 343 12 12
+ 344: 96(int) Load 270(count)
+ 345: 96(int) IAdd 344 280
+ Store 270(count) 345
+ Branch 313
+ 313: Label
+ 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12
+ 348: 96(int) Load 304(y)
+ 349: 96(int) IAdd 348 280
+ Store 304(y) 349
+ Branch 310
+ 312: Label
Branch 292
- 294: Label
- 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 361 361 12 12
- 362: 16(float) Load 267(shadowFactor)
- 363: 96(int) Load 273(count)
- 364: 16(float) ConvertSToF 363
- 365: 16(float) FDiv 362 364
- ReturnValue 365
+ 292: Label
+ 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12
+ 352: 96(int) Load 283(x)
+ 353: 96(int) IAdd 352 280
+ Store 283(x) 353
+ Branch 289
+ 291: Label
+ 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 356 356 12 12
+ 357: 16(float) Load 264(shadowFactor)
+ 358: 96(int) Load 270(count)
+ 359: 16(float) ConvertSToF 358
+ 360: 16(float) FDiv 357 359
+ ReturnValue 360
FunctionEnd
Line 1 99 41
77(shadow(vf3;vf3;): 70(fvec3) Function None 73
75(fragcolor): 72(ptr) FunctionParameter
76(fragpos): 72(ptr) FunctionParameter
78: Label
- 372(i): 248(ptr) Variable Function
- 392(shadowClip): 22(ptr) Variable Function
-440(shadowFactor): 23(ptr) Variable Function
- 445(param): 22(ptr) Variable Function
- 447(param): 23(ptr) Variable Function
+ 367(i): 245(ptr) Variable Function
+ 386(shadowClip): 22(ptr) Variable Function
+434(shadowFactor): 23(ptr) Variable Function
+ 439(param): 22(ptr) Variable Function
+ 441(param): 23(ptr) Variable Function
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 81 81 12 12
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 75(fragcolor) 47
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 76(fragpos) 47
- 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;)
- 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12
- 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 373 372(i) 47
- Store 372(i) 104
- Branch 376
- 376: Label
- 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12
- LoopMerge 378 379 None
- Branch 382
- 382: Label
- 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12
- 385: 96(int) Load 372(i)
- 388: 138(bool) SLessThan 385 386
- BranchConditional 388 377 378
- 377: Label
- 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 391 391 12 12
- 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(shadowClip) 47
- 428: 96(int) Load 372(i)
- 430: 429(ptr) AccessChain 425(ubo) 283 428 386
- 431: 396 Load 430
- 432: 70(fvec3) Load 76(fragpos)
- 433: 16(float) CompositeExtract 432 0
- 434: 16(float) CompositeExtract 432 1
- 435: 16(float) CompositeExtract 432 2
- 436: 19(fvec4) CompositeConstruct 433 434 435 112
- 437: 19(fvec4) MatrixTimesVector 431 436
- Store 392(shadowClip) 437
- 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 439 439 12 12
- 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 441 440(shadowFactor) 47
- 443: 96(int) Load 372(i)
- 444: 16(float) ConvertSToF 443
- 446: 19(fvec4) Load 392(shadowClip)
- Store 445(param) 446
- Store 447(param) 444
- 448: 16(float) FunctionCall 58(filterPCF(vf4;f1;) 445(param) 447(param)
- Store 440(shadowFactor) 448
- 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 450 450 12 12
- 451: 16(float) Load 440(shadowFactor)
- 452: 70(fvec3) Load 75(fragcolor)
- 453: 70(fvec3) VectorTimesScalar 452 451
- Store 75(fragcolor) 453
- Branch 379
- 379: Label
- 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12
- 456: 96(int) Load 372(i)
- 457: 96(int) IAdd 456 283
- Store 372(i) 457
- Branch 376
- 378: Label
- 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 460 460 12 12
- 461: 70(fvec3) Load 75(fragcolor)
- ReturnValue 461
+ 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;)
+ 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12
+ 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 368 367(i) 47
+ Store 367(i) 104
+ Branch 371
+ 371: Label
+ 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12
+ LoopMerge 373 374 None
+ Branch 377
+ 377: Label
+ 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12
+ 380: 96(int) Load 367(i)
+ 382: 138(bool) SLessThan 380 381
+ BranchConditional 382 372 373
+ 372: Label
+ 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 385 385 12 12
+ 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 387 386(shadowClip) 47
+ 422: 96(int) Load 367(i)
+ 424: 423(ptr) AccessChain 419(ubo) 280 422 381
+ 425: 390 Load 424
+ 426: 70(fvec3) Load 76(fragpos)
+ 427: 16(float) CompositeExtract 426 0
+ 428: 16(float) CompositeExtract 426 1
+ 429: 16(float) CompositeExtract 426 2
+ 430: 19(fvec4) CompositeConstruct 427 428 429 112
+ 431: 19(fvec4) MatrixTimesVector 425 430
+ Store 386(shadowClip) 431
+ 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 433 433 12 12
+ 436: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 435 434(shadowFactor) 47
+ 437: 96(int) Load 367(i)
+ 438: 16(float) ConvertSToF 437
+ 440: 19(fvec4) Load 386(shadowClip)
+ Store 439(param) 440
+ Store 441(param) 438
+ 442: 16(float) FunctionCall 58(filterPCF(vf4;f1;) 439(param) 441(param)
+ Store 434(shadowFactor) 442
+ 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 444 444 12 12
+ 445: 16(float) Load 434(shadowFactor)
+ 446: 70(fvec3) Load 75(fragcolor)
+ 447: 70(fvec3) VectorTimesScalar 446 445
+ Store 75(fragcolor) 447
+ Branch 374
+ 374: Label
+ 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12
+ 450: 96(int) Load 367(i)
+ 451: 96(int) IAdd 450 280
+ Store 367(i) 451
+ Branch 371
+ 373: Label
+ 452: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 454 454 12 12
+ 455: 70(fvec3) Load 75(fragcolor)
+ ReturnValue 455
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tesc.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tesc.out
index 17ac15502b..13eca5f26f 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tesc.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tesc.out
@@ -1,14 +1,14 @@
spv.debuginfo.glsl.tesc
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 545
+// Id's are bound by 537
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint TessellationControl 14 "main" 252 256 282 373 386 501 515 522 536
+ EntryPoint TessellationControl 14 "main" 252 256 282 366 379 493 507 514 528
ExecutionMode 14 OutputVertices 4
1: String ""
8: String "uint"
@@ -54,12 +54,12 @@ spv.debuginfo.glsl.tesc
277: String "samplerHeight"
284: String "inUV"
303: String "i"
- 375: String "gl_TessLevelInner"
- 388: String "gl_TessLevelOuter"
- 503: String "gl_out"
- 517: String "outNormal"
- 524: String "inNormal"
- 538: String "outUV"
+ 368: String "gl_TessLevelInner"
+ 381: String "gl_TessLevelOuter"
+ 495: String "gl_out"
+ 509: String "outNormal"
+ 516: String "inNormal"
+ 530: String "outUV"
Name 14 "main"
Name 27 "screenSpaceTessFactor(vf4;vf4;"
Name 25 "p0"
@@ -91,25 +91,25 @@ spv.debuginfo.glsl.tesc
Name 275 "samplerHeight"
Name 282 "inUV"
Name 301 "i"
- Name 373 "gl_TessLevelInner"
- Name 386 "gl_TessLevelOuter"
- Name 413 "param"
- Name 416 "param"
- Name 423 "param"
- Name 426 "param"
- Name 433 "param"
- Name 436 "param"
- Name 443 "param"
- Name 446 "param"
- Name 490 "gl_PerVertex"
- MemberName 490(gl_PerVertex) 0 "gl_Position"
- MemberName 490(gl_PerVertex) 1 "gl_PointSize"
- MemberName 490(gl_PerVertex) 2 "gl_ClipDistance"
- MemberName 490(gl_PerVertex) 3 "gl_CullDistance"
- Name 501 "gl_out"
- Name 515 "outNormal"
- Name 522 "inNormal"
- Name 536 "outUV"
+ Name 366 "gl_TessLevelInner"
+ Name 379 "gl_TessLevelOuter"
+ Name 405 "param"
+ Name 408 "param"
+ Name 415 "param"
+ Name 418 "param"
+ Name 425 "param"
+ Name 428 "param"
+ Name 435 "param"
+ Name 438 "param"
+ Name 482 "gl_PerVertex"
+ MemberName 482(gl_PerVertex) 0 "gl_Position"
+ MemberName 482(gl_PerVertex) 1 "gl_PointSize"
+ MemberName 482(gl_PerVertex) 2 "gl_ClipDistance"
+ MemberName 482(gl_PerVertex) 3 "gl_CullDistance"
+ Name 493 "gl_out"
+ Name 507 "outNormal"
+ Name 514 "inNormal"
+ Name 528 "outUV"
Decorate 93 ArrayStride 16
MemberDecorate 97(UBO) 0 ColMajor
MemberDecorate 97(UBO) 0 Offset 0
@@ -135,18 +135,18 @@ spv.debuginfo.glsl.tesc
Decorate 275(samplerHeight) DescriptorSet 0
Decorate 275(samplerHeight) Binding 1
Decorate 282(inUV) Location 1
- Decorate 373(gl_TessLevelInner) Patch
- Decorate 373(gl_TessLevelInner) BuiltIn TessLevelInner
- Decorate 386(gl_TessLevelOuter) Patch
- Decorate 386(gl_TessLevelOuter) BuiltIn TessLevelOuter
- MemberDecorate 490(gl_PerVertex) 0 BuiltIn Position
- MemberDecorate 490(gl_PerVertex) 1 BuiltIn PointSize
- MemberDecorate 490(gl_PerVertex) 2 BuiltIn ClipDistance
- MemberDecorate 490(gl_PerVertex) 3 BuiltIn CullDistance
- Decorate 490(gl_PerVertex) Block
- Decorate 515(outNormal) Location 0
- Decorate 522(inNormal) Location 0
- Decorate 536(outUV) Location 1
+ Decorate 366(gl_TessLevelInner) Patch
+ Decorate 366(gl_TessLevelInner) BuiltIn TessLevelInner
+ Decorate 379(gl_TessLevelOuter) Patch
+ Decorate 379(gl_TessLevelOuter) BuiltIn TessLevelOuter
+ MemberDecorate 482(gl_PerVertex) 0 BuiltIn Position
+ MemberDecorate 482(gl_PerVertex) 1 BuiltIn PointSize
+ MemberDecorate 482(gl_PerVertex) 2 BuiltIn ClipDistance
+ MemberDecorate 482(gl_PerVertex) 3 BuiltIn CullDistance
+ Decorate 482(gl_PerVertex) Block
+ Decorate 507(outNormal) Location 0
+ Decorate 514(inNormal) Location 0
+ Decorate 528(outUV) Location 1
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@@ -282,250 +282,242 @@ spv.debuginfo.glsl.tesc
299: 7(int) Constant 89
300: TypePointer Function 123(int)
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20
- 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 319: 7(int) Constant 90
- 321: 123(int) Constant 3
- 323: TypePointer Uniform 19(fvec4)
- 327: 16(float) Constant 1090519040
- 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 334: 46(bool) ConstantFalse
- 337: 7(int) Constant 92
- 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 346: 7(int) Constant 95
- 352: 7(int) Constant 100
- 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 360: 7(int) Constant 102
- 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 369: 7(int) Constant 104
- 370: TypeArray 16(float) 36
- 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
- 372: TypePointer Output 370
-373(gl_TessLevelInner): 372(ptr) Variable Output
- 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 371 31 369 12 34 375 373(gl_TessLevelInner) 111
- 376: TypePointer Output 16(float)
- 379: 7(int) Constant 105
- 382: 7(int) Constant 106
- 383: TypeArray 16(float) 20
- 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
- 385: TypePointer Output 383
-386(gl_TessLevelOuter): 385(ptr) Variable Output
- 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 388 384 31 382 12 34 388 386(gl_TessLevelOuter) 111
- 391: 7(int) Constant 107
- 394: 7(int) Constant 108
- 395: 123(int) Constant 2
- 398: 7(int) Constant 109
- 403: 7(int) Constant 113
- 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
- 412: 7(int) Constant 115
- 422: 7(int) Constant 116
- 432: 7(int) Constant 117
- 442: 7(int) Constant 118
- 452: 7(int) Constant 119
- 460: 7(int) Constant 120
- 470: 7(int) Constant 126
- 473: 7(int) Constant 127
- 476: 7(int) Constant 128
- 479: 7(int) Constant 129
- 482: 7(int) Constant 130
- 485: 7(int) Constant 131
- 489: 7(int) Constant 137
-490(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
- 492: 7(int) Constant 110
- 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 492 12 12 13
- 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 476 12 12 13
- 495: 7(int) Constant 171
- 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13
- 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13
- 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 489 12 34 248 12 13 491 493 494 496
- 498: TypeArray 490(gl_PerVertex) 20
- 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 497 20
- 500: TypePointer Output 498
- 501(gl_out): 500(ptr) Variable Output
- 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 503 499 31 489 12 34 503 501(gl_out) 111
- 508: TypePointer Output 19(fvec4)
- 511: 7(int) Constant 138
- 512: TypeArray 143(fvec3) 20
- 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
- 514: TypePointer Output 512
- 515(outNormal): 514(ptr) Variable Output
- 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 517 513 31 511 12 34 517 515(outNormal) 111
- 519: TypeArray 143(fvec3) 10
- 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
- 521: TypePointer Input 519
- 522(inNormal): 521(ptr) Variable Input
- 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 524 520 31 511 12 34 524 522(inNormal) 111
- 526: TypePointer Input 143(fvec3)
- 529: TypePointer Output 143(fvec3)
- 532: 7(int) Constant 139
- 533: TypeArray 95(fvec2) 20
- 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
- 535: TypePointer Output 533
- 536(outUV): 535(ptr) Variable Output
- 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 538 534 31 532 12 34 538 536(outUV) 111
- 543: TypePointer Output 95(fvec2)
+ 318: 7(int) Constant 90
+ 320: 123(int) Constant 3
+ 322: TypePointer Uniform 19(fvec4)
+ 326: 16(float) Constant 1090519040
+ 331: 46(bool) ConstantFalse
+ 334: 7(int) Constant 92
+ 342: 7(int) Constant 95
+ 348: 7(int) Constant 100
+ 355: 7(int) Constant 102
+ 362: 7(int) Constant 104
+ 363: TypeArray 16(float) 36
+ 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
+ 365: TypePointer Output 363
+366(gl_TessLevelInner): 365(ptr) Variable Output
+ 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 368 364 31 362 12 34 368 366(gl_TessLevelInner) 111
+ 369: TypePointer Output 16(float)
+ 372: 7(int) Constant 105
+ 375: 7(int) Constant 106
+ 376: TypeArray 16(float) 20
+ 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
+ 378: TypePointer Output 376
+379(gl_TessLevelOuter): 378(ptr) Variable Output
+ 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 381 377 31 375 12 34 381 379(gl_TessLevelOuter) 111
+ 384: 7(int) Constant 107
+ 387: 7(int) Constant 108
+ 388: 123(int) Constant 2
+ 391: 7(int) Constant 109
+ 396: 7(int) Constant 113
+ 404: 7(int) Constant 115
+ 414: 7(int) Constant 116
+ 424: 7(int) Constant 117
+ 434: 7(int) Constant 118
+ 444: 7(int) Constant 119
+ 452: 7(int) Constant 120
+ 462: 7(int) Constant 126
+ 465: 7(int) Constant 127
+ 468: 7(int) Constant 128
+ 471: 7(int) Constant 129
+ 474: 7(int) Constant 130
+ 477: 7(int) Constant 131
+ 481: 7(int) Constant 137
+482(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
+ 484: 7(int) Constant 110
+ 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 484 12 12 13
+ 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 468 12 12 13
+ 487: 7(int) Constant 171
+ 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
+ 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
+ 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 481 12 34 248 12 13 483 485 486 488
+ 490: TypeArray 482(gl_PerVertex) 20
+ 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 489 20
+ 492: TypePointer Output 490
+ 493(gl_out): 492(ptr) Variable Output
+ 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 495 491 31 481 12 34 495 493(gl_out) 111
+ 500: TypePointer Output 19(fvec4)
+ 503: 7(int) Constant 138
+ 504: TypeArray 143(fvec3) 20
+ 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
+ 506: TypePointer Output 504
+ 507(outNormal): 506(ptr) Variable Output
+ 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 505 31 503 12 34 509 507(outNormal) 111
+ 511: TypeArray 143(fvec3) 10
+ 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
+ 513: TypePointer Input 511
+ 514(inNormal): 513(ptr) Variable Input
+ 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 31 503 12 34 516 514(inNormal) 111
+ 518: TypePointer Input 143(fvec3)
+ 521: TypePointer Output 143(fvec3)
+ 524: 7(int) Constant 139
+ 525: TypeArray 95(fvec2) 20
+ 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
+ 527: TypePointer Output 525
+ 528(outUV): 527(ptr) Variable Output
+ 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 530 526 31 524 12 34 530 528(outUV) 111
+ 535: TypePointer Output 95(fvec2)
Line 1 98 11
14(main): 4 Function None 5
15: Label
- 413(param): 22(ptr) Variable Function
- 416(param): 22(ptr) Variable Function
- 423(param): 22(ptr) Variable Function
- 426(param): 22(ptr) Variable Function
- 433(param): 22(ptr) Variable Function
- 436(param): 22(ptr) Variable Function
- 443(param): 22(ptr) Variable Function
- 446(param): 22(ptr) Variable Function
- 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
- 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 352 352 12 12
- 353: 123(int) Load 256(gl_InvocationID)
- 355: 46(bool) IEqual 353 138
- SelectionMerge 357 None
- BranchConditional 355 356 357
- 356: Label
- 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 360 360 12 12
- 361: 46(bool) FunctionCall 51(frustumCheck()
- 364: 46(bool) LogicalNot 361
- SelectionMerge 366 None
- BranchConditional 364 365 400
- 365: Label
- 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 369 369 12 12
- 377: 376(ptr) AccessChain 373(gl_TessLevelInner) 138
- Store 377 145
- 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 379 379 12 12
- 380: 376(ptr) AccessChain 373(gl_TessLevelInner) 126
- Store 380 145
- 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 382 382 12 12
- 389: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
+ 405(param): 22(ptr) Variable Function
+ 408(param): 22(ptr) Variable Function
+ 415(param): 22(ptr) Variable Function
+ 418(param): 22(ptr) Variable Function
+ 425(param): 22(ptr) Variable Function
+ 428(param): 22(ptr) Variable Function
+ 435(param): 22(ptr) Variable Function
+ 438(param): 22(ptr) Variable Function
+ 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
+ 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 348 348 12 12
+ 349: 123(int) Load 256(gl_InvocationID)
+ 350: 46(bool) IEqual 349 138
+ SelectionMerge 352 None
+ BranchConditional 350 351 352
+ 351: Label
+ 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 355 355 12 12
+ 356: 46(bool) FunctionCall 51(frustumCheck()
+ 357: 46(bool) LogicalNot 356
+ SelectionMerge 359 None
+ BranchConditional 357 358 393
+ 358: Label
+ 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 12 12
+ 370: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
+ Store 370 145
+ 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 372 372 12 12
+ 373: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
+ Store 373 145
+ 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 12 12
+ 382: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
+ Store 382 145
+ 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 384 384 12 12
+ 385: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
+ Store 385 145
+ 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 387 387 12 12
+ 389: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
Store 389 145
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12
- 392: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
+ 392: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
Store 392 145
- 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 394 394 12 12
- 396: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
- Store 396 145
- 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 398 398 12 12
- 399: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
- Store 399 145
- Branch 366
- 400: Label
- 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 403 403 12 12
- 404: 213(ptr) AccessChain 120(ubo) 217
- 405: 16(float) Load 404
- 407: 46(bool) FOrdGreaterThan 405 145
- SelectionMerge 409 None
- BranchConditional 407 408 467
- 408: Label
- 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 412 412 12 12
- 414: 260(ptr) AccessChain 252(gl_in) 321 138
- 415: 19(fvec4) Load 414
- Store 413(param) 415
- 417: 260(ptr) AccessChain 252(gl_in) 138 138
- 418: 19(fvec4) Load 417
- Store 416(param) 418
- 419: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 413(param) 416(param)
- 420: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
- Store 420 419
- 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 422 422 12 12
- 424: 260(ptr) AccessChain 252(gl_in) 138 138
- 425: 19(fvec4) Load 424
- Store 423(param) 425
- 427: 260(ptr) AccessChain 252(gl_in) 126 138
- 428: 19(fvec4) Load 427
- Store 426(param) 428
- 429: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 423(param) 426(param)
- 430: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
- Store 430 429
- 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 432 432 12 12
- 434: 260(ptr) AccessChain 252(gl_in) 126 138
- 435: 19(fvec4) Load 434
- Store 433(param) 435
- 437: 260(ptr) AccessChain 252(gl_in) 395 138
- 438: 19(fvec4) Load 437
- Store 436(param) 438
- 439: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 433(param) 436(param)
- 440: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
- Store 440 439
- 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 442 442 12 12
- 444: 260(ptr) AccessChain 252(gl_in) 395 138
- 445: 19(fvec4) Load 444
- Store 443(param) 445
- 447: 260(ptr) AccessChain 252(gl_in) 321 138
- 448: 19(fvec4) Load 447
- Store 446(param) 448
- 449: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 443(param) 446(param)
- 450: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
+ Branch 359
+ 393: Label
+ 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 396 396 12 12
+ 397: 213(ptr) AccessChain 120(ubo) 217
+ 398: 16(float) Load 397
+ 399: 46(bool) FOrdGreaterThan 398 145
+ SelectionMerge 401 None
+ BranchConditional 399 400 459
+ 400: Label
+ 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12
+ 406: 260(ptr) AccessChain 252(gl_in) 320 138
+ 407: 19(fvec4) Load 406
+ Store 405(param) 407
+ 409: 260(ptr) AccessChain 252(gl_in) 138 138
+ 410: 19(fvec4) Load 409
+ Store 408(param) 410
+ 411: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 405(param) 408(param)
+ 412: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
+ Store 412 411
+ 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 12 12
+ 416: 260(ptr) AccessChain 252(gl_in) 138 138
+ 417: 19(fvec4) Load 416
+ Store 415(param) 417
+ 419: 260(ptr) AccessChain 252(gl_in) 126 138
+ 420: 19(fvec4) Load 419
+ Store 418(param) 420
+ 421: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 415(param) 418(param)
+ 422: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
+ Store 422 421
+ 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 424 424 12 12
+ 426: 260(ptr) AccessChain 252(gl_in) 126 138
+ 427: 19(fvec4) Load 426
+ Store 425(param) 427
+ 429: 260(ptr) AccessChain 252(gl_in) 388 138
+ 430: 19(fvec4) Load 429
+ Store 428(param) 430
+ 431: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 425(param) 428(param)
+ 432: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
+ Store 432 431
+ 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 434 434 12 12
+ 436: 260(ptr) AccessChain 252(gl_in) 388 138
+ 437: 19(fvec4) Load 436
+ Store 435(param) 437
+ 439: 260(ptr) AccessChain 252(gl_in) 320 138
+ 440: 19(fvec4) Load 439
+ Store 438(param) 440
+ 441: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 435(param) 438(param)
+ 442: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
+ Store 442 441
+ 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 444 444 12 12
+ 445: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
+ 446: 16(float) Load 445
+ 447: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
+ 448: 16(float) Load 447
+ 449: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 446 448 67
+ 450: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
Store 450 449
451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12
- 453: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
+ 453: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
454: 16(float) Load 453
- 455: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
+ 455: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
456: 16(float) Load 455
457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67
- 458: 376(ptr) AccessChain 373(gl_TessLevelInner) 138
+ 458: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Store 458 457
- 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 460 460 12 12
- 461: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
- 462: 16(float) Load 461
- 463: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
- 464: 16(float) Load 463
- 465: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 462 464 67
- 466: 376(ptr) AccessChain 373(gl_TessLevelInner) 126
- Store 466 465
- Branch 409
- 467: Label
- 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 470 470 12 12
- 471: 376(ptr) AccessChain 373(gl_TessLevelInner) 138
- Store 471 221
- 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 473 473 12 12
- 474: 376(ptr) AccessChain 373(gl_TessLevelInner) 126
- Store 474 221
- 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 476 476 12 12
- 477: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
- Store 477 221
- 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 479 479 12 12
- 480: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
- Store 480 221
- 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 482 482 12 12
- 483: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
- Store 483 221
- 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 485 485 12 12
- 486: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
- Store 486 221
- Branch 409
- 409: Label
- Branch 366
- 366: Label
- Branch 357
- 357: Label
- 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
- 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 489 489 12 12
- 504: 123(int) Load 256(gl_InvocationID)
- 505: 123(int) Load 256(gl_InvocationID)
- 506: 260(ptr) AccessChain 252(gl_in) 505 138
- 507: 19(fvec4) Load 506
- 509: 508(ptr) AccessChain 501(gl_out) 504 138
- Store 509 507
- 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 511 511 12 12
- 518: 123(int) Load 256(gl_InvocationID)
- 525: 123(int) Load 256(gl_InvocationID)
- 527: 526(ptr) AccessChain 522(inNormal) 525
- 528: 143(fvec3) Load 527
- 530: 529(ptr) AccessChain 515(outNormal) 518
- Store 530 528
- 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 532 532 12 12
- 539: 123(int) Load 256(gl_InvocationID)
- 540: 123(int) Load 256(gl_InvocationID)
- 541: 285(ptr) AccessChain 282(inUV) 540
- 542: 95(fvec2) Load 541
- 544: 543(ptr) AccessChain 536(outUV) 539
- Store 544 542
+ Branch 401
+ 459: Label
+ 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 462 462 12 12
+ 463: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
+ Store 463 221
+ 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 465 465 12 12
+ 466: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
+ Store 466 221
+ 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 468 468 12 12
+ 469: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
+ Store 469 221
+ 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12
+ 472: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
+ Store 472 221
+ 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 474 474 12 12
+ 475: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
+ Store 475 221
+ 476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 477 477 12 12
+ 478: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
+ Store 478 221
+ Branch 401
+ 401: Label
+ Branch 359
+ 359: Label
+ Branch 352
+ 352: Label
+ 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
+ 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12
+ 496: 123(int) Load 256(gl_InvocationID)
+ 497: 123(int) Load 256(gl_InvocationID)
+ 498: 260(ptr) AccessChain 252(gl_in) 497 138
+ 499: 19(fvec4) Load 498
+ 501: 500(ptr) AccessChain 493(gl_out) 496 138
+ Store 501 499
+ 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 503 503 12 12
+ 510: 123(int) Load 256(gl_InvocationID)
+ 517: 123(int) Load 256(gl_InvocationID)
+ 519: 518(ptr) AccessChain 514(inNormal) 517
+ 520: 143(fvec3) Load 519
+ 522: 521(ptr) AccessChain 507(outNormal) 510
+ Store 522 520
+ 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 524 524 12 12
+ 531: 123(int) Load 256(gl_InvocationID)
+ 532: 123(int) Load 256(gl_InvocationID)
+ 533: 285(ptr) AccessChain 282(inUV) 532
+ 534: 95(fvec2) Load 533
+ 536: 535(ptr) AccessChain 528(outUV) 531
+ Store 536 534
Return
FunctionEnd
Line 1 51 45
@@ -682,35 +674,35 @@ spv.debuginfo.glsl.tesc
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
314: 123(int) Load 301(i)
- 316: 46(bool) SLessThan 314 185
- BranchConditional 316 306 307
+ 315: 46(bool) SLessThan 314 185
+ BranchConditional 315 306 307
306: Label
- 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
- 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 319 319 12 12
- 320: 19(fvec4) Load 230(pos)
- 322: 123(int) Load 301(i)
- 324: 323(ptr) AccessChain 120(ubo) 321 322
- 325: 19(fvec4) Load 324
- 326: 16(float) Dot 320 325
- 328: 16(float) FAdd 326 327
- 330: 46(bool) FOrdLessThan 328 145
- SelectionMerge 332 None
- BranchConditional 330 331 332
- 331: Label
- 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
- 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 337 337 12 12
- ReturnValue 334
- 332: Label
+ 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
+ 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 318 318 12 12
+ 319: 19(fvec4) Load 230(pos)
+ 321: 123(int) Load 301(i)
+ 323: 322(ptr) AccessChain 120(ubo) 320 321
+ 324: 19(fvec4) Load 323
+ 325: 16(float) Dot 319 324
+ 327: 16(float) FAdd 325 326
+ 328: 46(bool) FOrdLessThan 327 145
+ SelectionMerge 330 None
+ BranchConditional 328 329 330
+ 329: Label
+ 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
+ 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 334 334 12 12
+ ReturnValue 331
+ 330: Label
Branch 308
308: Label
- 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
- 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
- 341: 123(int) Load 301(i)
- 342: 123(int) IAdd 341 126
- Store 301(i) 342
+ 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
+ 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
+ 338: 123(int) Load 301(i)
+ 339: 123(int) IAdd 338 126
+ Store 301(i) 339
Branch 305
307: Label
- 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
- 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 346 346 12 12
+ 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
+ 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 342 342 12 12
ReturnValue 92
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tese.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tese.out
index 5f494598a0..1eec2ff659 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tese.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.tese.out
@@ -1,14 +1,14 @@
spv.debuginfo.glsl.tese
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 333
+// Id's are bound by 335
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 281 295 303 315 322
+ EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 283 297 305 317 324
ExecutionMode 14 Quads
ExecutionMode 14 SpacingEqual
ExecutionMode 14 VertexOrderCw
@@ -47,17 +47,18 @@ spv.debuginfo.glsl.tese
217: String "type.sampled.image"
218: String "@type.sampled.image"
222: String "displacementMap"
- 236: String "modelview"
- 241: String "lightPos"
- 244: String "frustumPlanes"
- 246: String "tessellatedEdgeSize"
- 250: String "viewportDim"
- 254: String "UBO"
- 258: String "ubo"
- 297: String "outViewVec"
- 305: String "outLightVec"
- 317: String "outWorldPos"
- 324: String "outEyePos"
+ 231: String "bool"
+ 238: String "modelview"
+ 243: String "lightPos"
+ 246: String "frustumPlanes"
+ 248: String "tessellatedEdgeSize"
+ 252: String "viewportDim"
+ 256: String "UBO"
+ 260: String "ubo"
+ 299: String "outViewVec"
+ 307: String "outLightVec"
+ 319: String "outWorldPos"
+ 326: String "outEyePos"
Name 14 "main"
Name 35 "uv1"
Name 43 "inUV"
@@ -78,26 +79,26 @@ spv.debuginfo.glsl.tese
Name 184 "pos2"
Name 198 "pos"
Name 220 "displacementMap"
- Name 234 "UBO"
- MemberName 234(UBO) 0 "projection"
- MemberName 234(UBO) 1 "modelview"
- MemberName 234(UBO) 2 "lightPos"
- MemberName 234(UBO) 3 "frustumPlanes"
- MemberName 234(UBO) 4 "displacementFactor"
- MemberName 234(UBO) 5 "tessellationFactor"
- MemberName 234(UBO) 6 "viewportDim"
- MemberName 234(UBO) 7 "tessellatedEdgeSize"
- Name 256 "ubo"
- Name 271 "gl_PerVertex"
- MemberName 271(gl_PerVertex) 0 "gl_Position"
- MemberName 271(gl_PerVertex) 1 "gl_PointSize"
- MemberName 271(gl_PerVertex) 2 "gl_ClipDistance"
- MemberName 271(gl_PerVertex) 3 "gl_CullDistance"
- Name 281 ""
- Name 295 "outViewVec"
- Name 303 "outLightVec"
- Name 315 "outWorldPos"
- Name 322 "outEyePos"
+ Name 236 "UBO"
+ MemberName 236(UBO) 0 "projection"
+ MemberName 236(UBO) 1 "modelview"
+ MemberName 236(UBO) 2 "lightPos"
+ MemberName 236(UBO) 3 "frustumPlanes"
+ MemberName 236(UBO) 4 "displacementFactor"
+ MemberName 236(UBO) 5 "tessellationFactor"
+ MemberName 236(UBO) 6 "viewportDim"
+ MemberName 236(UBO) 7 "tessellatedEdgeSize"
+ Name 258 "ubo"
+ Name 273 "gl_PerVertex"
+ MemberName 273(gl_PerVertex) 0 "gl_Position"
+ MemberName 273(gl_PerVertex) 1 "gl_PointSize"
+ MemberName 273(gl_PerVertex) 2 "gl_ClipDistance"
+ MemberName 273(gl_PerVertex) 3 "gl_CullDistance"
+ Name 283 ""
+ Name 297 "outViewVec"
+ Name 305 "outLightVec"
+ Name 317 "outWorldPos"
+ Name 324 "outEyePos"
Decorate 43(inUV) Location 1
Decorate 60(gl_TessCoord) BuiltIn TessCoord
Decorate 87(outUV) Location 1
@@ -110,31 +111,31 @@ spv.debuginfo.glsl.tese
Decorate 154(gl_PerVertex) Block
Decorate 220(displacementMap) DescriptorSet 0
Decorate 220(displacementMap) Binding 1
- Decorate 232 ArrayStride 16
- MemberDecorate 234(UBO) 0 ColMajor
- MemberDecorate 234(UBO) 0 Offset 0
- MemberDecorate 234(UBO) 0 MatrixStride 16
- MemberDecorate 234(UBO) 1 ColMajor
- MemberDecorate 234(UBO) 1 Offset 64
- MemberDecorate 234(UBO) 1 MatrixStride 16
- MemberDecorate 234(UBO) 2 Offset 128
- MemberDecorate 234(UBO) 3 Offset 144
- MemberDecorate 234(UBO) 4 Offset 240
- MemberDecorate 234(UBO) 5 Offset 244
- MemberDecorate 234(UBO) 6 Offset 248
- MemberDecorate 234(UBO) 7 Offset 256
- Decorate 234(UBO) Block
- Decorate 256(ubo) DescriptorSet 0
- Decorate 256(ubo) Binding 0
- MemberDecorate 271(gl_PerVertex) 0 BuiltIn Position
- MemberDecorate 271(gl_PerVertex) 1 BuiltIn PointSize
- MemberDecorate 271(gl_PerVertex) 2 BuiltIn ClipDistance
- MemberDecorate 271(gl_PerVertex) 3 BuiltIn CullDistance
- Decorate 271(gl_PerVertex) Block
- Decorate 295(outViewVec) Location 2
- Decorate 303(outLightVec) Location 3
- Decorate 315(outWorldPos) Location 5
- Decorate 322(outEyePos) Location 4
+ Decorate 234 ArrayStride 16
+ MemberDecorate 236(UBO) 0 ColMajor
+ MemberDecorate 236(UBO) 0 Offset 0
+ MemberDecorate 236(UBO) 0 MatrixStride 16
+ MemberDecorate 236(UBO) 1 ColMajor
+ MemberDecorate 236(UBO) 1 Offset 64
+ MemberDecorate 236(UBO) 1 MatrixStride 16
+ MemberDecorate 236(UBO) 2 Offset 128
+ MemberDecorate 236(UBO) 3 Offset 144
+ MemberDecorate 236(UBO) 4 Offset 240
+ MemberDecorate 236(UBO) 5 Offset 244
+ MemberDecorate 236(UBO) 6 Offset 248
+ MemberDecorate 236(UBO) 7 Offset 256
+ Decorate 236(UBO) Block
+ Decorate 258(ubo) DescriptorSet 0
+ Decorate 258(ubo) Binding 0
+ MemberDecorate 273(gl_PerVertex) 0 BuiltIn Position
+ MemberDecorate 273(gl_PerVertex) 1 BuiltIn PointSize
+ MemberDecorate 273(gl_PerVertex) 2 BuiltIn ClipDistance
+ MemberDecorate 273(gl_PerVertex) 3 BuiltIn CullDistance
+ Decorate 273(gl_PerVertex) Block
+ Decorate 297(outViewVec) Location 2
+ Decorate 305(outLightVec) Location 3
+ Decorate 317(outWorldPos) Location 5
+ Decorate 324(outEyePos) Location 4
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@@ -236,59 +237,60 @@ spv.debuginfo.glsl.tese
225: 29(float) Constant 0
228: TypeMatrix 145(fvec4) 4
230: TypeBool
- 231: 230(bool) ConstantTrue
- 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 231
- 232: TypeArray 145(fvec4) 11
- 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11
- 234(UBO): TypeStruct 228 228 145(fvec4) 232 29(float) 29(float) 32(fvec2) 29(float)
- 237: 7(int) Constant 30
- 238: 7(int) Constant 7
- 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13
- 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13
- 242: 7(int) Constant 31
- 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 146 18 242 238 12 12 13
- 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 233 18 10 238 12 12 13
- 247: 7(int) Constant 36
- 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
- 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
- 251: 7(int) Constant 35
- 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 33 18 251 238 12 12 13
- 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
- 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 22 18 209 12 21 254 12 13 235 239 240 243 245 248 249 252
- 255: TypePointer Uniform 234(UBO)
- 256(ubo): 255(ptr) Variable Uniform
- 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 253 18 209 12 21 258 256(ubo) 46
- 259: 47(int) Constant 4
- 260: TypePointer Uniform 29(float)
- 264: TypePointer Function 29(float)
- 270: 7(int) Constant 71
-271(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
- 273: 7(int) Constant 165
- 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 273 12 12 13
- 275: 7(int) Constant 183
- 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 275 12 12 13
- 277: 7(int) Constant 226
- 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13
- 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13
- 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 270 12 21 166 12 13 272 274 276 278
- 280: TypePointer Output 271(gl_PerVertex)
- 281: 280(ptr) Variable Output
- 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 279 18 270 12 21 1 281 46
- 283: TypePointer Uniform 228
- 291: TypePointer Output 145(fvec4)
- 294: 7(int) Constant 74
- 295(outViewVec): 133(ptr) Variable Output
- 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 58 18 294 12 21 297 295(outViewVec) 46
- 302: 7(int) Constant 75
-303(outLightVec): 133(ptr) Variable Output
- 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 305 58 18 302 12 21 305 303(outLightVec) 46
- 306: TypePointer Uniform 145(fvec4)
- 314: 7(int) Constant 76
-315(outWorldPos): 133(ptr) Variable Output
- 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 58 18 314 12 21 317 315(outWorldPos) 46
- 321: 7(int) Constant 77
- 322(outEyePos): 133(ptr) Variable Output
- 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 324 58 18 321 12 21 324 322(outEyePos) 46
+ 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 231 10 24 12
+ 233: 230(bool) ConstantTrue
+ 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 233
+ 234: TypeArray 145(fvec4) 11
+ 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11
+ 236(UBO): TypeStruct 228 228 145(fvec4) 234 29(float) 29(float) 32(fvec2) 29(float)
+ 239: 7(int) Constant 30
+ 240: 7(int) Constant 7
+ 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13
+ 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13
+ 244: 7(int) Constant 31
+ 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 146 18 244 240 12 12 13
+ 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 235 18 10 240 12 12 13
+ 249: 7(int) Constant 36
+ 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
+ 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
+ 253: 7(int) Constant 35
+ 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 33 18 253 240 12 12 13
+ 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
+ 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 256 22 18 209 12 21 256 12 13 237 241 242 245 247 250 251 254
+ 257: TypePointer Uniform 236(UBO)
+ 258(ubo): 257(ptr) Variable Uniform
+ 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 260 255 18 209 12 21 260 258(ubo) 46
+ 261: 47(int) Constant 4
+ 262: TypePointer Uniform 29(float)
+ 266: TypePointer Function 29(float)
+ 272: 7(int) Constant 71
+273(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
+ 275: 7(int) Constant 165
+ 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 275 12 12 13
+ 277: 7(int) Constant 183
+ 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 277 12 12 13
+ 279: 7(int) Constant 226
+ 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13
+ 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13
+ 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 272 12 21 166 12 13 274 276 278 280
+ 282: TypePointer Output 273(gl_PerVertex)
+ 283: 282(ptr) Variable Output
+ 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 281 18 272 12 21 1 283 46
+ 285: TypePointer Uniform 228
+ 293: TypePointer Output 145(fvec4)
+ 296: 7(int) Constant 74
+ 297(outViewVec): 133(ptr) Variable Output
+ 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 58 18 296 12 21 299 297(outViewVec) 46
+ 304: 7(int) Constant 75
+305(outLightVec): 133(ptr) Variable Output
+ 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 307 58 18 304 12 21 307 305(outLightVec) 46
+ 308: TypePointer Uniform 145(fvec4)
+ 316: 7(int) Constant 76
+317(outWorldPos): 133(ptr) Variable Output
+ 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 319 58 18 316 12 21 319 317(outWorldPos) 46
+ 323: 7(int) Constant 77
+ 324(outEyePos): 133(ptr) Variable Output
+ 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 58 18 323 12 21 326 324(outEyePos) 46
Line 1 53 11
14(main): 4 Function None 5
15: Label
@@ -397,50 +399,50 @@ spv.debuginfo.glsl.tese
224: 32(fvec2) Load 87(outUV)
226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225
227: 29(float) CompositeExtract 226 0
- 261: 260(ptr) AccessChain 256(ubo) 259
- 262: 29(float) Load 261
- 263: 29(float) FMul 227 262
- 265: 264(ptr) AccessChain 198(pos) 22
- 266: 29(float) Load 265
- 267: 29(float) FSub 266 263
- 268: 264(ptr) AccessChain 198(pos) 22
- Store 268 267
- 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12
- 284: 283(ptr) AccessChain 256(ubo) 50
- 285: 228 Load 284
- 286: 283(ptr) AccessChain 256(ubo) 54
+ 263: 262(ptr) AccessChain 258(ubo) 261
+ 264: 29(float) Load 263
+ 265: 29(float) FMul 227 264
+ 267: 266(ptr) AccessChain 198(pos) 22
+ 268: 29(float) Load 267
+ 269: 29(float) FSub 268 265
+ 270: 266(ptr) AccessChain 198(pos) 22
+ Store 270 269
+ 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
+ 286: 285(ptr) AccessChain 258(ubo) 50
287: 228 Load 286
- 288: 228 MatrixTimesMatrix 285 287
- 289: 145(fvec4) Load 198(pos)
- 290: 145(fvec4) MatrixTimesVector 288 289
- 292: 291(ptr) AccessChain 281 50
- Store 292 290
- 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 294 294 12 12
- 298: 145(fvec4) Load 198(pos)
- 299: 57(fvec3) VectorShuffle 298 298 0 1 2
- 300: 57(fvec3) FNegate 299
- Store 295(outViewVec) 300
- 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 302 302 12 12
- 307: 306(ptr) AccessChain 256(ubo) 77
- 308: 145(fvec4) Load 307
- 309: 57(fvec3) VectorShuffle 308 308 0 1 2
- 310: 57(fvec3) Load 295(outViewVec)
- 311: 57(fvec3) FAdd 309 310
- 312: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 311
- Store 303(outLightVec) 312
- 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 314 314 12 12
- 318: 145(fvec4) Load 198(pos)
- 319: 57(fvec3) VectorShuffle 318 318 0 1 2
- Store 315(outWorldPos) 319
- 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 321 321 12 12
- 325: 283(ptr) AccessChain 256(ubo) 54
- 326: 228 Load 325
- 327: 145(fvec4) Load 198(pos)
- 328: 145(fvec4) MatrixTimesVector 326 327
- 329: 29(float) CompositeExtract 328 0
- 330: 29(float) CompositeExtract 328 1
- 331: 29(float) CompositeExtract 328 2
- 332: 57(fvec3) CompositeConstruct 329 330 331
- Store 322(outEyePos) 332
+ 288: 285(ptr) AccessChain 258(ubo) 54
+ 289: 228 Load 288
+ 290: 228 MatrixTimesMatrix 287 289
+ 291: 145(fvec4) Load 198(pos)
+ 292: 145(fvec4) MatrixTimesVector 290 291
+ 294: 293(ptr) AccessChain 283 50
+ Store 294 292
+ 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 296 296 12 12
+ 300: 145(fvec4) Load 198(pos)
+ 301: 57(fvec3) VectorShuffle 300 300 0 1 2
+ 302: 57(fvec3) FNegate 301
+ Store 297(outViewVec) 302
+ 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12
+ 309: 308(ptr) AccessChain 258(ubo) 77
+ 310: 145(fvec4) Load 309
+ 311: 57(fvec3) VectorShuffle 310 310 0 1 2
+ 312: 57(fvec3) Load 297(outViewVec)
+ 313: 57(fvec3) FAdd 311 312
+ 314: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 313
+ Store 305(outLightVec) 314
+ 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 316 316 12 12
+ 320: 145(fvec4) Load 198(pos)
+ 321: 57(fvec3) VectorShuffle 320 320 0 1 2
+ Store 317(outWorldPos) 321
+ 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
+ 327: 285(ptr) AccessChain 258(ubo) 54
+ 328: 228 Load 327
+ 329: 145(fvec4) Load 198(pos)
+ 330: 145(fvec4) MatrixTimesVector 328 329
+ 331: 29(float) CompositeExtract 330 0
+ 332: 29(float) CompositeExtract 330 1
+ 333: 29(float) CompositeExtract 330 2
+ 334: 57(fvec3) CompositeConstruct 331 332 333
+ Store 324(outEyePos) 334
Return
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.vert.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.vert.out
index 932ecc8f26..16858f3f7b 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.vert.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.glsl.vert.out
@@ -1,14 +1,14 @@
spv.debuginfo.glsl.vert
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 425
+// Id's are bound by 427
Capability Shader
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint Vertex 14 "main" 35 40 46 52 60 76 290 308 313 338 354 371 410 419
+ EntryPoint Vertex 14 "main" 35 40 46 52 60 76 292 310 315 340 356 373 412 421
1: String ""
8: String "uint"
16: String "main"
@@ -29,31 +29,32 @@ spv.debuginfo.glsl.vert
62: String "instanceTexIndex"
73: String "s"
78: String "instanceRot"
- 90: String "modelview"
- 95: String "lightPos"
- 98: String "globSpeed"
- 102: String "UBO"
- 106: String "ubo"
- 117: String "c"
- 132: String "mx"
- 175: String "my"
- 212: String "mz"
- 233: String "rotMat"
- 262: String "gRotMat"
- 288: String "locPos"
- 292: String "inPos"
- 304: String "pos"
- 310: String "instanceScale"
- 315: String "instancePos"
- 328: String "gl_Position"
- 331: String "gl_PointSize"
- 333: String "gl_CullDistance"
- 336: String "gl_PerVertex"
- 356: String "outNormal"
- 373: String "inNormal"
- 392: String "lPos"
- 412: String "outLightVec"
- 421: String "outViewVec"
+ 87: String "bool"
+ 92: String "modelview"
+ 97: String "lightPos"
+ 100: String "globSpeed"
+ 104: String "UBO"
+ 108: String "ubo"
+ 119: String "c"
+ 134: String "mx"
+ 177: String "my"
+ 214: String "mz"
+ 235: String "rotMat"
+ 264: String "gRotMat"
+ 290: String "locPos"
+ 294: String "inPos"
+ 306: String "pos"
+ 312: String "instanceScale"
+ 317: String "instancePos"
+ 330: String "gl_Position"
+ 333: String "gl_PointSize"
+ 335: String "gl_CullDistance"
+ 338: String "gl_PerVertex"
+ 358: String "outNormal"
+ 375: String "inNormal"
+ 394: String "lPos"
+ 414: String "outLightVec"
+ 423: String "outViewVec"
Name 14 "main"
Name 35 "outColor"
Name 40 "inColor"
@@ -62,65 +63,65 @@ spv.debuginfo.glsl.vert
Name 60 "instanceTexIndex"
Name 71 "s"
Name 76 "instanceRot"
- Name 88 "UBO"
- MemberName 88(UBO) 0 "projection"
- MemberName 88(UBO) 1 "modelview"
- MemberName 88(UBO) 2 "lightPos"
- MemberName 88(UBO) 3 "locSpeed"
- MemberName 88(UBO) 4 "globSpeed"
- Name 104 "ubo"
- Name 115 "c"
- Name 130 "mx"
- Name 173 "my"
- Name 210 "mz"
- Name 231 "rotMat"
- Name 260 "gRotMat"
- Name 286 "locPos"
- Name 290 "inPos"
- Name 302 "pos"
- Name 308 "instanceScale"
- Name 313 "instancePos"
- Name 326 "gl_PerVertex"
- MemberName 326(gl_PerVertex) 0 "gl_Position"
- MemberName 326(gl_PerVertex) 1 "gl_PointSize"
- MemberName 326(gl_PerVertex) 2 "gl_ClipDistance"
- MemberName 326(gl_PerVertex) 3 "gl_CullDistance"
- Name 338 ""
- Name 354 "outNormal"
- Name 371 "inNormal"
- Name 390 "lPos"
- Name 410 "outLightVec"
- Name 419 "outViewVec"
+ Name 90 "UBO"
+ MemberName 90(UBO) 0 "projection"
+ MemberName 90(UBO) 1 "modelview"
+ MemberName 90(UBO) 2 "lightPos"
+ MemberName 90(UBO) 3 "locSpeed"
+ MemberName 90(UBO) 4 "globSpeed"
+ Name 106 "ubo"
+ Name 117 "c"
+ Name 132 "mx"
+ Name 175 "my"
+ Name 212 "mz"
+ Name 233 "rotMat"
+ Name 262 "gRotMat"
+ Name 288 "locPos"
+ Name 292 "inPos"
+ Name 304 "pos"
+ Name 310 "instanceScale"
+ Name 315 "instancePos"
+ Name 328 "gl_PerVertex"
+ MemberName 328(gl_PerVertex) 0 "gl_Position"
+ MemberName 328(gl_PerVertex) 1 "gl_PointSize"
+ MemberName 328(gl_PerVertex) 2 "gl_ClipDistance"
+ MemberName 328(gl_PerVertex) 3 "gl_CullDistance"
+ Name 340 ""
+ Name 356 "outNormal"
+ Name 373 "inNormal"
+ Name 392 "lPos"
+ Name 412 "outLightVec"
+ Name 421 "outViewVec"
Decorate 35(outColor) Location 1
Decorate 40(inColor) Location 3
Decorate 46(outUV) Location 2
Decorate 52(inUV) Location 2
Decorate 60(instanceTexIndex) Location 7
Decorate 76(instanceRot) Location 5
- MemberDecorate 88(UBO) 0 ColMajor
- MemberDecorate 88(UBO) 0 Offset 0
- MemberDecorate 88(UBO) 0 MatrixStride 16
- MemberDecorate 88(UBO) 1 ColMajor
- MemberDecorate 88(UBO) 1 Offset 64
- MemberDecorate 88(UBO) 1 MatrixStride 16
- MemberDecorate 88(UBO) 2 Offset 128
- MemberDecorate 88(UBO) 3 Offset 144
- MemberDecorate 88(UBO) 4 Offset 148
- Decorate 88(UBO) Block
- Decorate 104(ubo) DescriptorSet 0
- Decorate 104(ubo) Binding 0
- Decorate 290(inPos) Location 0
- Decorate 308(instanceScale) Location 6
- Decorate 313(instancePos) Location 4
- MemberDecorate 326(gl_PerVertex) 0 BuiltIn Position
- MemberDecorate 326(gl_PerVertex) 1 BuiltIn PointSize
- MemberDecorate 326(gl_PerVertex) 2 BuiltIn ClipDistance
- MemberDecorate 326(gl_PerVertex) 3 BuiltIn CullDistance
- Decorate 326(gl_PerVertex) Block
- Decorate 354(outNormal) Location 0
- Decorate 371(inNormal) Location 1
- Decorate 410(outLightVec) Location 4
- Decorate 419(outViewVec) Location 3
+ MemberDecorate 90(UBO) 0 ColMajor
+ MemberDecorate 90(UBO) 0 Offset 0
+ MemberDecorate 90(UBO) 0 MatrixStride 16
+ MemberDecorate 90(UBO) 1 ColMajor
+ MemberDecorate 90(UBO) 1 Offset 64
+ MemberDecorate 90(UBO) 1 MatrixStride 16
+ MemberDecorate 90(UBO) 2 Offset 128
+ MemberDecorate 90(UBO) 3 Offset 144
+ MemberDecorate 90(UBO) 4 Offset 148
+ Decorate 90(UBO) Block
+ Decorate 106(ubo) DescriptorSet 0
+ Decorate 106(ubo) Binding 0
+ Decorate 292(inPos) Location 0
+ Decorate 310(instanceScale) Location 6
+ Decorate 315(instancePos) Location 4
+ MemberDecorate 328(gl_PerVertex) 0 BuiltIn Position
+ MemberDecorate 328(gl_PerVertex) 1 BuiltIn PointSize
+ MemberDecorate 328(gl_PerVertex) 2 BuiltIn ClipDistance
+ MemberDecorate 328(gl_PerVertex) 3 BuiltIn CullDistance
+ Decorate 328(gl_PerVertex) Block
+ Decorate 356(outNormal) Location 0
+ Decorate 373(inNormal) Location 1
+ Decorate 412(outLightVec) Location 4
+ Decorate 421(outViewVec) Location 3
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@@ -173,121 +174,122 @@ spv.debuginfo.glsl.vert
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
84: TypeMatrix 82(fvec4) 4
86: TypeBool
- 87: 86(bool) ConstantTrue
- 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 87
- 88(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
- 91: 7(int) Constant 42
- 92: 7(int) Constant 7
- 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13
- 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13
- 96: 7(int) Constant 43
- 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 83 18 96 92 12 12 13
- 99: 7(int) Constant 45
- 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13
- 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13
- 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 102 22 18 69 12 21 102 12 13 89 93 94 97 100
- 103: TypePointer Uniform 88(UBO)
- 104(ubo): 103(ptr) Variable Uniform
- 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 106 101 18 69 12 21 106 104(ubo) 38
- 107: 56(int) Constant 3
- 108: TypePointer Uniform 29(float)
- 114: 7(int) Constant 63
- 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 31 18 114 12 17 23
- 126: 7(int) Constant 65
- 127: TypeMatrix 32(fvec3) 3
- 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 87
- 129: TypePointer Function 127
- 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 132 128 18 126 12 17 23
- 134: 56(int) Constant 0
- 137: 29(float) Constant 0
- 139: TypePointer Function 32(fvec3)
- 142: 7(int) Constant 66
- 143: 56(int) Constant 1
- 150: 7(int) Constant 67
- 151: 56(int) Constant 2
- 152: 29(float) Constant 1065353216
- 153: 32(fvec3) ConstantComposite 137 137 152
- 156: 7(int) Constant 70
- 164: 7(int) Constant 71
- 172: 7(int) Constant 73
- 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 175 128 18 172 12 17 23
- 182: 7(int) Constant 74
- 183: 32(fvec3) ConstantComposite 137 152 137
- 186: 7(int) Constant 75
- 193: 7(int) Constant 78
- 201: 7(int) Constant 79
- 209: 7(int) Constant 81
- 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 128 18 209 12 17 23
- 214: 32(fvec3) ConstantComposite 152 137 137
- 217: 7(int) Constant 82
- 223: 7(int) Constant 83
- 230: 7(int) Constant 85
- 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 128 18 230 12 17 23
- 241: 7(int) Constant 88
- 244: 56(int) Constant 4
- 250: 7(int) Constant 89
- 258: 7(int) Constant 90
- 259: TypePointer Function 84
- 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 262 85 18 258 12 17 23
- 267: TypePointer Function 82(fvec4)
- 270: 7(int) Constant 91
- 271: 82(fvec4) ConstantComposite 137 152 137 137
- 274: 7(int) Constant 92
- 281: 7(int) Constant 93
- 282: 82(fvec4) ConstantComposite 137 137 137 152
- 285: 7(int) Constant 95
- 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 83 18 285 12 17 23
- 290(inPos): 39(ptr) Variable Input
- 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 33 18 285 12 21 292 290(inPos) 38
- 301: 7(int) Constant 96
- 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 304 83 18 301 12 17 23
-308(instanceScale): 79(ptr) Variable Input
- 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 310 31 18 301 12 21 310 308(instanceScale) 38
-313(instancePos): 39(ptr) Variable Input
- 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 315 33 18 301 12 21 315 313(instancePos) 38
- 323: 7(int) Constant 98
- 324: TypeArray 29(float) 22
- 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
-326(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 324 324
- 329: 7(int) Constant 24
- 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 328 83 18 22 329 12 12 13
- 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 331 31 18 22 91 12 12 13
- 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13
- 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13
- 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 336 22 18 323 12 21 336 12 13 327 330 332 334
- 337: TypePointer Output 326(gl_PerVertex)
- 338: 337(ptr) Variable Output
- 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 335 18 323 12 21 1 338 38
- 340: TypePointer Uniform 84
- 350: TypePointer Output 82(fvec4)
- 353: 7(int) Constant 99
- 354(outNormal): 34(ptr) Variable Output
- 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 356 33 18 353 12 21 356 354(outNormal) 38
- 371(inNormal): 39(ptr) Variable Input
- 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 373 33 18 353 12 21 373 371(inNormal) 38
- 377: 7(int) Constant 101
- 389: 7(int) Constant 102
- 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 392 33 18 389 12 17 23
- 403: TypePointer Uniform 82(fvec4)
- 409: 7(int) Constant 103
-410(outLightVec): 34(ptr) Variable Output
- 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 412 33 18 409 12 21 412 410(outLightVec) 38
- 418: 7(int) Constant 104
- 419(outViewVec): 34(ptr) Variable Output
- 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 33 18 418 12 21 421 419(outViewVec) 38
+ 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12
+ 89: 86(bool) ConstantTrue
+ 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89
+ 90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
+ 93: 7(int) Constant 42
+ 94: 7(int) Constant 7
+ 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
+ 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
+ 98: 7(int) Constant 43
+ 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13
+ 101: 7(int) Constant 45
+ 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
+ 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
+ 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102
+ 105: TypePointer Uniform 90(UBO)
+ 106(ubo): 105(ptr) Variable Uniform
+ 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38
+ 109: 56(int) Constant 3
+ 110: TypePointer Uniform 29(float)
+ 116: 7(int) Constant 63
+ 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23
+ 128: 7(int) Constant 65
+ 129: TypeMatrix 32(fvec3) 3
+ 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89
+ 131: TypePointer Function 129
+ 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 134 130 18 128 12 17 23
+ 136: 56(int) Constant 0
+ 139: 29(float) Constant 0
+ 141: TypePointer Function 32(fvec3)
+ 144: 7(int) Constant 66
+ 145: 56(int) Constant 1
+ 152: 7(int) Constant 67
+ 153: 56(int) Constant 2
+ 154: 29(float) Constant 1065353216
+ 155: 32(fvec3) ConstantComposite 139 139 154
+ 158: 7(int) Constant 70
+ 166: 7(int) Constant 71
+ 174: 7(int) Constant 73
+ 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 130 18 174 12 17 23
+ 184: 7(int) Constant 74
+ 185: 32(fvec3) ConstantComposite 139 154 139
+ 188: 7(int) Constant 75
+ 195: 7(int) Constant 78
+ 203: 7(int) Constant 79
+ 211: 7(int) Constant 81
+ 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 130 18 211 12 17 23
+ 216: 32(fvec3) ConstantComposite 154 139 139
+ 219: 7(int) Constant 82
+ 225: 7(int) Constant 83
+ 232: 7(int) Constant 85
+ 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 130 18 232 12 17 23
+ 243: 7(int) Constant 88
+ 246: 56(int) Constant 4
+ 252: 7(int) Constant 89
+ 260: 7(int) Constant 90
+ 261: TypePointer Function 84
+ 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 264 85 18 260 12 17 23
+ 269: TypePointer Function 82(fvec4)
+ 272: 7(int) Constant 91
+ 273: 82(fvec4) ConstantComposite 139 154 139 139
+ 276: 7(int) Constant 92
+ 283: 7(int) Constant 93
+ 284: 82(fvec4) ConstantComposite 139 139 139 154
+ 287: 7(int) Constant 95
+ 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 290 83 18 287 12 17 23
+ 292(inPos): 39(ptr) Variable Input
+ 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 294 33 18 287 12 21 294 292(inPos) 38
+ 303: 7(int) Constant 96
+ 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 83 18 303 12 17 23
+310(instanceScale): 79(ptr) Variable Input
+ 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 312 31 18 303 12 21 312 310(instanceScale) 38
+315(instancePos): 39(ptr) Variable Input
+ 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 33 18 303 12 21 317 315(instancePos) 38
+ 325: 7(int) Constant 98
+ 326: TypeArray 29(float) 22
+ 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
+328(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 326 326
+ 331: 7(int) Constant 24
+ 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 330 83 18 22 331 12 12 13
+ 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 31 18 22 93 12 12 13
+ 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
+ 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
+ 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 22 18 325 12 21 338 12 13 329 332 334 336
+ 339: TypePointer Output 328(gl_PerVertex)
+ 340: 339(ptr) Variable Output
+ 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 337 18 325 12 21 1 340 38
+ 342: TypePointer Uniform 84
+ 352: TypePointer Output 82(fvec4)
+ 355: 7(int) Constant 99
+ 356(outNormal): 34(ptr) Variable Output
+ 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 358 33 18 355 12 21 358 356(outNormal) 38
+ 373(inNormal): 39(ptr) Variable Input
+ 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 33 18 355 12 21 375 373(inNormal) 38
+ 379: 7(int) Constant 101
+ 391: 7(int) Constant 102
+ 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 33 18 391 12 17 23
+ 405: TypePointer Uniform 82(fvec4)
+ 411: 7(int) Constant 103
+412(outLightVec): 34(ptr) Variable Output
+ 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 414 33 18 411 12 21 414 412(outLightVec) 38
+ 420: 7(int) Constant 104
+ 421(outViewVec): 34(ptr) Variable Output
+ 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 33 18 420 12 21 423 421(outViewVec) 38
Line 1 54 11
14(main): 4 Function None 5
15: Label
71(s): 70(ptr) Variable Function
- 115(c): 70(ptr) Variable Function
- 130(mx): 129(ptr) Variable Function
- 173(my): 129(ptr) Variable Function
- 210(mz): 129(ptr) Variable Function
- 231(rotMat): 129(ptr) Variable Function
- 260(gRotMat): 259(ptr) Variable Function
- 286(locPos): 267(ptr) Variable Function
- 302(pos): 267(ptr) Variable Function
- 390(lPos): 139(ptr) Variable Function
+ 117(c): 70(ptr) Variable Function
+ 132(mx): 131(ptr) Variable Function
+ 175(my): 131(ptr) Variable Function
+ 212(mz): 131(ptr) Variable Function
+ 233(rotMat): 131(ptr) Variable Function
+ 262(gRotMat): 261(ptr) Variable Function
+ 288(locPos): 269(ptr) Variable Function
+ 304(pos): 269(ptr) Variable Function
+ 392(lPos): 141(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
@@ -305,238 +307,238 @@ spv.debuginfo.glsl.vert
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75
80: 79(ptr) AccessChain 76(instanceRot) 12
81: 29(float) Load 80
- 109: 108(ptr) AccessChain 104(ubo) 107
- 110: 29(float) Load 109
- 111: 29(float) FAdd 81 110
- 112: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 111
- Store 71(s) 112
- 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 114 114 12 12
- 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(c) 75
- 119: 79(ptr) AccessChain 76(instanceRot) 12
- 120: 29(float) Load 119
- 121: 108(ptr) AccessChain 104(ubo) 107
+ 111: 110(ptr) AccessChain 106(ubo) 109
+ 112: 29(float) Load 111
+ 113: 29(float) FAdd 81 112
+ 114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113
+ Store 71(s) 114
+ 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12
+ 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75
+ 121: 79(ptr) AccessChain 76(instanceRot) 12
122: 29(float) Load 121
- 123: 29(float) FAdd 120 122
- 124: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 123
- Store 115(c) 124
- 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12
- 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 131 130(mx) 75
- 135: 29(float) Load 115(c)
- 136: 29(float) Load 71(s)
- 138: 32(fvec3) CompositeConstruct 135 136 137
- 140: 139(ptr) AccessChain 130(mx) 134
- Store 140 138
- 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12
- 144: 29(float) Load 71(s)
- 145: 29(float) FNegate 144
- 146: 29(float) Load 115(c)
- 147: 32(fvec3) CompositeConstruct 145 146 137
- 148: 139(ptr) AccessChain 130(mx) 143
- Store 148 147
- 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 150 150 12 12
- 154: 139(ptr) AccessChain 130(mx) 151
- Store 154 153
- 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12
- 157: 79(ptr) AccessChain 76(instanceRot) 22
- 158: 29(float) Load 157
- 159: 108(ptr) AccessChain 104(ubo) 107
+ 123: 110(ptr) AccessChain 106(ubo) 109
+ 124: 29(float) Load 123
+ 125: 29(float) FAdd 122 124
+ 126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125
+ Store 117(c) 126
+ 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12
+ 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 133 132(mx) 75
+ 137: 29(float) Load 117(c)
+ 138: 29(float) Load 71(s)
+ 140: 32(fvec3) CompositeConstruct 137 138 139
+ 142: 141(ptr) AccessChain 132(mx) 136
+ Store 142 140
+ 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
+ 146: 29(float) Load 71(s)
+ 147: 29(float) FNegate 146
+ 148: 29(float) Load 117(c)
+ 149: 32(fvec3) CompositeConstruct 147 148 139
+ 150: 141(ptr) AccessChain 132(mx) 145
+ Store 150 149
+ 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 152 152 12 12
+ 156: 141(ptr) AccessChain 132(mx) 153
+ Store 156 155
+ 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 158 158 12 12
+ 159: 79(ptr) AccessChain 76(instanceRot) 22
160: 29(float) Load 159
- 161: 29(float) FAdd 158 160
- 162: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 161
- Store 71(s) 162
- 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 164 164 12 12
- 165: 79(ptr) AccessChain 76(instanceRot) 22
- 166: 29(float) Load 165
- 167: 108(ptr) AccessChain 104(ubo) 107
+ 161: 110(ptr) AccessChain 106(ubo) 109
+ 162: 29(float) Load 161
+ 163: 29(float) FAdd 160 162
+ 164: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 163
+ Store 71(s) 164
+ 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12
+ 167: 79(ptr) AccessChain 76(instanceRot) 22
168: 29(float) Load 167
- 169: 29(float) FAdd 166 168
- 170: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 169
- Store 115(c) 170
- 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 172 172 12 12
- 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 174 173(my) 75
- 177: 29(float) Load 115(c)
- 178: 29(float) Load 71(s)
- 179: 32(fvec3) CompositeConstruct 177 137 178
- 180: 139(ptr) AccessChain 173(my) 134
- Store 180 179
- 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 182 182 12 12
- 184: 139(ptr) AccessChain 173(my) 143
- Store 184 183
- 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 186 186 12 12
- 187: 29(float) Load 71(s)
- 188: 29(float) FNegate 187
- 189: 29(float) Load 115(c)
- 190: 32(fvec3) CompositeConstruct 188 137 189
- 191: 139(ptr) AccessChain 173(my) 151
- Store 191 190
- 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 193 193 12 12
- 194: 79(ptr) AccessChain 76(instanceRot) 24
- 195: 29(float) Load 194
- 196: 108(ptr) AccessChain 104(ubo) 107
+ 169: 110(ptr) AccessChain 106(ubo) 109
+ 170: 29(float) Load 169
+ 171: 29(float) FAdd 168 170
+ 172: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 171
+ Store 117(c) 172
+ 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 174 174 12 12
+ 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(my) 75
+ 179: 29(float) Load 117(c)
+ 180: 29(float) Load 71(s)
+ 181: 32(fvec3) CompositeConstruct 179 139 180
+ 182: 141(ptr) AccessChain 175(my) 136
+ Store 182 181
+ 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 184 184 12 12
+ 186: 141(ptr) AccessChain 175(my) 145
+ Store 186 185
+ 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 188 188 12 12
+ 189: 29(float) Load 71(s)
+ 190: 29(float) FNegate 189
+ 191: 29(float) Load 117(c)
+ 192: 32(fvec3) CompositeConstruct 190 139 191
+ 193: 141(ptr) AccessChain 175(my) 153
+ Store 193 192
+ 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 195 195 12 12
+ 196: 79(ptr) AccessChain 76(instanceRot) 24
197: 29(float) Load 196
- 198: 29(float) FAdd 195 197
- 199: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 198
- Store 71(s) 199
- 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 201 201 12 12
- 202: 79(ptr) AccessChain 76(instanceRot) 24
- 203: 29(float) Load 202
- 204: 108(ptr) AccessChain 104(ubo) 107
+ 198: 110(ptr) AccessChain 106(ubo) 109
+ 199: 29(float) Load 198
+ 200: 29(float) FAdd 197 199
+ 201: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 200
+ Store 71(s) 201
+ 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 203 203 12 12
+ 204: 79(ptr) AccessChain 76(instanceRot) 24
205: 29(float) Load 204
- 206: 29(float) FAdd 203 205
- 207: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 206
- Store 115(c) 207
- 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12
- 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(mz) 75
- 215: 139(ptr) AccessChain 210(mz) 134
- Store 215 214
- 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12
- 218: 29(float) Load 115(c)
- 219: 29(float) Load 71(s)
- 220: 32(fvec3) CompositeConstruct 137 218 219
- 221: 139(ptr) AccessChain 210(mz) 143
- Store 221 220
- 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 223 223 12 12
- 224: 29(float) Load 71(s)
- 225: 29(float) FNegate 224
- 226: 29(float) Load 115(c)
- 227: 32(fvec3) CompositeConstruct 137 225 226
- 228: 139(ptr) AccessChain 210(mz) 151
- Store 228 227
- 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 230 230 12 12
- 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(rotMat) 75
- 235: 127 Load 210(mz)
- 236: 127 Load 173(my)
- 237: 127 MatrixTimesMatrix 235 236
- 238: 127 Load 130(mx)
- 239: 127 MatrixTimesMatrix 237 238
- Store 231(rotMat) 239
- 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 241 241 12 12
- 242: 79(ptr) AccessChain 76(instanceRot) 22
- 243: 29(float) Load 242
- 245: 108(ptr) AccessChain 104(ubo) 244
- 246: 29(float) Load 245
- 247: 29(float) FAdd 243 246
- 248: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 247
- Store 71(s) 248
- 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 250 250 12 12
- 251: 79(ptr) AccessChain 76(instanceRot) 22
- 252: 29(float) Load 251
- 253: 108(ptr) AccessChain 104(ubo) 244
+ 206: 110(ptr) AccessChain 106(ubo) 109
+ 207: 29(float) Load 206
+ 208: 29(float) FAdd 205 207
+ 209: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 208
+ Store 117(c) 209
+ 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12
+ 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(mz) 75
+ 217: 141(ptr) AccessChain 212(mz) 136
+ Store 217 216
+ 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12
+ 220: 29(float) Load 117(c)
+ 221: 29(float) Load 71(s)
+ 222: 32(fvec3) CompositeConstruct 139 220 221
+ 223: 141(ptr) AccessChain 212(mz) 145
+ Store 223 222
+ 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
+ 226: 29(float) Load 71(s)
+ 227: 29(float) FNegate 226
+ 228: 29(float) Load 117(c)
+ 229: 32(fvec3) CompositeConstruct 139 227 228
+ 230: 141(ptr) AccessChain 212(mz) 153
+ Store 230 229
+ 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 232 232 12 12
+ 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(rotMat) 75
+ 237: 129 Load 212(mz)
+ 238: 129 Load 175(my)
+ 239: 129 MatrixTimesMatrix 237 238
+ 240: 129 Load 132(mx)
+ 241: 129 MatrixTimesMatrix 239 240
+ Store 233(rotMat) 241
+ 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12
+ 244: 79(ptr) AccessChain 76(instanceRot) 22
+ 245: 29(float) Load 244
+ 247: 110(ptr) AccessChain 106(ubo) 246
+ 248: 29(float) Load 247
+ 249: 29(float) FAdd 245 248
+ 250: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 249
+ Store 71(s) 250
+ 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12
+ 253: 79(ptr) AccessChain 76(instanceRot) 22
254: 29(float) Load 253
- 255: 29(float) FAdd 252 254
- 256: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 255
- Store 115(c) 256
- 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 258 258 12 12
- 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 261 260(gRotMat) 75
- 264: 29(float) Load 115(c)
- 265: 29(float) Load 71(s)
- 266: 82(fvec4) CompositeConstruct 264 137 265 137
- 268: 267(ptr) AccessChain 260(gRotMat) 134
- Store 268 266
- 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12
- 272: 267(ptr) AccessChain 260(gRotMat) 143
- Store 272 271
- 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 274 274 12 12
- 275: 29(float) Load 71(s)
- 276: 29(float) FNegate 275
- 277: 29(float) Load 115(c)
- 278: 82(fvec4) CompositeConstruct 276 137 277 137
- 279: 267(ptr) AccessChain 260(gRotMat) 151
- Store 279 278
- 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 281 281 12 12
- 283: 267(ptr) AccessChain 260(gRotMat) 107
- Store 283 282
- 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 285 285 12 12
- 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(locPos) 75
- 293: 32(fvec3) Load 290(inPos)
- 294: 127 Load 231(rotMat)
- 295: 32(fvec3) VectorTimesMatrix 293 294
- 296: 29(float) CompositeExtract 295 0
- 297: 29(float) CompositeExtract 295 1
- 298: 29(float) CompositeExtract 295 2
- 299: 82(fvec4) CompositeConstruct 296 297 298 152
- Store 286(locPos) 299
- 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 301 301 12 12
- 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 303 302(pos) 75
- 306: 82(fvec4) Load 286(locPos)
- 307: 32(fvec3) VectorShuffle 306 306 0 1 2
- 311: 29(float) Load 308(instanceScale)
- 312: 32(fvec3) VectorTimesScalar 307 311
- 316: 32(fvec3) Load 313(instancePos)
- 317: 32(fvec3) FAdd 312 316
- 318: 29(float) CompositeExtract 317 0
- 319: 29(float) CompositeExtract 317 1
- 320: 29(float) CompositeExtract 317 2
- 321: 82(fvec4) CompositeConstruct 318 319 320 152
- Store 302(pos) 321
- 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
- 341: 340(ptr) AccessChain 104(ubo) 134
- 342: 84 Load 341
- 343: 340(ptr) AccessChain 104(ubo) 143
+ 255: 110(ptr) AccessChain 106(ubo) 246
+ 256: 29(float) Load 255
+ 257: 29(float) FAdd 254 256
+ 258: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 257
+ Store 117(c) 258
+ 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 260 260 12 12
+ 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 263 262(gRotMat) 75
+ 266: 29(float) Load 117(c)
+ 267: 29(float) Load 71(s)
+ 268: 82(fvec4) CompositeConstruct 266 139 267 139
+ 270: 269(ptr) AccessChain 262(gRotMat) 136
+ Store 270 268
+ 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
+ 274: 269(ptr) AccessChain 262(gRotMat) 145
+ Store 274 273
+ 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 276 276 12 12
+ 277: 29(float) Load 71(s)
+ 278: 29(float) FNegate 277
+ 279: 29(float) Load 117(c)
+ 280: 82(fvec4) CompositeConstruct 278 139 279 139
+ 281: 269(ptr) AccessChain 262(gRotMat) 153
+ Store 281 280
+ 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 283 283 12 12
+ 285: 269(ptr) AccessChain 262(gRotMat) 109
+ Store 285 284
+ 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 287 287 12 12
+ 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 289 288(locPos) 75
+ 295: 32(fvec3) Load 292(inPos)
+ 296: 129 Load 233(rotMat)
+ 297: 32(fvec3) VectorTimesMatrix 295 296
+ 298: 29(float) CompositeExtract 297 0
+ 299: 29(float) CompositeExtract 297 1
+ 300: 29(float) CompositeExtract 297 2
+ 301: 82(fvec4) CompositeConstruct 298 299 300 154
+ Store 288(locPos) 301
+ 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 303 303 12 12
+ 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(pos) 75
+ 308: 82(fvec4) Load 288(locPos)
+ 309: 32(fvec3) VectorShuffle 308 308 0 1 2
+ 313: 29(float) Load 310(instanceScale)
+ 314: 32(fvec3) VectorTimesScalar 309 313
+ 318: 32(fvec3) Load 315(instancePos)
+ 319: 32(fvec3) FAdd 314 318
+ 320: 29(float) CompositeExtract 319 0
+ 321: 29(float) CompositeExtract 319 1
+ 322: 29(float) CompositeExtract 319 2
+ 323: 82(fvec4) CompositeConstruct 320 321 322 154
+ Store 304(pos) 323
+ 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 325 325 12 12
+ 343: 342(ptr) AccessChain 106(ubo) 136
344: 84 Load 343
- 345: 84 MatrixTimesMatrix 342 344
- 346: 84 Load 260(gRotMat)
- 347: 84 MatrixTimesMatrix 345 346
- 348: 82(fvec4) Load 302(pos)
- 349: 82(fvec4) MatrixTimesVector 347 348
- 351: 350(ptr) AccessChain 338 134
- Store 351 349
- 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 353 353 12 12
- 357: 340(ptr) AccessChain 104(ubo) 143
- 358: 84 Load 357
- 359: 84 Load 260(gRotMat)
- 360: 84 MatrixTimesMatrix 358 359
- 361: 82(fvec4) CompositeExtract 360 0
- 362: 32(fvec3) VectorShuffle 361 361 0 1 2
- 363: 82(fvec4) CompositeExtract 360 1
+ 345: 342(ptr) AccessChain 106(ubo) 145
+ 346: 84 Load 345
+ 347: 84 MatrixTimesMatrix 344 346
+ 348: 84 Load 262(gRotMat)
+ 349: 84 MatrixTimesMatrix 347 348
+ 350: 82(fvec4) Load 304(pos)
+ 351: 82(fvec4) MatrixTimesVector 349 350
+ 353: 352(ptr) AccessChain 340 136
+ Store 353 351
+ 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 355 355 12 12
+ 359: 342(ptr) AccessChain 106(ubo) 145
+ 360: 84 Load 359
+ 361: 84 Load 262(gRotMat)
+ 362: 84 MatrixTimesMatrix 360 361
+ 363: 82(fvec4) CompositeExtract 362 0
364: 32(fvec3) VectorShuffle 363 363 0 1 2
- 365: 82(fvec4) CompositeExtract 360 2
+ 365: 82(fvec4) CompositeExtract 362 1
366: 32(fvec3) VectorShuffle 365 365 0 1 2
- 367: 127 CompositeConstruct 362 364 366
- 368: 127 Load 231(rotMat)
- 369: 127 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 368
- 370: 127 MatrixTimesMatrix 367 369
- 374: 32(fvec3) Load 371(inNormal)
- 375: 32(fvec3) MatrixTimesVector 370 374
- Store 354(outNormal) 375
- 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 377 377 12 12
- 378: 340(ptr) AccessChain 104(ubo) 143
- 379: 84 Load 378
- 380: 32(fvec3) Load 290(inPos)
- 381: 32(fvec3) Load 313(instancePos)
- 382: 32(fvec3) FAdd 380 381
- 383: 29(float) CompositeExtract 382 0
- 384: 29(float) CompositeExtract 382 1
- 385: 29(float) CompositeExtract 382 2
- 386: 82(fvec4) CompositeConstruct 383 384 385 152
- 387: 82(fvec4) MatrixTimesVector 379 386
- Store 302(pos) 387
- 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 389 389 12 12
- 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 391 390(lPos) 75
- 394: 340(ptr) AccessChain 104(ubo) 143
- 395: 84 Load 394
- 396: 82(fvec4) CompositeExtract 395 0
- 397: 32(fvec3) VectorShuffle 396 396 0 1 2
- 398: 82(fvec4) CompositeExtract 395 1
+ 367: 82(fvec4) CompositeExtract 362 2
+ 368: 32(fvec3) VectorShuffle 367 367 0 1 2
+ 369: 129 CompositeConstruct 364 366 368
+ 370: 129 Load 233(rotMat)
+ 371: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 370
+ 372: 129 MatrixTimesMatrix 369 371
+ 376: 32(fvec3) Load 373(inNormal)
+ 377: 32(fvec3) MatrixTimesVector 372 376
+ Store 356(outNormal) 377
+ 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 379 379 12 12
+ 380: 342(ptr) AccessChain 106(ubo) 145
+ 381: 84 Load 380
+ 382: 32(fvec3) Load 292(inPos)
+ 383: 32(fvec3) Load 315(instancePos)
+ 384: 32(fvec3) FAdd 382 383
+ 385: 29(float) CompositeExtract 384 0
+ 386: 29(float) CompositeExtract 384 1
+ 387: 29(float) CompositeExtract 384 2
+ 388: 82(fvec4) CompositeConstruct 385 386 387 154
+ 389: 82(fvec4) MatrixTimesVector 381 388
+ Store 304(pos) 389
+ 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 391 391 12 12
+ 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(lPos) 75
+ 396: 342(ptr) AccessChain 106(ubo) 145
+ 397: 84 Load 396
+ 398: 82(fvec4) CompositeExtract 397 0
399: 32(fvec3) VectorShuffle 398 398 0 1 2
- 400: 82(fvec4) CompositeExtract 395 2
+ 400: 82(fvec4) CompositeExtract 397 1
401: 32(fvec3) VectorShuffle 400 400 0 1 2
- 402: 127 CompositeConstruct 397 399 401
- 404: 403(ptr) AccessChain 104(ubo) 151
- 405: 82(fvec4) Load 404
- 406: 32(fvec3) VectorShuffle 405 405 0 1 2
- 407: 32(fvec3) MatrixTimesVector 402 406
- Store 390(lPos) 407
- 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 409 409 12 12
- 413: 32(fvec3) Load 390(lPos)
- 414: 82(fvec4) Load 302(pos)
- 415: 32(fvec3) VectorShuffle 414 414 0 1 2
- 416: 32(fvec3) FSub 413 415
- Store 410(outLightVec) 416
- 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 418 418 12 12
- 422: 82(fvec4) Load 302(pos)
- 423: 32(fvec3) VectorShuffle 422 422 0 1 2
- 424: 32(fvec3) FNegate 423
- Store 419(outViewVec) 424
+ 402: 82(fvec4) CompositeExtract 397 2
+ 403: 32(fvec3) VectorShuffle 402 402 0 1 2
+ 404: 129 CompositeConstruct 399 401 403
+ 406: 405(ptr) AccessChain 106(ubo) 153
+ 407: 82(fvec4) Load 406
+ 408: 32(fvec3) VectorShuffle 407 407 0 1 2
+ 409: 32(fvec3) MatrixTimesVector 404 408
+ Store 392(lPos) 409
+ 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 411 411 12 12
+ 415: 32(fvec3) Load 392(lPos)
+ 416: 82(fvec4) Load 304(pos)
+ 417: 32(fvec3) VectorShuffle 416 416 0 1 2
+ 418: 32(fvec3) FSub 415 417
+ Store 412(outLightVec) 418
+ 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 420 420 12 12
+ 424: 82(fvec4) Load 304(pos)
+ 425: 32(fvec3) VectorShuffle 424 424 0 1 2
+ 426: 32(fvec3) FNegate 425
+ Store 421(outViewVec) 426
Return
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.comp.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.comp.out
index 1845cfe075..65bd8a17fa 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.comp.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.comp.out
@@ -1,14 +1,14 @@
spv.debuginfo.hlsl.comp
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 978
+// Id's are bound by 953
Capability Shader
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint GLCompute 6 "main" 973
+ EntryPoint GLCompute 6 "main" 948
ExecutionMode 6 LocalSize 10 10 1
1: String ""
9: String "float"
@@ -43,19 +43,19 @@ spv.debuginfo.hlsl.comp
190: String "Particle"
195: String "@data"
199: String "particleIn"
- 221: String "particleOut"
- 246: String "force"
- 259: String "pos"
- 269: String "vel"
- 569: String "f"
- 618: String "sphereDist"
- 671: String "calculateNormals"
- 675: String "PushConstants"
- 678: String "pushConstants"
- 681: String "$Global"
- 721: String "a"
- 734: String "b"
- 751: String "c"
+ 220: String "particleOut"
+ 245: String "force"
+ 258: String "pos"
+ 268: String "vel"
+ 552: String "f"
+ 601: String "sphereDist"
+ 653: String "calculateNormals"
+ 657: String "PushConstants"
+ 660: String "pushConstants"
+ 663: String "$Global"
+ 700: String "a"
+ 713: String "b"
+ 730: String "c"
Name 6 "main"
Name 27 "springForce(vf3;vf3;f1;"
Name 24 "p0"
@@ -89,50 +89,50 @@ spv.debuginfo.hlsl.comp
Name 193 "particleIn"
MemberName 193(particleIn) 0 "@data"
Name 201 "particleIn"
- Name 217 "particleOut"
- MemberName 217(particleOut) 0 "@data"
- Name 223 "particleOut"
- Name 244 "force"
- Name 257 "pos"
- Name 267 "vel"
- Name 288 "param"
+ Name 216 "particleOut"
+ MemberName 216(particleOut) 0 "@data"
+ Name 222 "particleOut"
+ Name 243 "force"
+ Name 256 "pos"
+ Name 266 "vel"
+ Name 286 "param"
+ Name 290 "param"
Name 292 "param"
- Name 294 "param"
- Name 318 "param"
- Name 322 "param"
- Name 324 "param"
+ Name 315 "param"
+ Name 319 "param"
+ Name 321 "param"
+ Name 348 "param"
Name 352 "param"
- Name 356 "param"
- Name 358 "param"
- Name 381 "param"
- Name 385 "param"
- Name 387 "param"
- Name 422 "param"
- Name 426 "param"
- Name 428 "param"
- Name 458 "param"
- Name 462 "param"
- Name 464 "param"
- Name 502 "param"
- Name 506 "param"
- Name 508 "param"
- Name 542 "param"
- Name 546 "param"
- Name 548 "param"
- Name 567 "f"
- Name 616 "sphereDist"
- Name 669 "PushConstants"
- MemberName 669(PushConstants) 0 "calculateNormals"
- Name 676 "$Global"
- MemberName 676($Global) 0 "pushConstants"
- Name 683 ""
- Name 695 "normal"
- Name 719 "a"
- Name 732 "b"
- Name 749 "c"
- Name 971 "id"
- Name 973 "id"
- Name 975 "param"
+ Name 354 "param"
+ Name 376 "param"
+ Name 380 "param"
+ Name 382 "param"
+ Name 414 "param"
+ Name 418 "param"
+ Name 420 "param"
+ Name 447 "param"
+ Name 451 "param"
+ Name 453 "param"
+ Name 488 "param"
+ Name 492 "param"
+ Name 494 "param"
+ Name 525 "param"
+ Name 529 "param"
+ Name 531 "param"
+ Name 550 "f"
+ Name 599 "sphereDist"
+ Name 651 "PushConstants"
+ MemberName 651(PushConstants) 0 "calculateNormals"
+ Name 658 "$Global"
+ MemberName 658($Global) 0 "pushConstants"
+ Name 665 ""
+ Name 676 "normal"
+ Name 698 "a"
+ Name 711 "b"
+ Name 728 "c"
+ Name 946 "id"
+ Name 948 "id"
+ Name 950 "param"
MemberDecorate 89(UBO) 0 Offset 0
MemberDecorate 89(UBO) 1 Offset 4
MemberDecorate 89(UBO) 2 Offset 8
@@ -159,17 +159,17 @@ spv.debuginfo.hlsl.comp
Decorate 193(particleIn) BufferBlock
Decorate 201(particleIn) DescriptorSet 0
Decorate 201(particleIn) Binding 0
- Decorate 215 ArrayStride 80
- MemberDecorate 217(particleOut) 0 Offset 0
- Decorate 217(particleOut) BufferBlock
- Decorate 223(particleOut) DescriptorSet 0
- Decorate 223(particleOut) Binding 1
- MemberDecorate 669(PushConstants) 0 Offset 0
- MemberDecorate 676($Global) 0 Offset 0
- Decorate 676($Global) Block
- Decorate 683 DescriptorSet 0
- Decorate 683 Binding 3
- Decorate 973(id) BuiltIn GlobalInvocationId
+ Decorate 214 ArrayStride 80
+ MemberDecorate 216(particleOut) 0 Offset 0
+ Decorate 216(particleOut) BufferBlock
+ Decorate 222(particleOut) DescriptorSet 0
+ Decorate 222(particleOut) Binding 1
+ MemberDecorate 651(PushConstants) 0 Offset 0
+ MemberDecorate 658($Global) 0 Offset 0
+ Decorate 658($Global) Block
+ Decorate 665 DescriptorSet 0
+ Decorate 665 Binding 3
+ Decorate 948(id) BuiltIn GlobalInvocationId
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@@ -278,143 +278,118 @@ spv.debuginfo.hlsl.comp
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 199 198 31 176 16 34 199 201(particleIn) 121
204: 84(int) Constant 4
207: 8(float) Constant 1065353216
- 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 214: 11(int) Constant 89
- 215: TypeRuntimeArray 177(Particle)
- 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16
-217(particleOut): TypeStruct 215
- 219: 11(int) Constant 37
- 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 216 31 219 180 16 16 17
- 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 221 35 31 214 16 34 221 16 17 218
- 222: TypePointer Uniform 217(particleOut)
-223(particleOut): 222(ptr) Variable Uniform
- 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 221 220 31 214 16 34 221 223(particleOut) 121
- 227: TypePointer Uniform 82(fvec4)
- 232: 11(int) Constant 90
- 234: 84(int) Constant 1
- 235: 8(float) Constant 0
- 236: 82(fvec4) ConstantComposite 235 235 235 235
- 239: 11(int) Constant 91
- 243: 11(int) Constant 95
- 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 246 19 31 243 16 60 36
- 248: 84(int) Constant 9
- 256: 11(int) Constant 97
- 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 259 19 31 256 16 60 36
- 266: 11(int) Constant 98
- 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 19 31 266 16 60 36
- 276: 11(int) Constant 102
- 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 285: 11(int) Constant 103
- 302: 11(int) Constant 106
- 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 315: 11(int) Constant 107
- 332: 11(int) Constant 110
- 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 345: 11(int) Constant 111
- 351: 84(int) Constant 5
- 366: 11(int) Constant 114
- 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 375: 11(int) Constant 115
- 395: 11(int) Constant 118
- 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 414: 11(int) Constant 119
- 421: 84(int) Constant 6
- 436: 11(int) Constant 122
- 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 451: 11(int) Constant 123
- 472: 11(int) Constant 126
- 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 495: 11(int) Constant 127
- 516: 11(int) Constant 130
- 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 535: 11(int) Constant 131
- 556: 11(int) Constant 134
- 557: 84(int) Constant 3
- 566: 11(int) Constant 137
- 568: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 569 19 31 566 16 60 36
- 577: 11(int) Constant 138
- 585: 8(float) Constant 1056964608
- 601: 11(int) Constant 139
- 615: 11(int) Constant 142
- 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 618 19 31 615 16 60 36
- 624: 84(int) Constant 8
- 630: 11(int) Constant 143
- 633: 84(int) Constant 7
- 636: 8(float) Constant 1008981770
- 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 644: 11(int) Constant 145
- 663: 11(int) Constant 147
- 668: 11(int) Constant 151
-669(PushConstants): TypeStruct 11(int)
- 672: 11(int) Constant 67
- 673: 11(int) Constant 23
- 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 671 13 31 672 673 16 16 17
- 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 675 35 31 668 16 34 675 16 17 670
- 676($Global): TypeStruct 669(PushConstants)
- 679: 11(int) Constant 71
- 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 678 674 31 679 181 16 16 17
- 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 681 35 31 668 16 34 681 16 17 677
- 682: TypePointer Uniform 676($Global)
- 683: 682(ptr) Variable Uniform
- 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 680 31 668 16 34 1 683 121
- 685: TypePointer Uniform 11(int)
- 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 694: 11(int) Constant 152
- 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 19 31 694 16 60 36
- 698: 18(fvec3) ConstantComposite 235 235 235
- 700: 11(int) Constant 154
- 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 709: 11(int) Constant 155
- 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 718: 11(int) Constant 156
- 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 721 19 31 718 16 60 36
- 731: 11(int) Constant 157
- 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 734 19 31 731 16 60 36
- 748: 11(int) Constant 158
- 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 751 19 31 748 16 60 36
- 764: 11(int) Constant 159
- 776: 11(int) Constant 161
- 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 789: 11(int) Constant 162
- 801: 11(int) Constant 163
- 814: 11(int) Constant 164
- 823: 11(int) Constant 165
- 835: 11(int) Constant 168
- 842: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 848: 11(int) Constant 169
- 851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 857: 11(int) Constant 170
- 869: 11(int) Constant 171
- 882: 11(int) Constant 172
- 891: 11(int) Constant 173
- 903: 11(int) Constant 175
- 910: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16
- 916: 11(int) Constant 176
- 925: 11(int) Constant 177
- 938: 11(int) Constant 178
- 950: 11(int) Constant 179
- 962: 11(int) Constant 182
- 972: TypePointer Input 51(ivec3)
- 973(id): 972(ptr) Variable Input
+ 213: 11(int) Constant 89
+ 214: TypeRuntimeArray 177(Particle)
+ 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16
+216(particleOut): TypeStruct 214
+ 218: 11(int) Constant 37
+ 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 215 31 218 180 16 16 17
+ 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 220 35 31 213 16 34 220 16 17 217
+ 221: TypePointer Uniform 216(particleOut)
+222(particleOut): 221(ptr) Variable Uniform
+ 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 219 31 213 16 34 220 222(particleOut) 121
+ 226: TypePointer Uniform 82(fvec4)
+ 231: 11(int) Constant 90
+ 233: 84(int) Constant 1
+ 234: 8(float) Constant 0
+ 235: 82(fvec4) ConstantComposite 234 234 234 234
+ 238: 11(int) Constant 91
+ 242: 11(int) Constant 95
+ 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 245 19 31 242 16 60 36
+ 247: 84(int) Constant 9
+ 255: 11(int) Constant 97
+ 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 258 19 31 255 16 60 36
+ 265: 11(int) Constant 98
+ 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 268 19 31 265 16 60 36
+ 275: 11(int) Constant 102
+ 283: 11(int) Constant 103
+ 300: 11(int) Constant 106
+ 312: 11(int) Constant 107
+ 329: 11(int) Constant 110
+ 341: 11(int) Constant 111
+ 347: 84(int) Constant 5
+ 362: 11(int) Constant 114
+ 370: 11(int) Constant 115
+ 390: 11(int) Constant 118
+ 406: 11(int) Constant 119
+ 413: 84(int) Constant 6
+ 428: 11(int) Constant 122
+ 440: 11(int) Constant 123
+ 461: 11(int) Constant 126
+ 481: 11(int) Constant 127
+ 502: 11(int) Constant 130
+ 518: 11(int) Constant 131
+ 539: 11(int) Constant 134
+ 540: 84(int) Constant 3
+ 549: 11(int) Constant 137
+ 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 552 19 31 549 16 60 36
+ 560: 11(int) Constant 138
+ 568: 8(float) Constant 1056964608
+ 584: 11(int) Constant 139
+ 598: 11(int) Constant 142
+ 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 601 19 31 598 16 60 36
+ 607: 84(int) Constant 8
+ 613: 11(int) Constant 143
+ 616: 84(int) Constant 7
+ 619: 8(float) Constant 1008981770
+ 626: 11(int) Constant 145
+ 645: 11(int) Constant 147
+ 650: 11(int) Constant 151
+651(PushConstants): TypeStruct 11(int)
+ 654: 11(int) Constant 67
+ 655: 11(int) Constant 23
+ 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 653 13 31 654 655 16 16 17
+ 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 657 35 31 650 16 34 657 16 17 652
+ 658($Global): TypeStruct 651(PushConstants)
+ 661: 11(int) Constant 71
+ 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 660 656 31 661 181 16 16 17
+ 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 663 35 31 650 16 34 663 16 17 659
+ 664: TypePointer Uniform 658($Global)
+ 665: 664(ptr) Variable Uniform
+ 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 662 31 650 16 34 1 665 121
+ 667: TypePointer Uniform 11(int)
+ 675: 11(int) Constant 152
+ 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 19 31 675 16 60 36
+ 679: 18(fvec3) ConstantComposite 234 234 234
+ 681: 11(int) Constant 154
+ 689: 11(int) Constant 155
+ 697: 11(int) Constant 156
+ 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 700 19 31 697 16 60 36
+ 710: 11(int) Constant 157
+ 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 19 31 710 16 60 36
+ 727: 11(int) Constant 158
+ 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 19 31 727 16 60 36
+ 743: 11(int) Constant 159
+ 755: 11(int) Constant 161
+ 767: 11(int) Constant 162
+ 779: 11(int) Constant 163
+ 792: 11(int) Constant 164
+ 801: 11(int) Constant 165
+ 813: 11(int) Constant 168
+ 825: 11(int) Constant 169
+ 833: 11(int) Constant 170
+ 845: 11(int) Constant 171
+ 858: 11(int) Constant 172
+ 867: 11(int) Constant 173
+ 879: 11(int) Constant 175
+ 891: 11(int) Constant 176
+ 900: 11(int) Constant 177
+ 913: 11(int) Constant 178
+ 925: 11(int) Constant 179
+ 937: 11(int) Constant 182
+ 947: TypePointer Input 51(ivec3)
+ 948(id): 947(ptr) Variable Input
Line 1 82 1
6(main): 4 Function None 5
7: Label
- 971(id): 53(ptr) Variable Function
- 975(param): 53(ptr) Variable Function
+ 946(id): 53(ptr) Variable Function
+ 950(param): 53(ptr) Variable Function
Line 1 82 0
- 974: 51(ivec3) Load 973(id)
- Store 971(id) 974
- 976: 51(ivec3) Load 971(id)
- Store 975(param) 976
- 977: 4 FunctionCall 57(@main(vu3;) 975(param)
+ 949: 51(ivec3) Load 948(id)
+ Store 946(id) 949
+ 951: 51(ivec3) Load 946(id)
+ Store 950(param) 951
+ 952: 4 FunctionCall 57(@main(vu3;) 950(param)
Return
FunctionEnd
Line 1 75 1
@@ -455,39 +430,39 @@ spv.debuginfo.hlsl.comp
56(id): 53(ptr) FunctionParameter
58: Label
140(index): 139(ptr) Variable Function
- 244(force): 20(ptr) Variable Function
- 257(pos): 20(ptr) Variable Function
- 267(vel): 20(ptr) Variable Function
- 288(param): 20(ptr) Variable Function
- 292(param): 20(ptr) Variable Function
- 294(param): 21(ptr) Variable Function
- 318(param): 20(ptr) Variable Function
- 322(param): 20(ptr) Variable Function
- 324(param): 21(ptr) Variable Function
+ 243(force): 20(ptr) Variable Function
+ 256(pos): 20(ptr) Variable Function
+ 266(vel): 20(ptr) Variable Function
+ 286(param): 20(ptr) Variable Function
+ 290(param): 20(ptr) Variable Function
+ 292(param): 21(ptr) Variable Function
+ 315(param): 20(ptr) Variable Function
+ 319(param): 20(ptr) Variable Function
+ 321(param): 21(ptr) Variable Function
+ 348(param): 20(ptr) Variable Function
352(param): 20(ptr) Variable Function
- 356(param): 20(ptr) Variable Function
- 358(param): 21(ptr) Variable Function
- 381(param): 20(ptr) Variable Function
- 385(param): 20(ptr) Variable Function
- 387(param): 21(ptr) Variable Function
- 422(param): 20(ptr) Variable Function
- 426(param): 20(ptr) Variable Function
- 428(param): 21(ptr) Variable Function
- 458(param): 20(ptr) Variable Function
- 462(param): 20(ptr) Variable Function
- 464(param): 21(ptr) Variable Function
- 502(param): 20(ptr) Variable Function
- 506(param): 20(ptr) Variable Function
- 508(param): 21(ptr) Variable Function
- 542(param): 20(ptr) Variable Function
- 546(param): 20(ptr) Variable Function
- 548(param): 21(ptr) Variable Function
- 567(f): 20(ptr) Variable Function
- 616(sphereDist): 20(ptr) Variable Function
- 695(normal): 20(ptr) Variable Function
- 719(a): 20(ptr) Variable Function
- 732(b): 20(ptr) Variable Function
- 749(c): 20(ptr) Variable Function
+ 354(param): 21(ptr) Variable Function
+ 376(param): 20(ptr) Variable Function
+ 380(param): 20(ptr) Variable Function
+ 382(param): 21(ptr) Variable Function
+ 414(param): 20(ptr) Variable Function
+ 418(param): 20(ptr) Variable Function
+ 420(param): 21(ptr) Variable Function
+ 447(param): 20(ptr) Variable Function
+ 451(param): 20(ptr) Variable Function
+ 453(param): 21(ptr) Variable Function
+ 488(param): 20(ptr) Variable Function
+ 492(param): 20(ptr) Variable Function
+ 494(param): 21(ptr) Variable Function
+ 525(param): 20(ptr) Variable Function
+ 529(param): 20(ptr) Variable Function
+ 531(param): 21(ptr) Variable Function
+ 550(f): 20(ptr) Variable Function
+ 599(sphereDist): 20(ptr) Variable Function
+ 676(normal): 20(ptr) Variable Function
+ 698(a): 20(ptr) Variable Function
+ 711(b): 20(ptr) Variable Function
+ 728(c): 20(ptr) Variable Function
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 61 61 16 16
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 56(id) 43
@@ -526,712 +501,712 @@ spv.debuginfo.hlsl.comp
203: 11(int) Load 140(index)
205: 124(ptr) AccessChain 201(particleIn) 122 203 204
206: 8(float) Load 205
- 209: 164(bool) FOrdEqual 206 207
- SelectionMerge 211 None
- BranchConditional 209 210 211
- 210: Label
- 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 214 214 16 16
+ 208: 164(bool) FOrdEqual 206 207
+ SelectionMerge 210 None
+ BranchConditional 208 209 210
+ 209: Label
+ 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 213 213 16 16
+ 224: 11(int) Load 140(index)
225: 11(int) Load 140(index)
- 226: 11(int) Load 140(index)
- 228: 227(ptr) AccessChain 223(particleOut) 122 226 122
- 229: 82(fvec4) Load 228
- 230: 227(ptr) AccessChain 223(particleOut) 122 225 122
- Store 230 229
- 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 232 232 16 16
- 233: 11(int) Load 140(index)
- 237: 227(ptr) AccessChain 223(particleOut) 122 233 234
- Store 237 236
- 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 239 239 16 16
+ 227: 226(ptr) AccessChain 222(particleOut) 122 225 122
+ 228: 82(fvec4) Load 227
+ 229: 226(ptr) AccessChain 222(particleOut) 122 224 122
+ Store 229 228
+ 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 231 231 16 16
+ 232: 11(int) Load 140(index)
+ 236: 226(ptr) AccessChain 222(particleOut) 122 232 233
+ Store 236 235
+ 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 238 238 16 16
Return
- 211: Label
- 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 243 243 16 16
- 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 245 244(force) 43
- 249: 227(ptr) AccessChain 119 122 248
- 250: 82(fvec4) Load 249
- 251: 18(fvec3) VectorShuffle 250 250 0 1 2
- 252: 124(ptr) AccessChain 119 122 234
- 253: 8(float) Load 252
- 254: 18(fvec3) VectorTimesScalar 251 253
- Store 244(force) 254
- 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 256 256 16 16
- 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 258 257(pos) 43
- 261: 11(int) Load 140(index)
- 262: 227(ptr) AccessChain 201(particleIn) 122 261 122
- 263: 82(fvec4) Load 262
- 264: 18(fvec3) VectorShuffle 263 263 0 1 2
- Store 257(pos) 264
- 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 266 266 16 16
- 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 268 267(vel) 43
- 271: 11(int) Load 140(index)
- 272: 227(ptr) AccessChain 201(particleIn) 122 271 234
- 273: 82(fvec4) Load 272
- 274: 18(fvec3) VectorShuffle 273 273 0 1 2
- Store 267(vel) 274
- 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 276 276 16 16
- 277: 139(ptr) AccessChain 56(id) 16
- 278: 11(int) Load 277
- 280: 164(bool) UGreaterThan 278 16
- SelectionMerge 282 None
- BranchConditional 280 281 282
- 281: Label
- 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 285 285 16 16
- 286: 11(int) Load 140(index)
- 287: 11(int) ISub 286 35
- 289: 227(ptr) AccessChain 201(particleIn) 122 287 122
- 290: 82(fvec4) Load 289
- 291: 18(fvec3) VectorShuffle 290 290 0 1 2
- Store 288(param) 291
- 293: 18(fvec3) Load 257(pos)
- Store 292(param) 293
- 295: 124(ptr) AccessChain 119 122 204
- 296: 8(float) Load 295
- Store 294(param) 296
- 297: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 288(param) 292(param) 294(param)
- 298: 18(fvec3) Load 244(force)
- 299: 18(fvec3) FAdd 298 297
- Store 244(force) 299
- Branch 282
- 282: Label
- 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 302 302 16 16
- 303: 139(ptr) AccessChain 56(id) 16
- 304: 11(int) Load 303
- 305: 147(ptr) AccessChain 119 122 146 16
- 306: 84(int) Load 305
- 307: 84(int) ISub 306 234
- 308: 11(int) Bitcast 307
- 310: 164(bool) ULessThan 304 308
- SelectionMerge 312 None
- BranchConditional 310 311 312
- 311: Label
- 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 315 315 16 16
- 316: 11(int) Load 140(index)
- 317: 11(int) IAdd 316 35
- 319: 227(ptr) AccessChain 201(particleIn) 122 317 122
- 320: 82(fvec4) Load 319
- 321: 18(fvec3) VectorShuffle 320 320 0 1 2
- Store 318(param) 321
- 323: 18(fvec3) Load 257(pos)
- Store 322(param) 323
- 325: 124(ptr) AccessChain 119 122 204
- 326: 8(float) Load 325
- Store 324(param) 326
- 327: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 318(param) 322(param) 324(param)
- 328: 18(fvec3) Load 244(force)
- 329: 18(fvec3) FAdd 328 327
- Store 244(force) 329
- Branch 312
- 312: Label
- 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 332 332 16 16
- 333: 139(ptr) AccessChain 56(id) 35
- 334: 11(int) Load 333
- 335: 147(ptr) AccessChain 119 122 146 35
- 336: 84(int) Load 335
- 337: 84(int) ISub 336 234
- 338: 11(int) Bitcast 337
- 340: 164(bool) ULessThan 334 338
- SelectionMerge 342 None
- BranchConditional 340 341 342
- 341: Label
- 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 345 345 16 16
- 346: 11(int) Load 140(index)
- 347: 147(ptr) AccessChain 119 122 146 16
- 348: 84(int) Load 347
- 349: 11(int) Bitcast 348
- 350: 11(int) IAdd 346 349
- 353: 227(ptr) AccessChain 201(particleIn) 122 350 122
- 354: 82(fvec4) Load 353
- 355: 18(fvec3) VectorShuffle 354 354 0 1 2
- Store 352(param) 355
- 357: 18(fvec3) Load 257(pos)
- Store 356(param) 357
- 359: 124(ptr) AccessChain 119 122 351
- 360: 8(float) Load 359
- Store 358(param) 360
- 361: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 352(param) 356(param) 358(param)
- 362: 18(fvec3) Load 244(force)
- 363: 18(fvec3) FAdd 362 361
- Store 244(force) 363
- Branch 342
- 342: Label
- 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 366 366 16 16
- 367: 139(ptr) AccessChain 56(id) 35
- 368: 11(int) Load 367
- 370: 164(bool) UGreaterThan 368 16
- SelectionMerge 372 None
- BranchConditional 370 371 372
- 371: Label
- 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 16 16
- 376: 11(int) Load 140(index)
- 377: 147(ptr) AccessChain 119 122 146 16
- 378: 84(int) Load 377
- 379: 11(int) Bitcast 378
- 380: 11(int) ISub 376 379
- 382: 227(ptr) AccessChain 201(particleIn) 122 380 122
- 383: 82(fvec4) Load 382
- 384: 18(fvec3) VectorShuffle 383 383 0 1 2
- Store 381(param) 384
- 386: 18(fvec3) Load 257(pos)
- Store 385(param) 386
- 388: 124(ptr) AccessChain 119 122 351
- 389: 8(float) Load 388
- Store 387(param) 389
- 390: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 381(param) 385(param) 387(param)
- 391: 18(fvec3) Load 244(force)
- 392: 18(fvec3) FAdd 391 390
- Store 244(force) 392
- Branch 372
- 372: Label
- 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 395 395 16 16
- 396: 139(ptr) AccessChain 56(id) 16
- 397: 11(int) Load 396
- 399: 164(bool) UGreaterThan 397 16
- 400: 139(ptr) AccessChain 56(id) 35
- 401: 11(int) Load 400
- 402: 147(ptr) AccessChain 119 122 146 35
- 403: 84(int) Load 402
- 404: 84(int) ISub 403 234
- 405: 11(int) Bitcast 404
- 407: 164(bool) ULessThan 401 405
- 409: 164(bool) LogicalAnd 399 407
- SelectionMerge 411 None
- BranchConditional 409 410 411
- 410: Label
- 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 16 16
- 415: 11(int) Load 140(index)
- 416: 147(ptr) AccessChain 119 122 146 16
- 417: 84(int) Load 416
- 418: 11(int) Bitcast 417
- 419: 11(int) IAdd 415 418
- 420: 11(int) ISub 419 35
- 423: 227(ptr) AccessChain 201(particleIn) 122 420 122
- 424: 82(fvec4) Load 423
- 425: 18(fvec3) VectorShuffle 424 424 0 1 2
- Store 422(param) 425
- 427: 18(fvec3) Load 257(pos)
- Store 426(param) 427
- 429: 124(ptr) AccessChain 119 122 421
- 430: 8(float) Load 429
- Store 428(param) 430
- 431: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 422(param) 426(param) 428(param)
- 432: 18(fvec3) Load 244(force)
- 433: 18(fvec3) FAdd 432 431
- Store 244(force) 433
- Branch 411
- 411: Label
- 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 436 436 16 16
- 437: 139(ptr) AccessChain 56(id) 16
- 438: 11(int) Load 437
- 440: 164(bool) UGreaterThan 438 16
- 441: 139(ptr) AccessChain 56(id) 35
- 442: 11(int) Load 441
- 444: 164(bool) UGreaterThan 442 16
- 446: 164(bool) LogicalAnd 440 444
- SelectionMerge 448 None
- BranchConditional 446 447 448
- 447: Label
- 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 451 451 16 16
- 452: 11(int) Load 140(index)
- 453: 147(ptr) AccessChain 119 122 146 16
- 454: 84(int) Load 453
- 455: 11(int) Bitcast 454
- 456: 11(int) ISub 452 455
- 457: 11(int) ISub 456 35
- 459: 227(ptr) AccessChain 201(particleIn) 122 457 122
- 460: 82(fvec4) Load 459
- 461: 18(fvec3) VectorShuffle 460 460 0 1 2
- Store 458(param) 461
- 463: 18(fvec3) Load 257(pos)
- Store 462(param) 463
- 465: 124(ptr) AccessChain 119 122 421
- 466: 8(float) Load 465
- Store 464(param) 466
- 467: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 458(param) 462(param) 464(param)
- 468: 18(fvec3) Load 244(force)
- 469: 18(fvec3) FAdd 468 467
- Store 244(force) 469
- Branch 448
- 448: Label
- 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 472 472 16 16
- 473: 139(ptr) AccessChain 56(id) 16
- 474: 11(int) Load 473
- 475: 147(ptr) AccessChain 119 122 146 16
- 476: 84(int) Load 475
- 477: 84(int) ISub 476 234
- 478: 11(int) Bitcast 477
- 480: 164(bool) ULessThan 474 478
- 481: 139(ptr) AccessChain 56(id) 35
- 482: 11(int) Load 481
- 483: 147(ptr) AccessChain 119 122 146 35
- 484: 84(int) Load 483
- 485: 84(int) ISub 484 234
- 486: 11(int) Bitcast 485
- 488: 164(bool) ULessThan 482 486
- 490: 164(bool) LogicalAnd 480 488
- SelectionMerge 492 None
- BranchConditional 490 491 492
- 491: Label
- 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 495 495 16 16
- 496: 11(int) Load 140(index)
- 497: 147(ptr) AccessChain 119 122 146 16
- 498: 84(int) Load 497
- 499: 11(int) Bitcast 498
- 500: 11(int) IAdd 496 499
- 501: 11(int) IAdd 500 35
- 503: 227(ptr) AccessChain 201(particleIn) 122 501 122
- 504: 82(fvec4) Load 503
- 505: 18(fvec3) VectorShuffle 504 504 0 1 2
- Store 502(param) 505
- 507: 18(fvec3) Load 257(pos)
- Store 506(param) 507
- 509: 124(ptr) AccessChain 119 122 421
- 510: 8(float) Load 509
- Store 508(param) 510
- 511: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 502(param) 506(param) 508(param)
- 512: 18(fvec3) Load 244(force)
- 513: 18(fvec3) FAdd 512 511
- Store 244(force) 513
- Branch 492
- 492: Label
- 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 516 516 16 16
- 517: 139(ptr) AccessChain 56(id) 16
- 518: 11(int) Load 517
- 519: 147(ptr) AccessChain 119 122 146 16
- 520: 84(int) Load 519
- 521: 84(int) ISub 520 234
- 522: 11(int) Bitcast 521
- 524: 164(bool) ULessThan 518 522
- 525: 139(ptr) AccessChain 56(id) 35
- 526: 11(int) Load 525
- 528: 164(bool) UGreaterThan 526 16
- 530: 164(bool) LogicalAnd 524 528
- SelectionMerge 532 None
- BranchConditional 530 531 532
- 531: Label
- 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 535 535 16 16
- 536: 11(int) Load 140(index)
- 537: 147(ptr) AccessChain 119 122 146 16
- 538: 84(int) Load 537
- 539: 11(int) Bitcast 538
- 540: 11(int) ISub 536 539
- 541: 11(int) IAdd 540 35
- 543: 227(ptr) AccessChain 201(particleIn) 122 541 122
- 544: 82(fvec4) Load 543
- 545: 18(fvec3) VectorShuffle 544 544 0 1 2
- Store 542(param) 545
- 547: 18(fvec3) Load 257(pos)
- Store 546(param) 547
- 549: 124(ptr) AccessChain 119 122 421
- 550: 8(float) Load 549
- Store 548(param) 550
- 551: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 542(param) 546(param) 548(param)
- 552: 18(fvec3) Load 244(force)
- 553: 18(fvec3) FAdd 552 551
- Store 244(force) 553
- Branch 532
- 532: Label
- 554: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 556 556 16 16
- 558: 124(ptr) AccessChain 119 122 557
- 559: 8(float) Load 558
- 560: 8(float) FNegate 559
- 561: 18(fvec3) Load 267(vel)
- 562: 18(fvec3) VectorTimesScalar 561 560
- 563: 18(fvec3) Load 244(force)
- 564: 18(fvec3) FAdd 563 562
- Store 244(force) 564
- 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 566 566 16 16
- 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 568 567(f) 43
- 571: 18(fvec3) Load 244(force)
- 572: 124(ptr) AccessChain 119 122 234
- 573: 8(float) Load 572
- 574: 8(float) FDiv 207 573
- 575: 18(fvec3) VectorTimesScalar 571 574
- Store 567(f) 575
- 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 577 577 16 16
- 578: 11(int) Load 140(index)
- 579: 18(fvec3) Load 257(pos)
- 580: 18(fvec3) Load 267(vel)
- 581: 124(ptr) AccessChain 119 122 122
- 582: 8(float) Load 581
- 583: 18(fvec3) VectorTimesScalar 580 582
- 584: 18(fvec3) FAdd 579 583
- 586: 18(fvec3) Load 567(f)
- 587: 18(fvec3) VectorTimesScalar 586 585
+ 210: Label
+ 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 242 242 16 16
+ 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 244 243(force) 43
+ 248: 226(ptr) AccessChain 119 122 247
+ 249: 82(fvec4) Load 248
+ 250: 18(fvec3) VectorShuffle 249 249 0 1 2
+ 251: 124(ptr) AccessChain 119 122 233
+ 252: 8(float) Load 251
+ 253: 18(fvec3) VectorTimesScalar 250 252
+ Store 243(force) 253
+ 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 255 255 16 16
+ 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 257 256(pos) 43
+ 260: 11(int) Load 140(index)
+ 261: 226(ptr) AccessChain 201(particleIn) 122 260 122
+ 262: 82(fvec4) Load 261
+ 263: 18(fvec3) VectorShuffle 262 262 0 1 2
+ Store 256(pos) 263
+ 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 265 265 16 16
+ 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 267 266(vel) 43
+ 270: 11(int) Load 140(index)
+ 271: 226(ptr) AccessChain 201(particleIn) 122 270 233
+ 272: 82(fvec4) Load 271
+ 273: 18(fvec3) VectorShuffle 272 272 0 1 2
+ Store 266(vel) 273
+ 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 275 275 16 16
+ 276: 139(ptr) AccessChain 56(id) 16
+ 277: 11(int) Load 276
+ 278: 164(bool) UGreaterThan 277 16
+ SelectionMerge 280 None
+ BranchConditional 278 279 280
+ 279: Label
+ 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 283 283 16 16
+ 284: 11(int) Load 140(index)
+ 285: 11(int) ISub 284 35
+ 287: 226(ptr) AccessChain 201(particleIn) 122 285 122
+ 288: 82(fvec4) Load 287
+ 289: 18(fvec3) VectorShuffle 288 288 0 1 2
+ Store 286(param) 289
+ 291: 18(fvec3) Load 256(pos)
+ Store 290(param) 291
+ 293: 124(ptr) AccessChain 119 122 204
+ 294: 8(float) Load 293
+ Store 292(param) 294
+ 295: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 286(param) 290(param) 292(param)
+ 296: 18(fvec3) Load 243(force)
+ 297: 18(fvec3) FAdd 296 295
+ Store 243(force) 297
+ Branch 280
+ 280: Label
+ 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 16 16
+ 301: 139(ptr) AccessChain 56(id) 16
+ 302: 11(int) Load 301
+ 303: 147(ptr) AccessChain 119 122 146 16
+ 304: 84(int) Load 303
+ 305: 84(int) ISub 304 233
+ 306: 11(int) Bitcast 305
+ 307: 164(bool) ULessThan 302 306
+ SelectionMerge 309 None
+ BranchConditional 307 308 309
+ 308: Label
+ 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 312 312 16 16
+ 313: 11(int) Load 140(index)
+ 314: 11(int) IAdd 313 35
+ 316: 226(ptr) AccessChain 201(particleIn) 122 314 122
+ 317: 82(fvec4) Load 316
+ 318: 18(fvec3) VectorShuffle 317 317 0 1 2
+ Store 315(param) 318
+ 320: 18(fvec3) Load 256(pos)
+ Store 319(param) 320
+ 322: 124(ptr) AccessChain 119 122 204
+ 323: 8(float) Load 322
+ Store 321(param) 323
+ 324: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 315(param) 319(param) 321(param)
+ 325: 18(fvec3) Load 243(force)
+ 326: 18(fvec3) FAdd 325 324
+ Store 243(force) 326
+ Branch 309
+ 309: Label
+ 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 329 329 16 16
+ 330: 139(ptr) AccessChain 56(id) 35
+ 331: 11(int) Load 330
+ 332: 147(ptr) AccessChain 119 122 146 35
+ 333: 84(int) Load 332
+ 334: 84(int) ISub 333 233
+ 335: 11(int) Bitcast 334
+ 336: 164(bool) ULessThan 331 335
+ SelectionMerge 338 None
+ BranchConditional 336 337 338
+ 337: Label
+ 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 341 341 16 16
+ 342: 11(int) Load 140(index)
+ 343: 147(ptr) AccessChain 119 122 146 16
+ 344: 84(int) Load 343
+ 345: 11(int) Bitcast 344
+ 346: 11(int) IAdd 342 345
+ 349: 226(ptr) AccessChain 201(particleIn) 122 346 122
+ 350: 82(fvec4) Load 349
+ 351: 18(fvec3) VectorShuffle 350 350 0 1 2
+ Store 348(param) 351
+ 353: 18(fvec3) Load 256(pos)
+ Store 352(param) 353
+ 355: 124(ptr) AccessChain 119 122 347
+ 356: 8(float) Load 355
+ Store 354(param) 356
+ 357: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 348(param) 352(param) 354(param)
+ 358: 18(fvec3) Load 243(force)
+ 359: 18(fvec3) FAdd 358 357
+ Store 243(force) 359
+ Branch 338
+ 338: Label
+ 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 16 16
+ 363: 139(ptr) AccessChain 56(id) 35
+ 364: 11(int) Load 363
+ 365: 164(bool) UGreaterThan 364 16
+ SelectionMerge 367 None
+ BranchConditional 365 366 367
+ 366: Label
+ 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 370 370 16 16
+ 371: 11(int) Load 140(index)
+ 372: 147(ptr) AccessChain 119 122 146 16
+ 373: 84(int) Load 372
+ 374: 11(int) Bitcast 373
+ 375: 11(int) ISub 371 374
+ 377: 226(ptr) AccessChain 201(particleIn) 122 375 122
+ 378: 82(fvec4) Load 377
+ 379: 18(fvec3) VectorShuffle 378 378 0 1 2
+ Store 376(param) 379
+ 381: 18(fvec3) Load 256(pos)
+ Store 380(param) 381
+ 383: 124(ptr) AccessChain 119 122 347
+ 384: 8(float) Load 383
+ Store 382(param) 384
+ 385: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 376(param) 380(param) 382(param)
+ 386: 18(fvec3) Load 243(force)
+ 387: 18(fvec3) FAdd 386 385
+ Store 243(force) 387
+ Branch 367
+ 367: Label
+ 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 390 390 16 16
+ 391: 139(ptr) AccessChain 56(id) 16
+ 392: 11(int) Load 391
+ 393: 164(bool) UGreaterThan 392 16
+ 394: 139(ptr) AccessChain 56(id) 35
+ 395: 11(int) Load 394
+ 396: 147(ptr) AccessChain 119 122 146 35
+ 397: 84(int) Load 396
+ 398: 84(int) ISub 397 233
+ 399: 11(int) Bitcast 398
+ 400: 164(bool) ULessThan 395 399
+ 401: 164(bool) LogicalAnd 393 400
+ SelectionMerge 403 None
+ BranchConditional 401 402 403
+ 402: Label
+ 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 406 406 16 16
+ 407: 11(int) Load 140(index)
+ 408: 147(ptr) AccessChain 119 122 146 16
+ 409: 84(int) Load 408
+ 410: 11(int) Bitcast 409
+ 411: 11(int) IAdd 407 410
+ 412: 11(int) ISub 411 35
+ 415: 226(ptr) AccessChain 201(particleIn) 122 412 122
+ 416: 82(fvec4) Load 415
+ 417: 18(fvec3) VectorShuffle 416 416 0 1 2
+ Store 414(param) 417
+ 419: 18(fvec3) Load 256(pos)
+ Store 418(param) 419
+ 421: 124(ptr) AccessChain 119 122 413
+ 422: 8(float) Load 421
+ Store 420(param) 422
+ 423: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 414(param) 418(param) 420(param)
+ 424: 18(fvec3) Load 243(force)
+ 425: 18(fvec3) FAdd 424 423
+ Store 243(force) 425
+ Branch 403
+ 403: Label
+ 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 428 428 16 16
+ 429: 139(ptr) AccessChain 56(id) 16
+ 430: 11(int) Load 429
+ 431: 164(bool) UGreaterThan 430 16
+ 432: 139(ptr) AccessChain 56(id) 35
+ 433: 11(int) Load 432
+ 434: 164(bool) UGreaterThan 433 16
+ 435: 164(bool) LogicalAnd 431 434
+ SelectionMerge 437 None
+ BranchConditional 435 436 437
+ 436: Label
+ 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 440 440 16 16
+ 441: 11(int) Load 140(index)
+ 442: 147(ptr) AccessChain 119 122 146 16
+ 443: 84(int) Load 442
+ 444: 11(int) Bitcast 443
+ 445: 11(int) ISub 441 444
+ 446: 11(int) ISub 445 35
+ 448: 226(ptr) AccessChain 201(particleIn) 122 446 122
+ 449: 82(fvec4) Load 448
+ 450: 18(fvec3) VectorShuffle 449 449 0 1 2
+ Store 447(param) 450
+ 452: 18(fvec3) Load 256(pos)
+ Store 451(param) 452
+ 454: 124(ptr) AccessChain 119 122 413
+ 455: 8(float) Load 454
+ Store 453(param) 455
+ 456: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 447(param) 451(param) 453(param)
+ 457: 18(fvec3) Load 243(force)
+ 458: 18(fvec3) FAdd 457 456
+ Store 243(force) 458
+ Branch 437
+ 437: Label
+ 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 461 461 16 16
+ 462: 139(ptr) AccessChain 56(id) 16
+ 463: 11(int) Load 462
+ 464: 147(ptr) AccessChain 119 122 146 16
+ 465: 84(int) Load 464
+ 466: 84(int) ISub 465 233
+ 467: 11(int) Bitcast 466
+ 468: 164(bool) ULessThan 463 467
+ 469: 139(ptr) AccessChain 56(id) 35
+ 470: 11(int) Load 469
+ 471: 147(ptr) AccessChain 119 122 146 35
+ 472: 84(int) Load 471
+ 473: 84(int) ISub 472 233
+ 474: 11(int) Bitcast 473
+ 475: 164(bool) ULessThan 470 474
+ 476: 164(bool) LogicalAnd 468 475
+ SelectionMerge 478 None
+ BranchConditional 476 477 478
+ 477: Label
+ 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 16 16
+ 482: 11(int) Load 140(index)
+ 483: 147(ptr) AccessChain 119 122 146 16
+ 484: 84(int) Load 483
+ 485: 11(int) Bitcast 484
+ 486: 11(int) IAdd 482 485
+ 487: 11(int) IAdd 486 35
+ 489: 226(ptr) AccessChain 201(particleIn) 122 487 122
+ 490: 82(fvec4) Load 489
+ 491: 18(fvec3) VectorShuffle 490 490 0 1 2
+ Store 488(param) 491
+ 493: 18(fvec3) Load 256(pos)
+ Store 492(param) 493
+ 495: 124(ptr) AccessChain 119 122 413
+ 496: 8(float) Load 495
+ Store 494(param) 496
+ 497: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 488(param) 492(param) 494(param)
+ 498: 18(fvec3) Load 243(force)
+ 499: 18(fvec3) FAdd 498 497
+ Store 243(force) 499
+ Branch 478
+ 478: Label
+ 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 502 502 16 16
+ 503: 139(ptr) AccessChain 56(id) 16
+ 504: 11(int) Load 503
+ 505: 147(ptr) AccessChain 119 122 146 16
+ 506: 84(int) Load 505
+ 507: 84(int) ISub 506 233
+ 508: 11(int) Bitcast 507
+ 509: 164(bool) ULessThan 504 508
+ 510: 139(ptr) AccessChain 56(id) 35
+ 511: 11(int) Load 510
+ 512: 164(bool) UGreaterThan 511 16
+ 513: 164(bool) LogicalAnd 509 512
+ SelectionMerge 515 None
+ BranchConditional 513 514 515
+ 514: Label
+ 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 518 518 16 16
+ 519: 11(int) Load 140(index)
+ 520: 147(ptr) AccessChain 119 122 146 16
+ 521: 84(int) Load 520
+ 522: 11(int) Bitcast 521
+ 523: 11(int) ISub 519 522
+ 524: 11(int) IAdd 523 35
+ 526: 226(ptr) AccessChain 201(particleIn) 122 524 122
+ 527: 82(fvec4) Load 526
+ 528: 18(fvec3) VectorShuffle 527 527 0 1 2
+ Store 525(param) 528
+ 530: 18(fvec3) Load 256(pos)
+ Store 529(param) 530
+ 532: 124(ptr) AccessChain 119 122 413
+ 533: 8(float) Load 532
+ Store 531(param) 533
+ 534: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 525(param) 529(param) 531(param)
+ 535: 18(fvec3) Load 243(force)
+ 536: 18(fvec3) FAdd 535 534
+ Store 243(force) 536
+ Branch 515
+ 515: Label
+ 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 539 539 16 16
+ 541: 124(ptr) AccessChain 119 122 540
+ 542: 8(float) Load 541
+ 543: 8(float) FNegate 542
+ 544: 18(fvec3) Load 266(vel)
+ 545: 18(fvec3) VectorTimesScalar 544 543
+ 546: 18(fvec3) Load 243(force)
+ 547: 18(fvec3) FAdd 546 545
+ Store 243(force) 547
+ 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 549 549 16 16
+ 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 551 550(f) 43
+ 554: 18(fvec3) Load 243(force)
+ 555: 124(ptr) AccessChain 119 122 233
+ 556: 8(float) Load 555
+ 557: 8(float) FDiv 207 556
+ 558: 18(fvec3) VectorTimesScalar 554 557
+ Store 550(f) 558
+ 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 560 560 16 16
+ 561: 11(int) Load 140(index)
+ 562: 18(fvec3) Load 256(pos)
+ 563: 18(fvec3) Load 266(vel)
+ 564: 124(ptr) AccessChain 119 122 122
+ 565: 8(float) Load 564
+ 566: 18(fvec3) VectorTimesScalar 563 565
+ 567: 18(fvec3) FAdd 562 566
+ 569: 18(fvec3) Load 550(f)
+ 570: 18(fvec3) VectorTimesScalar 569 568
+ 571: 124(ptr) AccessChain 119 122 122
+ 572: 8(float) Load 571
+ 573: 18(fvec3) VectorTimesScalar 570 572
+ 574: 124(ptr) AccessChain 119 122 122
+ 575: 8(float) Load 574
+ 576: 18(fvec3) VectorTimesScalar 573 575
+ 577: 18(fvec3) FAdd 567 576
+ 578: 8(float) CompositeExtract 577 0
+ 579: 8(float) CompositeExtract 577 1
+ 580: 8(float) CompositeExtract 577 2
+ 581: 82(fvec4) CompositeConstruct 578 579 580 207
+ 582: 226(ptr) AccessChain 222(particleOut) 122 561 122
+ Store 582 581
+ 583: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 584 584 16 16
+ 585: 11(int) Load 140(index)
+ 586: 18(fvec3) Load 266(vel)
+ 587: 18(fvec3) Load 550(f)
588: 124(ptr) AccessChain 119 122 122
589: 8(float) Load 588
590: 18(fvec3) VectorTimesScalar 587 589
- 591: 124(ptr) AccessChain 119 122 122
- 592: 8(float) Load 591
- 593: 18(fvec3) VectorTimesScalar 590 592
- 594: 18(fvec3) FAdd 584 593
- 595: 8(float) CompositeExtract 594 0
- 596: 8(float) CompositeExtract 594 1
- 597: 8(float) CompositeExtract 594 2
- 598: 82(fvec4) CompositeConstruct 595 596 597 207
- 599: 227(ptr) AccessChain 223(particleOut) 122 578 122
- Store 599 598
- 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 601 601 16 16
- 602: 11(int) Load 140(index)
- 603: 18(fvec3) Load 267(vel)
- 604: 18(fvec3) Load 567(f)
- 605: 124(ptr) AccessChain 119 122 122
- 606: 8(float) Load 605
- 607: 18(fvec3) VectorTimesScalar 604 606
- 608: 18(fvec3) FAdd 603 607
- 609: 8(float) CompositeExtract 608 0
- 610: 8(float) CompositeExtract 608 1
- 611: 8(float) CompositeExtract 608 2
- 612: 82(fvec4) CompositeConstruct 609 610 611 235
- 613: 227(ptr) AccessChain 223(particleOut) 122 602 234
- Store 613 612
- 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 615 615 16 16
- 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 617 616(sphereDist) 43
- 620: 11(int) Load 140(index)
- 621: 227(ptr) AccessChain 223(particleOut) 122 620 122
- 622: 82(fvec4) Load 621
- 623: 18(fvec3) VectorShuffle 622 622 0 1 2
- 625: 227(ptr) AccessChain 119 122 624
- 626: 82(fvec4) Load 625
- 627: 18(fvec3) VectorShuffle 626 626 0 1 2
- 628: 18(fvec3) FSub 623 627
- Store 616(sphereDist) 628
- 629: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 630 630 16 16
- 631: 18(fvec3) Load 616(sphereDist)
- 632: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 631
- 634: 124(ptr) AccessChain 119 122 633
- 635: 8(float) Load 634
- 637: 8(float) FAdd 635 636
- 639: 164(bool) FOrdLessThan 632 637
- SelectionMerge 641 None
- BranchConditional 639 640 641
- 640: Label
- 642: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 644 644 16 16
- 645: 11(int) Load 140(index)
- 646: 227(ptr) AccessChain 119 122 624
- 647: 82(fvec4) Load 646
- 648: 18(fvec3) VectorShuffle 647 647 0 1 2
- 649: 18(fvec3) Load 616(sphereDist)
- 650: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 649
- 651: 124(ptr) AccessChain 119 122 633
- 652: 8(float) Load 651
- 653: 8(float) FAdd 652 636
- 654: 18(fvec3) VectorTimesScalar 650 653
- 655: 18(fvec3) FAdd 648 654
- 656: 124(ptr) AccessChain 223(particleOut) 122 645 122 16
- 657: 8(float) CompositeExtract 655 0
- Store 656 657
- 658: 124(ptr) AccessChain 223(particleOut) 122 645 122 35
- 659: 8(float) CompositeExtract 655 1
- Store 658 659
- 660: 124(ptr) AccessChain 223(particleOut) 122 645 122 46
- 661: 8(float) CompositeExtract 655 2
- Store 660 661
- 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 663 663 16 16
- 664: 11(int) Load 140(index)
- 665: 227(ptr) AccessChain 223(particleOut) 122 664 234
- Store 665 236
- Branch 641
- 641: Label
- 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 668 668 16 16
- 686: 685(ptr) AccessChain 683 122 122
- 687: 11(int) Load 686
- 689: 164(bool) IEqual 687 35
- SelectionMerge 691 None
- BranchConditional 689 690 691
- 690: Label
- 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 694 694 16 16
- 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 696 695(normal) 43
- Store 695(normal) 698
- 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 700 700 16 16
- 701: 139(ptr) AccessChain 56(id) 35
- 702: 11(int) Load 701
- 704: 164(bool) UGreaterThan 702 16
- SelectionMerge 706 None
- BranchConditional 704 705 706
- 705: Label
- 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 709 709 16 16
- 710: 139(ptr) AccessChain 56(id) 16
- 711: 11(int) Load 710
- 713: 164(bool) UGreaterThan 711 16
- SelectionMerge 715 None
- BranchConditional 713 714 715
- 714: Label
- 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 718 718 16 16
- 722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 720 719(a) 43
- 723: 11(int) Load 140(index)
- 724: 11(int) ISub 723 35
- 725: 227(ptr) AccessChain 201(particleIn) 122 724 122
- 726: 82(fvec4) Load 725
- 727: 18(fvec3) VectorShuffle 726 726 0 1 2
- 728: 18(fvec3) Load 257(pos)
- 729: 18(fvec3) FSub 727 728
- Store 719(a) 729
- 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 731 731 16 16
- 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 733 732(b) 43
- 736: 11(int) Load 140(index)
- 737: 147(ptr) AccessChain 119 122 146 16
- 738: 84(int) Load 737
- 739: 11(int) Bitcast 738
- 740: 11(int) ISub 736 739
- 741: 11(int) ISub 740 35
- 742: 227(ptr) AccessChain 201(particleIn) 122 741 122
- 743: 82(fvec4) Load 742
- 744: 18(fvec3) VectorShuffle 743 743 0 1 2
- 745: 18(fvec3) Load 257(pos)
- 746: 18(fvec3) FSub 744 745
- Store 732(b) 746
- 747: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 748 748 16 16
- 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 750 749(c) 43
- 753: 11(int) Load 140(index)
- 754: 147(ptr) AccessChain 119 122 146 16
- 755: 84(int) Load 754
- 756: 11(int) Bitcast 755
- 757: 11(int) ISub 753 756
- 758: 227(ptr) AccessChain 201(particleIn) 122 757 122
- 759: 82(fvec4) Load 758
- 760: 18(fvec3) VectorShuffle 759 759 0 1 2
- 761: 18(fvec3) Load 257(pos)
- 762: 18(fvec3) FSub 760 761
- Store 749(c) 762
- 763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 764 764 16 16
- 765: 18(fvec3) Load 719(a)
- 766: 18(fvec3) Load 732(b)
- 767: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 765 766
- 768: 18(fvec3) Load 732(b)
- 769: 18(fvec3) Load 749(c)
- 770: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 768 769
- 771: 18(fvec3) FAdd 767 770
- 772: 18(fvec3) Load 695(normal)
- 773: 18(fvec3) FAdd 772 771
- Store 695(normal) 773
- Branch 715
- 715: Label
- 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 775: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 776 776 16 16
- 777: 139(ptr) AccessChain 56(id) 16
- 778: 11(int) Load 777
- 779: 147(ptr) AccessChain 119 122 146 16
- 780: 84(int) Load 779
- 781: 84(int) ISub 780 234
- 782: 11(int) Bitcast 781
- 784: 164(bool) ULessThan 778 782
- SelectionMerge 786 None
- BranchConditional 784 785 786
- 785: Label
- 787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 789 789 16 16
- 790: 11(int) Load 140(index)
- 791: 147(ptr) AccessChain 119 122 146 16
- 792: 84(int) Load 791
- 793: 11(int) Bitcast 792
- 794: 11(int) ISub 790 793
- 795: 227(ptr) AccessChain 201(particleIn) 122 794 122
+ 591: 18(fvec3) FAdd 586 590
+ 592: 8(float) CompositeExtract 591 0
+ 593: 8(float) CompositeExtract 591 1
+ 594: 8(float) CompositeExtract 591 2
+ 595: 82(fvec4) CompositeConstruct 592 593 594 234
+ 596: 226(ptr) AccessChain 222(particleOut) 122 585 233
+ Store 596 595
+ 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 598 598 16 16
+ 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 600 599(sphereDist) 43
+ 603: 11(int) Load 140(index)
+ 604: 226(ptr) AccessChain 222(particleOut) 122 603 122
+ 605: 82(fvec4) Load 604
+ 606: 18(fvec3) VectorShuffle 605 605 0 1 2
+ 608: 226(ptr) AccessChain 119 122 607
+ 609: 82(fvec4) Load 608
+ 610: 18(fvec3) VectorShuffle 609 609 0 1 2
+ 611: 18(fvec3) FSub 606 610
+ Store 599(sphereDist) 611
+ 612: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 613 613 16 16
+ 614: 18(fvec3) Load 599(sphereDist)
+ 615: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 614
+ 617: 124(ptr) AccessChain 119 122 616
+ 618: 8(float) Load 617
+ 620: 8(float) FAdd 618 619
+ 621: 164(bool) FOrdLessThan 615 620
+ SelectionMerge 623 None
+ BranchConditional 621 622 623
+ 622: Label
+ 624: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 626 626 16 16
+ 627: 11(int) Load 140(index)
+ 628: 226(ptr) AccessChain 119 122 607
+ 629: 82(fvec4) Load 628
+ 630: 18(fvec3) VectorShuffle 629 629 0 1 2
+ 631: 18(fvec3) Load 599(sphereDist)
+ 632: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 631
+ 633: 124(ptr) AccessChain 119 122 616
+ 634: 8(float) Load 633
+ 635: 8(float) FAdd 634 619
+ 636: 18(fvec3) VectorTimesScalar 632 635
+ 637: 18(fvec3) FAdd 630 636
+ 638: 124(ptr) AccessChain 222(particleOut) 122 627 122 16
+ 639: 8(float) CompositeExtract 637 0
+ Store 638 639
+ 640: 124(ptr) AccessChain 222(particleOut) 122 627 122 35
+ 641: 8(float) CompositeExtract 637 1
+ Store 640 641
+ 642: 124(ptr) AccessChain 222(particleOut) 122 627 122 46
+ 643: 8(float) CompositeExtract 637 2
+ Store 642 643
+ 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 645 645 16 16
+ 646: 11(int) Load 140(index)
+ 647: 226(ptr) AccessChain 222(particleOut) 122 646 233
+ Store 647 235
+ Branch 623
+ 623: Label
+ 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 650 650 16 16
+ 668: 667(ptr) AccessChain 665 122 122
+ 669: 11(int) Load 668
+ 670: 164(bool) IEqual 669 35
+ SelectionMerge 672 None
+ BranchConditional 670 671 672
+ 671: Label
+ 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 675 675 16 16
+ 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 677 676(normal) 43
+ Store 676(normal) 679
+ 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 681 681 16 16
+ 682: 139(ptr) AccessChain 56(id) 35
+ 683: 11(int) Load 682
+ 684: 164(bool) UGreaterThan 683 16
+ SelectionMerge 686 None
+ BranchConditional 684 685 686
+ 685: Label
+ 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 689 689 16 16
+ 690: 139(ptr) AccessChain 56(id) 16
+ 691: 11(int) Load 690
+ 692: 164(bool) UGreaterThan 691 16
+ SelectionMerge 694 None
+ BranchConditional 692 693 694
+ 693: Label
+ 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 697 697 16 16
+ 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 699 698(a) 43
+ 702: 11(int) Load 140(index)
+ 703: 11(int) ISub 702 35
+ 704: 226(ptr) AccessChain 201(particleIn) 122 703 122
+ 705: 82(fvec4) Load 704
+ 706: 18(fvec3) VectorShuffle 705 705 0 1 2
+ 707: 18(fvec3) Load 256(pos)
+ 708: 18(fvec3) FSub 706 707
+ Store 698(a) 708
+ 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 710 710 16 16
+ 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(b) 43
+ 715: 11(int) Load 140(index)
+ 716: 147(ptr) AccessChain 119 122 146 16
+ 717: 84(int) Load 716
+ 718: 11(int) Bitcast 717
+ 719: 11(int) ISub 715 718
+ 720: 11(int) ISub 719 35
+ 721: 226(ptr) AccessChain 201(particleIn) 122 720 122
+ 722: 82(fvec4) Load 721
+ 723: 18(fvec3) VectorShuffle 722 722 0 1 2
+ 724: 18(fvec3) Load 256(pos)
+ 725: 18(fvec3) FSub 723 724
+ Store 711(b) 725
+ 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 727 727 16 16
+ 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(c) 43
+ 732: 11(int) Load 140(index)
+ 733: 147(ptr) AccessChain 119 122 146 16
+ 734: 84(int) Load 733
+ 735: 11(int) Bitcast 734
+ 736: 11(int) ISub 732 735
+ 737: 226(ptr) AccessChain 201(particleIn) 122 736 122
+ 738: 82(fvec4) Load 737
+ 739: 18(fvec3) VectorShuffle 738 738 0 1 2
+ 740: 18(fvec3) Load 256(pos)
+ 741: 18(fvec3) FSub 739 740
+ Store 728(c) 741
+ 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 743 743 16 16
+ 744: 18(fvec3) Load 698(a)
+ 745: 18(fvec3) Load 711(b)
+ 746: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 744 745
+ 747: 18(fvec3) Load 711(b)
+ 748: 18(fvec3) Load 728(c)
+ 749: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 747 748
+ 750: 18(fvec3) FAdd 746 749
+ 751: 18(fvec3) Load 676(normal)
+ 752: 18(fvec3) FAdd 751 750
+ Store 676(normal) 752
+ Branch 694
+ 694: Label
+ 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 755 755 16 16
+ 756: 139(ptr) AccessChain 56(id) 16
+ 757: 11(int) Load 756
+ 758: 147(ptr) AccessChain 119 122 146 16
+ 759: 84(int) Load 758
+ 760: 84(int) ISub 759 233
+ 761: 11(int) Bitcast 760
+ 762: 164(bool) ULessThan 757 761
+ SelectionMerge 764 None
+ BranchConditional 762 763 764
+ 763: Label
+ 765: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 767 767 16 16
+ 768: 11(int) Load 140(index)
+ 769: 147(ptr) AccessChain 119 122 146 16
+ 770: 84(int) Load 769
+ 771: 11(int) Bitcast 770
+ 772: 11(int) ISub 768 771
+ 773: 226(ptr) AccessChain 201(particleIn) 122 772 122
+ 774: 82(fvec4) Load 773
+ 775: 18(fvec3) VectorShuffle 774 774 0 1 2
+ 776: 18(fvec3) Load 256(pos)
+ 777: 18(fvec3) FSub 775 776
+ Store 698(a) 777
+ 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 779 779 16 16
+ 780: 11(int) Load 140(index)
+ 781: 147(ptr) AccessChain 119 122 146 16
+ 782: 84(int) Load 781
+ 783: 11(int) Bitcast 782
+ 784: 11(int) ISub 780 783
+ 785: 11(int) IAdd 784 35
+ 786: 226(ptr) AccessChain 201(particleIn) 122 785 122
+ 787: 82(fvec4) Load 786
+ 788: 18(fvec3) VectorShuffle 787 787 0 1 2
+ 789: 18(fvec3) Load 256(pos)
+ 790: 18(fvec3) FSub 788 789
+ Store 711(b) 790
+ 791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 792 792 16 16
+ 793: 11(int) Load 140(index)
+ 794: 11(int) IAdd 793 35
+ 795: 226(ptr) AccessChain 201(particleIn) 122 794 122
796: 82(fvec4) Load 795
797: 18(fvec3) VectorShuffle 796 796 0 1 2
- 798: 18(fvec3) Load 257(pos)
+ 798: 18(fvec3) Load 256(pos)
799: 18(fvec3) FSub 797 798
- Store 719(a) 799
+ Store 728(c) 799
800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 801 801 16 16
- 802: 11(int) Load 140(index)
- 803: 147(ptr) AccessChain 119 122 146 16
- 804: 84(int) Load 803
- 805: 11(int) Bitcast 804
- 806: 11(int) ISub 802 805
- 807: 11(int) IAdd 806 35
- 808: 227(ptr) AccessChain 201(particleIn) 122 807 122
- 809: 82(fvec4) Load 808
- 810: 18(fvec3) VectorShuffle 809 809 0 1 2
- 811: 18(fvec3) Load 257(pos)
- 812: 18(fvec3) FSub 810 811
- Store 732(b) 812
- 813: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 814 814 16 16
- 815: 11(int) Load 140(index)
- 816: 11(int) IAdd 815 35
- 817: 227(ptr) AccessChain 201(particleIn) 122 816 122
- 818: 82(fvec4) Load 817
- 819: 18(fvec3) VectorShuffle 818 818 0 1 2
- 820: 18(fvec3) Load 257(pos)
- 821: 18(fvec3) FSub 819 820
- Store 749(c) 821
- 822: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 823 823 16 16
- 824: 18(fvec3) Load 719(a)
- 825: 18(fvec3) Load 732(b)
- 826: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 824 825
- 827: 18(fvec3) Load 732(b)
- 828: 18(fvec3) Load 749(c)
- 829: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 827 828
- 830: 18(fvec3) FAdd 826 829
- 831: 18(fvec3) Load 695(normal)
- 832: 18(fvec3) FAdd 831 830
- Store 695(normal) 832
- Branch 786
- 786: Label
- Branch 706
- 706: Label
- 833: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 835 835 16 16
- 836: 139(ptr) AccessChain 56(id) 35
- 837: 11(int) Load 836
- 838: 147(ptr) AccessChain 119 122 146 35
- 839: 84(int) Load 838
- 840: 84(int) ISub 839 234
- 841: 11(int) Bitcast 840
- 843: 164(bool) ULessThan 837 841
- SelectionMerge 845 None
- BranchConditional 843 844 845
- 844: Label
- 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 848 848 16 16
- 849: 139(ptr) AccessChain 56(id) 16
- 850: 11(int) Load 849
- 852: 164(bool) UGreaterThan 850 16
- SelectionMerge 854 None
- BranchConditional 852 853 854
- 853: Label
- 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 856: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 857 857 16 16
- 858: 11(int) Load 140(index)
- 859: 147(ptr) AccessChain 119 122 146 16
- 860: 84(int) Load 859
- 861: 11(int) Bitcast 860
- 862: 11(int) IAdd 858 861
- 863: 227(ptr) AccessChain 201(particleIn) 122 862 122
- 864: 82(fvec4) Load 863
- 865: 18(fvec3) VectorShuffle 864 864 0 1 2
- 866: 18(fvec3) Load 257(pos)
- 867: 18(fvec3) FSub 865 866
- Store 719(a) 867
- 868: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 869 869 16 16
- 870: 11(int) Load 140(index)
- 871: 147(ptr) AccessChain 119 122 146 16
- 872: 84(int) Load 871
- 873: 11(int) Bitcast 872
- 874: 11(int) IAdd 870 873
- 875: 11(int) ISub 874 35
- 876: 227(ptr) AccessChain 201(particleIn) 122 875 122
- 877: 82(fvec4) Load 876
- 878: 18(fvec3) VectorShuffle 877 877 0 1 2
- 879: 18(fvec3) Load 257(pos)
- 880: 18(fvec3) FSub 878 879
- Store 732(b) 880
- 881: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 882 882 16 16
- 883: 11(int) Load 140(index)
- 884: 11(int) ISub 883 35
- 885: 227(ptr) AccessChain 201(particleIn) 122 884 122
- 886: 82(fvec4) Load 885
- 887: 18(fvec3) VectorShuffle 886 886 0 1 2
- 888: 18(fvec3) Load 257(pos)
- 889: 18(fvec3) FSub 887 888
- Store 749(c) 889
+ 802: 18(fvec3) Load 698(a)
+ 803: 18(fvec3) Load 711(b)
+ 804: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 802 803
+ 805: 18(fvec3) Load 711(b)
+ 806: 18(fvec3) Load 728(c)
+ 807: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 805 806
+ 808: 18(fvec3) FAdd 804 807
+ 809: 18(fvec3) Load 676(normal)
+ 810: 18(fvec3) FAdd 809 808
+ Store 676(normal) 810
+ Branch 764
+ 764: Label
+ Branch 686
+ 686: Label
+ 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 812: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 813 813 16 16
+ 814: 139(ptr) AccessChain 56(id) 35
+ 815: 11(int) Load 814
+ 816: 147(ptr) AccessChain 119 122 146 35
+ 817: 84(int) Load 816
+ 818: 84(int) ISub 817 233
+ 819: 11(int) Bitcast 818
+ 820: 164(bool) ULessThan 815 819
+ SelectionMerge 822 None
+ BranchConditional 820 821 822
+ 821: Label
+ 823: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 824: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 825 825 16 16
+ 826: 139(ptr) AccessChain 56(id) 16
+ 827: 11(int) Load 826
+ 828: 164(bool) UGreaterThan 827 16
+ SelectionMerge 830 None
+ BranchConditional 828 829 830
+ 829: Label
+ 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 833 833 16 16
+ 834: 11(int) Load 140(index)
+ 835: 147(ptr) AccessChain 119 122 146 16
+ 836: 84(int) Load 835
+ 837: 11(int) Bitcast 836
+ 838: 11(int) IAdd 834 837
+ 839: 226(ptr) AccessChain 201(particleIn) 122 838 122
+ 840: 82(fvec4) Load 839
+ 841: 18(fvec3) VectorShuffle 840 840 0 1 2
+ 842: 18(fvec3) Load 256(pos)
+ 843: 18(fvec3) FSub 841 842
+ Store 698(a) 843
+ 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 845 845 16 16
+ 846: 11(int) Load 140(index)
+ 847: 147(ptr) AccessChain 119 122 146 16
+ 848: 84(int) Load 847
+ 849: 11(int) Bitcast 848
+ 850: 11(int) IAdd 846 849
+ 851: 11(int) ISub 850 35
+ 852: 226(ptr) AccessChain 201(particleIn) 122 851 122
+ 853: 82(fvec4) Load 852
+ 854: 18(fvec3) VectorShuffle 853 853 0 1 2
+ 855: 18(fvec3) Load 256(pos)
+ 856: 18(fvec3) FSub 854 855
+ Store 711(b) 856
+ 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 858 858 16 16
+ 859: 11(int) Load 140(index)
+ 860: 11(int) ISub 859 35
+ 861: 226(ptr) AccessChain 201(particleIn) 122 860 122
+ 862: 82(fvec4) Load 861
+ 863: 18(fvec3) VectorShuffle 862 862 0 1 2
+ 864: 18(fvec3) Load 256(pos)
+ 865: 18(fvec3) FSub 863 864
+ Store 728(c) 865
+ 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 867 867 16 16
+ 868: 18(fvec3) Load 698(a)
+ 869: 18(fvec3) Load 711(b)
+ 870: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 868 869
+ 871: 18(fvec3) Load 711(b)
+ 872: 18(fvec3) Load 728(c)
+ 873: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 871 872
+ 874: 18(fvec3) FAdd 870 873
+ 875: 18(fvec3) Load 676(normal)
+ 876: 18(fvec3) FAdd 875 874
+ Store 676(normal) 876
+ Branch 830
+ 830: Label
+ 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 878: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 879 879 16 16
+ 880: 139(ptr) AccessChain 56(id) 16
+ 881: 11(int) Load 880
+ 882: 147(ptr) AccessChain 119 122 146 16
+ 883: 84(int) Load 882
+ 884: 84(int) ISub 883 233
+ 885: 11(int) Bitcast 884
+ 886: 164(bool) ULessThan 881 885
+ SelectionMerge 888 None
+ BranchConditional 886 887 888
+ 887: Label
+ 889: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
890: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 891 891 16 16
- 892: 18(fvec3) Load 719(a)
- 893: 18(fvec3) Load 732(b)
- 894: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 892 893
- 895: 18(fvec3) Load 732(b)
- 896: 18(fvec3) Load 749(c)
- 897: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 895 896
- 898: 18(fvec3) FAdd 894 897
- 899: 18(fvec3) Load 695(normal)
- 900: 18(fvec3) FAdd 899 898
- Store 695(normal) 900
- Branch 854
- 854: Label
- 901: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 902: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 903 903 16 16
- 904: 139(ptr) AccessChain 56(id) 16
- 905: 11(int) Load 904
- 906: 147(ptr) AccessChain 119 122 146 16
- 907: 84(int) Load 906
- 908: 84(int) ISub 907 234
- 909: 11(int) Bitcast 908
- 911: 164(bool) ULessThan 905 909
- SelectionMerge 913 None
- BranchConditional 911 912 913
- 912: Label
- 914: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 915: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 916 916 16 16
- 917: 11(int) Load 140(index)
- 918: 11(int) IAdd 917 35
- 919: 227(ptr) AccessChain 201(particleIn) 122 918 122
+ 892: 11(int) Load 140(index)
+ 893: 11(int) IAdd 892 35
+ 894: 226(ptr) AccessChain 201(particleIn) 122 893 122
+ 895: 82(fvec4) Load 894
+ 896: 18(fvec3) VectorShuffle 895 895 0 1 2
+ 897: 18(fvec3) Load 256(pos)
+ 898: 18(fvec3) FSub 896 897
+ Store 698(a) 898
+ 899: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 900 900 16 16
+ 901: 11(int) Load 140(index)
+ 902: 147(ptr) AccessChain 119 122 146 16
+ 903: 84(int) Load 902
+ 904: 11(int) Bitcast 903
+ 905: 11(int) IAdd 901 904
+ 906: 11(int) IAdd 905 35
+ 907: 226(ptr) AccessChain 201(particleIn) 122 906 122
+ 908: 82(fvec4) Load 907
+ 909: 18(fvec3) VectorShuffle 908 908 0 1 2
+ 910: 18(fvec3) Load 256(pos)
+ 911: 18(fvec3) FSub 909 910
+ Store 711(b) 911
+ 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 913 913 16 16
+ 914: 11(int) Load 140(index)
+ 915: 147(ptr) AccessChain 119 122 146 16
+ 916: 84(int) Load 915
+ 917: 11(int) Bitcast 916
+ 918: 11(int) IAdd 914 917
+ 919: 226(ptr) AccessChain 201(particleIn) 122 918 122
920: 82(fvec4) Load 919
921: 18(fvec3) VectorShuffle 920 920 0 1 2
- 922: 18(fvec3) Load 257(pos)
+ 922: 18(fvec3) Load 256(pos)
923: 18(fvec3) FSub 921 922
- Store 719(a) 923
+ Store 728(c) 923
924: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 925 925 16 16
- 926: 11(int) Load 140(index)
- 927: 147(ptr) AccessChain 119 122 146 16
- 928: 84(int) Load 927
- 929: 11(int) Bitcast 928
- 930: 11(int) IAdd 926 929
- 931: 11(int) IAdd 930 35
- 932: 227(ptr) AccessChain 201(particleIn) 122 931 122
- 933: 82(fvec4) Load 932
- 934: 18(fvec3) VectorShuffle 933 933 0 1 2
- 935: 18(fvec3) Load 257(pos)
- 936: 18(fvec3) FSub 934 935
- Store 732(b) 936
- 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 938 938 16 16
- 939: 11(int) Load 140(index)
- 940: 147(ptr) AccessChain 119 122 146 16
- 941: 84(int) Load 940
- 942: 11(int) Bitcast 941
- 943: 11(int) IAdd 939 942
- 944: 227(ptr) AccessChain 201(particleIn) 122 943 122
- 945: 82(fvec4) Load 944
- 946: 18(fvec3) VectorShuffle 945 945 0 1 2
- 947: 18(fvec3) Load 257(pos)
- 948: 18(fvec3) FSub 946 947
- Store 749(c) 948
- 949: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 950 950 16 16
- 951: 18(fvec3) Load 719(a)
- 952: 18(fvec3) Load 732(b)
- 953: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 951 952
- 954: 18(fvec3) Load 732(b)
- 955: 18(fvec3) Load 749(c)
- 956: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 954 955
- 957: 18(fvec3) FAdd 953 956
- 958: 18(fvec3) Load 695(normal)
- 959: 18(fvec3) FAdd 958 957
- Store 695(normal) 959
- Branch 913
- 913: Label
- Branch 845
- 845: Label
- 960: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
- 961: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 962 962 16 16
- 963: 11(int) Load 140(index)
- 964: 18(fvec3) Load 695(normal)
- 965: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 964
- 966: 8(float) CompositeExtract 965 0
- 967: 8(float) CompositeExtract 965 1
- 968: 8(float) CompositeExtract 965 2
- 969: 82(fvec4) CompositeConstruct 966 967 968 235
- 970: 227(ptr) AccessChain 223(particleOut) 122 963 557
- Store 970 969
- Branch 691
- 691: Label
+ 926: 18(fvec3) Load 698(a)
+ 927: 18(fvec3) Load 711(b)
+ 928: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 926 927
+ 929: 18(fvec3) Load 711(b)
+ 930: 18(fvec3) Load 728(c)
+ 931: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 929 930
+ 932: 18(fvec3) FAdd 928 931
+ 933: 18(fvec3) Load 676(normal)
+ 934: 18(fvec3) FAdd 933 932
+ Store 676(normal) 934
+ Branch 888
+ 888: Label
+ Branch 822
+ 822: Label
+ 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60
+ 936: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 937 937 16 16
+ 938: 11(int) Load 140(index)
+ 939: 18(fvec3) Load 676(normal)
+ 940: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 939
+ 941: 8(float) CompositeExtract 940 0
+ 942: 8(float) CompositeExtract 940 1
+ 943: 8(float) CompositeExtract 940 2
+ 944: 82(fvec4) CompositeConstruct 941 942 943 234
+ 945: 226(ptr) AccessChain 222(particleOut) 122 938 540
+ Store 945 944
+ Branch 672
+ 672: Label
Return
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.frag.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.frag.out
index 42bf069daa..9fa17ff112 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.frag.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.frag.out
@@ -1,7 +1,7 @@
spv.debuginfo.hlsl.frag
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 890
+// Id's are bound by 879
Capability Shader
Capability ImageQuery
@@ -9,7 +9,7 @@ spv.debuginfo.hlsl.frag
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint Fragment 6 "main" 883 886
+ EntryPoint Fragment 6 "main" 872 875
ExecutionMode 6 OriginUpperLeft
1: String ""
9: String "float"
@@ -36,60 +36,60 @@ spv.debuginfo.hlsl.frag
101: String "inUV"
115: String "shadowCoord"
140: String "bool"
- 156: String "dist"
- 160: String "type.2d.image"
- 161: String "@type.2d.image"
- 166: String "textureShadowMap"
- 171: String "type.sampler"
- 172: String "@type.sampler"
- 176: String "samplerShadowMap"
- 180: String "type.sampled.image"
- 181: String "@type.sampled.image"
- 228: String "sizeQueryTemp"
- 233: String "int"
- 240: String "texDim"
- 254: String "elements"
- 261: String "levels"
- 270: String "scale"
- 277: String "dx"
- 289: String "dy"
- 301: String "shadowFactor"
- 307: String "count"
- 314: String "range"
- 321: String "x"
- 343: String "y"
- 407: String "i"
- 427: String "shadowClip"
- 439: String "color"
- 445: String "viewMatrix"
- 449: String "Light"
- 455: String "lights"
- 458: String "displayDebugTarget"
- 463: String "UBO"
- 466: String "ubo"
- 516: String "textureposition"
- 521: String "samplerposition"
- 533: String "normal"
- 537: String "textureNormal"
- 542: String "samplerNormal"
- 552: String "albedo"
- 556: String "textureAlbedo"
- 561: String "samplerAlbedo"
- 651: String "N"
- 677: String "L"
- 701: String "V"
- 716: String "lightCosInnerAngle"
- 723: String "lightCosOuterAngle"
- 730: String "lightRange"
- 737: String "dir"
- 753: String "cosDir"
- 762: String "spotEffect"
- 772: String "heightAttenuation"
- 781: String "NdotL"
- 791: String "diff"
- 799: String "R"
- 809: String "NdotR"
- 819: String "spec"
+ 154: String "dist"
+ 158: String "type.2d.image"
+ 159: String "@type.2d.image"
+ 164: String "textureShadowMap"
+ 169: String "type.sampler"
+ 170: String "@type.sampler"
+ 174: String "samplerShadowMap"
+ 178: String "type.sampled.image"
+ 179: String "@type.sampled.image"
+ 223: String "sizeQueryTemp"
+ 228: String "int"
+ 235: String "texDim"
+ 249: String "elements"
+ 256: String "levels"
+ 265: String "scale"
+ 272: String "dx"
+ 284: String "dy"
+ 296: String "shadowFactor"
+ 302: String "count"
+ 309: String "range"
+ 316: String "x"
+ 337: String "y"
+ 400: String "i"
+ 419: String "shadowClip"
+ 431: String "color"
+ 437: String "viewMatrix"
+ 441: String "Light"
+ 447: String "lights"
+ 450: String "displayDebugTarget"
+ 455: String "UBO"
+ 458: String "ubo"
+ 508: String "textureposition"
+ 513: String "samplerposition"
+ 525: String "normal"
+ 529: String "textureNormal"
+ 534: String "samplerNormal"
+ 544: String "albedo"
+ 548: String "textureAlbedo"
+ 553: String "samplerAlbedo"
+ 642: String "N"
+ 667: String "L"
+ 691: String "V"
+ 706: String "lightCosInnerAngle"
+ 713: String "lightCosOuterAngle"
+ 720: String "lightRange"
+ 727: String "dir"
+ 743: String "cosDir"
+ 752: String "spotEffect"
+ 762: String "heightAttenuation"
+ 771: String "NdotL"
+ 781: String "diff"
+ 789: String "R"
+ 799: String "NdotR"
+ 809: String "spec"
Name 6 "main"
Name 32 "textureProj(vf4;f1;vf2;"
Name 29 "P"
@@ -105,110 +105,110 @@ spv.debuginfo.hlsl.frag
Name 92 "inUV"
Name 107 "shadow"
Name 113 "shadowCoord"
- Name 154 "dist"
- Name 164 "textureShadowMap"
- Name 174 "samplerShadowMap"
- Name 226 "sizeQueryTemp"
- Name 238 "texDim"
- Name 252 "elements"
- Name 259 "levels"
- Name 268 "scale"
- Name 275 "dx"
- Name 287 "dy"
- Name 299 "shadowFactor"
- Name 305 "count"
- Name 312 "range"
- Name 319 "x"
- Name 341 "y"
- Name 372 "param"
- Name 374 "param"
- Name 376 "param"
- Name 405 "i"
- Name 425 "shadowClip"
- Name 437 "Light"
- MemberName 437(Light) 0 "position"
- MemberName 437(Light) 1 "target"
- MemberName 437(Light) 2 "color"
- MemberName 437(Light) 3 "viewMatrix"
- Name 452 "UBO"
- MemberName 452(UBO) 0 "viewPos"
- MemberName 452(UBO) 1 "lights"
- MemberName 452(UBO) 2 "useShadows"
- MemberName 452(UBO) 3 "displayDebugTarget"
- Name 464 "ubo"
- MemberName 464(ubo) 0 "ubo"
- Name 471 ""
- Name 480 "shadowFactor"
- Name 485 "param"
- Name 487 "param"
- Name 508 "fragPos"
- Name 514 "textureposition"
- Name 519 "samplerposition"
- Name 531 "normal"
- Name 535 "textureNormal"
- Name 540 "samplerNormal"
- Name 550 "albedo"
- Name 554 "textureAlbedo"
- Name 559 "samplerAlbedo"
- Name 589 "fragcolor"
- Name 593 "param"
- Name 594 "param"
- Name 649 "N"
- Name 657 "i"
- Name 675 "L"
- Name 688 "dist"
- Name 699 "V"
- Name 714 "lightCosInnerAngle"
- Name 721 "lightCosOuterAngle"
- Name 728 "lightRange"
- Name 735 "dir"
- Name 751 "cosDir"
- Name 760 "spotEffect"
- Name 770 "heightAttenuation"
- Name 779 "NdotL"
- Name 789 "diff"
- Name 797 "R"
- Name 807 "NdotR"
- Name 817 "spec"
- Name 866 "param"
- Name 868 "param"
- Name 881 "inUV"
- Name 883 "inUV"
- Name 886 "@entryPointOutput"
- Name 887 "param"
- Decorate 164(textureShadowMap) DescriptorSet 0
- Decorate 164(textureShadowMap) Binding 5
- Decorate 174(samplerShadowMap) DescriptorSet 0
- Decorate 174(samplerShadowMap) Binding 5
- MemberDecorate 437(Light) 0 Offset 0
- MemberDecorate 437(Light) 1 Offset 16
- MemberDecorate 437(Light) 2 Offset 32
- MemberDecorate 437(Light) 3 RowMajor
- MemberDecorate 437(Light) 3 Offset 48
- MemberDecorate 437(Light) 3 MatrixStride 16
- Decorate 450 ArrayStride 112
- MemberDecorate 452(UBO) 0 Offset 0
- MemberDecorate 452(UBO) 1 Offset 16
- MemberDecorate 452(UBO) 2 Offset 352
- MemberDecorate 452(UBO) 3 Offset 356
- MemberDecorate 464(ubo) 0 Offset 0
- Decorate 464(ubo) Block
- Decorate 471 DescriptorSet 0
- Decorate 471 Binding 4
- Decorate 514(textureposition) DescriptorSet 0
- Decorate 514(textureposition) Binding 1
- Decorate 519(samplerposition) DescriptorSet 0
- Decorate 519(samplerposition) Binding 1
- Decorate 535(textureNormal) DescriptorSet 0
- Decorate 535(textureNormal) Binding 2
- Decorate 540(samplerNormal) DescriptorSet 0
- Decorate 540(samplerNormal) Binding 2
- Decorate 554(textureAlbedo) DescriptorSet 0
- Decorate 554(textureAlbedo) Binding 3
- Decorate 559(samplerAlbedo) DescriptorSet 0
- Decorate 559(samplerAlbedo) Binding 3
- Decorate 883(inUV) Location 0
- Decorate 886(@entryPointOutput) Location 0
+ Name 152 "dist"
+ Name 162 "textureShadowMap"
+ Name 172 "samplerShadowMap"
+ Name 221 "sizeQueryTemp"
+ Name 233 "texDim"
+ Name 247 "elements"
+ Name 254 "levels"
+ Name 263 "scale"
+ Name 270 "dx"
+ Name 282 "dy"
+ Name 294 "shadowFactor"
+ Name 300 "count"
+ Name 307 "range"
+ Name 314 "x"
+ Name 335 "y"
+ Name 365 "param"
+ Name 367 "param"
+ Name 369 "param"
+ Name 398 "i"
+ Name 417 "shadowClip"
+ Name 429 "Light"
+ MemberName 429(Light) 0 "position"
+ MemberName 429(Light) 1 "target"
+ MemberName 429(Light) 2 "color"
+ MemberName 429(Light) 3 "viewMatrix"
+ Name 444 "UBO"
+ MemberName 444(UBO) 0 "viewPos"
+ MemberName 444(UBO) 1 "lights"
+ MemberName 444(UBO) 2 "useShadows"
+ MemberName 444(UBO) 3 "displayDebugTarget"
+ Name 456 "ubo"
+ MemberName 456(ubo) 0 "ubo"
+ Name 463 ""
+ Name 472 "shadowFactor"
+ Name 477 "param"
+ Name 479 "param"
+ Name 500 "fragPos"
+ Name 506 "textureposition"
+ Name 511 "samplerposition"
+ Name 523 "normal"
+ Name 527 "textureNormal"
+ Name 532 "samplerNormal"
+ Name 542 "albedo"
+ Name 546 "textureAlbedo"
+ Name 551 "samplerAlbedo"
+ Name 580 "fragcolor"
+ Name 584 "param"
+ Name 585 "param"
+ Name 640 "N"
+ Name 648 "i"
+ Name 665 "L"
+ Name 678 "dist"
+ Name 689 "V"
+ Name 704 "lightCosInnerAngle"
+ Name 711 "lightCosOuterAngle"
+ Name 718 "lightRange"
+ Name 725 "dir"
+ Name 741 "cosDir"
+ Name 750 "spotEffect"
+ Name 760 "heightAttenuation"
+ Name 769 "NdotL"
+ Name 779 "diff"
+ Name 787 "R"
+ Name 797 "NdotR"
+ Name 807 "spec"
+ Name 855 "param"
+ Name 857 "param"
+ Name 870 "inUV"
+ Name 872 "inUV"
+ Name 875 "@entryPointOutput"
+ Name 876 "param"
+ Decorate 162(textureShadowMap) DescriptorSet 0
+ Decorate 162(textureShadowMap) Binding 5
+ Decorate 172(samplerShadowMap) DescriptorSet 0
+ Decorate 172(samplerShadowMap) Binding 5
+ MemberDecorate 429(Light) 0 Offset 0
+ MemberDecorate 429(Light) 1 Offset 16
+ MemberDecorate 429(Light) 2 Offset 32
+ MemberDecorate 429(Light) 3 RowMajor
+ MemberDecorate 429(Light) 3 Offset 48
+ MemberDecorate 429(Light) 3 MatrixStride 16
+ Decorate 442 ArrayStride 112
+ MemberDecorate 444(UBO) 0 Offset 0
+ MemberDecorate 444(UBO) 1 Offset 16
+ MemberDecorate 444(UBO) 2 Offset 352
+ MemberDecorate 444(UBO) 3 Offset 356
+ MemberDecorate 456(ubo) 0 Offset 0
+ Decorate 456(ubo) Block
+ Decorate 463 DescriptorSet 0
+ Decorate 463 Binding 4
+ Decorate 506(textureposition) DescriptorSet 0
+ Decorate 506(textureposition) Binding 1
+ Decorate 511(samplerposition) DescriptorSet 0
+ Decorate 511(samplerposition) Binding 1
+ Decorate 527(textureNormal) DescriptorSet 0
+ Decorate 527(textureNormal) Binding 2
+ Decorate 532(samplerNormal) DescriptorSet 0
+ Decorate 532(samplerNormal) Binding 2
+ Decorate 546(textureAlbedo) DescriptorSet 0
+ Decorate 546(textureAlbedo) Binding 3
+ Decorate 551(samplerAlbedo) DescriptorSet 0
+ Decorate 551(samplerAlbedo) Binding 3
+ Decorate 872(inUV) Location 0
+ Decorate 875(@entryPointOutput) Location 0
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@@ -271,224 +271,213 @@ spv.debuginfo.hlsl.frag
138: 8(float) Constant 3212836864
139: TypeBool
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 153: 11(int) Constant 68
- 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 156 10 36 153 16 35 19
- 158: TypeImage 8(float) 2D array sampled format:Unknown
- 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
- 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 16 36 153 16 39 161 162 17
- 163: TypePointer UniformConstant 158
-164(textureShadowMap): 163(ptr) Variable UniformConstant
- 167: 11(int) Constant 8
- 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 166 159 36 153 16 39 166 164(textureShadowMap) 167
- 169: TypeSampler
- 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 153 16 39 172 162 17
- 173: TypePointer UniformConstant 169
-174(samplerShadowMap): 173(ptr) Variable UniformConstant
- 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 176 170 36 153 16 39 176 174(samplerShadowMap) 167
- 178: TypeSampledImage 158
- 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 16 36 153 16 39 181 162 17
- 194: 11(int) Constant 69
- 197: 8(float) Constant 0
- 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 211: 11(int) Constant 71
- 212: 8(float) Constant 1048576000
- 215: 11(int) Constant 74
- 222: 11(int) Constant 80
- 223: TypeVector 11(int) 3
- 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17
- 225: TypePointer Function 223(ivec3)
- 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 228 224 36 222 16 61 19
- 232: TypeInt 32 1
- 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 233 14 19 16
- 235: TypeVector 232(int) 2
- 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 234 24
- 237: TypePointer Function 235(ivec2)
- 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 240 236 36 222 16 61 19
- 242: TypePointer Function 11(int)
- 246: TypePointer Function 232(int)
- 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 234 36 222 16 61 19
- 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 234 36 222 16 61 19
- 267: 11(int) Constant 81
- 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 270 10 36 267 16 61 19
- 272: 8(float) Constant 1069547520
- 274: 11(int) Constant 82
- 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 10 36 274 16 61 19
- 286: 11(int) Constant 83
- 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 289 10 36 286 16 61 19
- 298: 11(int) Constant 85
- 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 301 10 36 298 16 61 19
- 304: 11(int) Constant 86
- 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 234 36 304 16 61 19
- 309: 232(int) Constant 0
- 311: 11(int) Constant 87
- 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 314 234 36 311 16 61 19
- 316: 232(int) Constant 1
- 318: 11(int) Constant 89
- 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 321 234 36 318 16 61 19
- 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 340: 11(int) Constant 91
- 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 343 234 36 340 16 61 19
- 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 362: 11(int) Constant 93
- 381: 11(int) Constant 94
- 394: 11(int) Constant 98
- 404: 11(int) Constant 102
- 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 407 234 36 404 16 80 19
- 419: 232(int) Constant 3
- 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 424: 11(int) Constant 104
- 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 427 20 36 424 16 80 19
- 434: TypeMatrix 18(fvec4) 4
- 436: 139(bool) ConstantTrue
- 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 436
- 437(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 434
- 440: 11(int) Constant 46
- 441: 11(int) Constant 14
- 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
- 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
- 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
- 446: 11(int) Constant 47
- 447: 11(int) Constant 21
- 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 445 435 36 446 447 16 16 17
- 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 449 40 36 424 16 39 449 16 17 438 442 443 444
- 450: TypeArray 437(Light) 17
- 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 448 17
- 452(UBO): TypeStruct 18(fvec4) 450 232(int) 232(int)
- 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
- 456: 11(int) Constant 53
- 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 455 451 36 456 441 16 16 17
- 459: 11(int) Constant 55
- 460: 11(int) Constant 24
- 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 234 36 459 460 16 16 17
- 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 234 36 459 460 16 16 17
- 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 463 40 36 424 16 39 463 16 17 453 454 457 461
- 464(ubo): TypeStruct 452(UBO)
- 467: 11(int) Constant 58
- 468: 11(int) Constant 37
- 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 466 462 36 467 468 16 16 17
- 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 466 40 36 424 16 39 466 16 17 465
- 470: TypePointer Uniform 464(ubo)
- 471: 470(ptr) Variable Uniform
- 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 469 36 424 16 39 1 471 167
- 474: TypePointer Uniform 434
- 479: 11(int) Constant 108
- 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 301 10 36 479 16 80 19
- 490: 11(int) Constant 113
- 500: 11(int) Constant 115
- 507: 11(int) Constant 121
- 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 507 16 96 19
- 511: TypeImage 8(float) 2D sampled format:Unknown
- 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 16 36 507 16 39 161 162 17
- 513: TypePointer UniformConstant 511
-514(textureposition): 513(ptr) Variable UniformConstant
- 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 36 507 16 39 516 514(textureposition) 167
- 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 507 16 39 172 162 17
-519(samplerposition): 173(ptr) Variable UniformConstant
- 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 521 518 36 507 16 39 521 519(samplerposition) 167
- 523: TypeSampledImage 511
- 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 16 36 507 16 39 181 162 17
- 530: 11(int) Constant 122
- 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 533 71 36 530 16 96 19
-535(textureNormal): 513(ptr) Variable UniformConstant
- 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 537 512 36 530 16 39 537 535(textureNormal) 167
- 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 530 16 39 172 162 17
-540(samplerNormal): 173(ptr) Variable UniformConstant
- 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 542 539 36 530 16 39 542 540(samplerNormal) 167
- 549: 11(int) Constant 123
- 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 552 20 36 549 16 96 19
-554(textureAlbedo): 513(ptr) Variable UniformConstant
- 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 556 512 36 549 16 39 556 554(textureAlbedo) 167
- 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 549 16 39 172 162 17
-559(samplerAlbedo): 173(ptr) Variable UniformConstant
- 560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 561 558 36 549 16 39 561 559(samplerAlbedo) 167
- 567: 11(int) Constant 128
- 568: TypePointer Uniform 232(int)
- 571: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 577: 11(int) Constant 129
- 588: 11(int) Constant 131
- 590: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 588 16 96 19
- 592: 70(fvec3) ConstantComposite 110 110 110
- 598: 11(int) Constant 132
- 602: 11(int) Constant 134
- 605: 11(int) Constant 135
- 609: 11(int) Constant 137
- 612: 11(int) Constant 138
- 616: 11(int) Constant 140
- 620: 11(int) Constant 141
- 624: 11(int) Constant 143
- 628: 11(int) Constant 144
- 633: 11(int) Constant 146
- 642: 11(int) Constant 150
- 645: 8(float) Constant 1036831949
- 648: 11(int) Constant 152
- 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 651 71 36 648 16 96 19
- 656: 11(int) Constant 154
- 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 407 234 36 656 16 96 19
- 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 674: 11(int) Constant 157
- 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 677 71 36 674 16 96 19
- 680: TypePointer Uniform 18(fvec4)
- 687: 11(int) Constant 159
- 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 156 10 36 687 16 96 19
- 694: 11(int) Constant 160
- 698: 11(int) Constant 163
- 700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 701 71 36 698 16 96 19
- 709: 11(int) Constant 164
- 713: 11(int) Constant 166
- 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 716 10 36 713 16 96 19
- 718: 8(float) Constant 1064781546
- 720: 11(int) Constant 167
- 722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 723 10 36 720 16 96 19
- 725: 8(float) Constant 1063781322
- 727: 11(int) Constant 168
- 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 10 36 727 16 96 19
- 732: 8(float) Constant 1120403456
- 734: 11(int) Constant 171
- 736: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 737 71 36 734 16 96 19
- 750: 11(int) Constant 174
- 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 753 10 36 750 16 96 19
- 759: 11(int) Constant 175
+ 151: 11(int) Constant 68
+ 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 154 10 36 151 16 35 19
+ 156: TypeImage 8(float) 2D array sampled format:Unknown
+ 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
+ 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 16 36 151 16 39 159 160 17
+ 161: TypePointer UniformConstant 156
+162(textureShadowMap): 161(ptr) Variable UniformConstant
+ 165: 11(int) Constant 8
+ 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 164 157 36 151 16 39 164 162(textureShadowMap) 165
+ 167: TypeSampler
+ 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 151 16 39 170 160 17
+ 171: TypePointer UniformConstant 167
+172(samplerShadowMap): 171(ptr) Variable UniformConstant
+ 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 174 168 36 151 16 39 174 172(samplerShadowMap) 165
+ 176: TypeSampledImage 156
+ 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 178 16 36 151 16 39 179 160 17
+ 192: 11(int) Constant 69
+ 195: 8(float) Constant 0
+ 206: 11(int) Constant 71
+ 207: 8(float) Constant 1048576000
+ 210: 11(int) Constant 74
+ 217: 11(int) Constant 80
+ 218: TypeVector 11(int) 3
+ 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17
+ 220: TypePointer Function 218(ivec3)
+ 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 223 219 36 217 16 61 19
+ 227: TypeInt 32 1
+ 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 228 14 19 16
+ 230: TypeVector 227(int) 2
+ 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 229 24
+ 232: TypePointer Function 230(ivec2)
+ 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 231 36 217 16 61 19
+ 237: TypePointer Function 11(int)
+ 241: TypePointer Function 227(int)
+ 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 249 229 36 217 16 61 19
+ 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 229 36 217 16 61 19
+ 262: 11(int) Constant 81
+ 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 10 36 262 16 61 19
+ 267: 8(float) Constant 1069547520
+ 269: 11(int) Constant 82
+ 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 272 10 36 269 16 61 19
+ 281: 11(int) Constant 83
+ 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 284 10 36 281 16 61 19
+ 293: 11(int) Constant 85
+ 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 296 10 36 293 16 61 19
+ 299: 11(int) Constant 86
+ 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 302 229 36 299 16 61 19
+ 304: 227(int) Constant 0
+ 306: 11(int) Constant 87
+ 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 309 229 36 306 16 61 19
+ 311: 227(int) Constant 1
+ 313: 11(int) Constant 89
+ 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 229 36 313 16 61 19
+ 334: 11(int) Constant 91
+ 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 337 229 36 334 16 61 19
+ 355: 11(int) Constant 93
+ 374: 11(int) Constant 94
+ 387: 11(int) Constant 98
+ 397: 11(int) Constant 102
+ 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 400 229 36 397 16 80 19
+ 412: 227(int) Constant 3
+ 416: 11(int) Constant 104
+ 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 419 20 36 416 16 80 19
+ 426: TypeMatrix 18(fvec4) 4
+ 428: 139(bool) ConstantTrue
+ 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 428
+ 429(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 426
+ 432: 11(int) Constant 46
+ 433: 11(int) Constant 14
+ 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17
+ 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17
+ 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17
+ 438: 11(int) Constant 47
+ 439: 11(int) Constant 21
+ 436: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 437 427 36 438 439 16 16 17
+ 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 441 40 36 416 16 39 441 16 17 430 434 435 436
+ 442: TypeArray 429(Light) 17
+ 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 440 17
+ 444(UBO): TypeStruct 18(fvec4) 442 227(int) 227(int)
+ 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17
+ 448: 11(int) Constant 53
+ 446: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 447 443 36 448 433 16 16 17
+ 451: 11(int) Constant 55
+ 452: 11(int) Constant 24
+ 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 450 229 36 451 452 16 16 17
+ 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 450 229 36 451 452 16 16 17
+ 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 455 40 36 416 16 39 455 16 17 445 446 449 453
+ 456(ubo): TypeStruct 444(UBO)
+ 459: 11(int) Constant 58
+ 460: 11(int) Constant 37
+ 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 454 36 459 460 16 16 17
+ 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 458 40 36 416 16 39 458 16 17 457
+ 462: TypePointer Uniform 456(ubo)
+ 463: 462(ptr) Variable Uniform
+ 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 461 36 416 16 39 1 463 165
+ 466: TypePointer Uniform 426
+ 471: 11(int) Constant 108
+ 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 296 10 36 471 16 80 19
+ 482: 11(int) Constant 113
+ 492: 11(int) Constant 115
+ 499: 11(int) Constant 121
+ 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 499 16 96 19
+ 503: TypeImage 8(float) 2D sampled format:Unknown
+ 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 16 36 499 16 39 159 160 17
+ 505: TypePointer UniformConstant 503
+506(textureposition): 505(ptr) Variable UniformConstant
+ 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 508 504 36 499 16 39 508 506(textureposition) 165
+ 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 499 16 39 170 160 17
+511(samplerposition): 171(ptr) Variable UniformConstant
+ 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 513 510 36 499 16 39 513 511(samplerposition) 165
+ 515: TypeSampledImage 503
+ 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 178 16 36 499 16 39 179 160 17
+ 522: 11(int) Constant 122
+ 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 525 71 36 522 16 96 19
+527(textureNormal): 505(ptr) Variable UniformConstant
+ 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 529 504 36 522 16 39 529 527(textureNormal) 165
+ 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 522 16 39 170 160 17
+532(samplerNormal): 171(ptr) Variable UniformConstant
+ 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 534 531 36 522 16 39 534 532(samplerNormal) 165
+ 541: 11(int) Constant 123
+ 543: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 544 20 36 541 16 96 19
+546(textureAlbedo): 505(ptr) Variable UniformConstant
+ 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 548 504 36 541 16 39 548 546(textureAlbedo) 165
+ 550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 541 16 39 170 160 17
+551(samplerAlbedo): 171(ptr) Variable UniformConstant
+ 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 553 550 36 541 16 39 553 551(samplerAlbedo) 165
+ 559: 11(int) Constant 128
+ 560: TypePointer Uniform 227(int)
+ 568: 11(int) Constant 129
+ 579: 11(int) Constant 131
+ 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 579 16 96 19
+ 583: 70(fvec3) ConstantComposite 110 110 110
+ 589: 11(int) Constant 132
+ 593: 11(int) Constant 134
+ 596: 11(int) Constant 135
+ 600: 11(int) Constant 137
+ 603: 11(int) Constant 138
+ 607: 11(int) Constant 140
+ 611: 11(int) Constant 141
+ 615: 11(int) Constant 143
+ 619: 11(int) Constant 144
+ 624: 11(int) Constant 146
+ 633: 11(int) Constant 150
+ 636: 8(float) Constant 1036831949
+ 639: 11(int) Constant 152
+ 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 642 71 36 639 16 96 19
+ 647: 11(int) Constant 154
+ 649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 400 229 36 647 16 96 19
+ 664: 11(int) Constant 157
+ 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 667 71 36 664 16 96 19
+ 670: TypePointer Uniform 18(fvec4)
+ 677: 11(int) Constant 159
+ 679: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 154 10 36 677 16 96 19
+ 684: 11(int) Constant 160
+ 688: 11(int) Constant 163
+ 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 691 71 36 688 16 96 19
+ 699: 11(int) Constant 164
+ 703: 11(int) Constant 166
+ 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 706 10 36 703 16 96 19
+ 708: 8(float) Constant 1064781546
+ 710: 11(int) Constant 167
+ 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 10 36 710 16 96 19
+ 715: 8(float) Constant 1063781322
+ 717: 11(int) Constant 168
+ 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 720 10 36 717 16 96 19
+ 722: 8(float) Constant 1120403456
+ 724: 11(int) Constant 171
+ 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 727 71 36 724 16 96 19
+ 740: 11(int) Constant 174
+ 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 743 10 36 740 16 96 19
+ 749: 11(int) Constant 175
+ 751: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 752 10 36 749 16 96 19
+ 759: 11(int) Constant 176
761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 762 10 36 759 16 96 19
- 769: 11(int) Constant 176
- 771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 772 10 36 769 16 96 19
- 778: 11(int) Constant 179
- 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 781 10 36 778 16 96 19
- 788: 11(int) Constant 180
- 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 791 71 36 788 16 96 19
- 796: 11(int) Constant 183
- 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 799 71 36 796 16 96 19
- 806: 11(int) Constant 184
- 808: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 809 10 36 806 16 96 19
- 816: 11(int) Constant 185
- 818: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 819 71 36 816 16 96 19
- 822: 8(float) Constant 1098907648
- 827: 8(float) Constant 1075838976
- 831: 11(int) Constant 187
- 840: 232(int) Constant 2
- 856: 11(int) Constant 191
- 859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
- 865: 11(int) Constant 193
- 873: 11(int) Constant 196
- 882: TypePointer Input 23(fvec2)
- 883(inUV): 882(ptr) Variable Input
- 885: TypePointer Output 18(fvec4)
-886(@entryPointOutput): 885(ptr) Variable Output
+ 768: 11(int) Constant 179
+ 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 771 10 36 768 16 96 19
+ 778: 11(int) Constant 180
+ 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 781 71 36 778 16 96 19
+ 786: 11(int) Constant 183
+ 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 789 71 36 786 16 96 19
+ 796: 11(int) Constant 184
+ 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 799 10 36 796 16 96 19
+ 806: 11(int) Constant 185
+ 808: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 809 71 36 806 16 96 19
+ 812: 8(float) Constant 1098907648
+ 817: 8(float) Constant 1075838976
+ 821: 11(int) Constant 187
+ 830: 227(int) Constant 2
+ 846: 11(int) Constant 191
+ 854: 11(int) Constant 193
+ 862: 11(int) Constant 196
+ 871: TypePointer Input 23(fvec2)
+ 872(inUV): 871(ptr) Variable Input
+ 874: TypePointer Output 18(fvec4)
+875(@entryPointOutput): 874(ptr) Variable Output
Line 1 119 1
6(main): 4 Function None 5
7: Label
- 881(inUV): 26(ptr) Variable Function
- 887(param): 26(ptr) Variable Function
+ 870(inUV): 26(ptr) Variable Function
+ 876(param): 26(ptr) Variable Function
Line 1 119 0
- 884: 23(fvec2) Load 883(inUV)
- Store 881(inUV) 884
- 888: 23(fvec2) Load 881(inUV)
- Store 887(param) 888
- 889: 18(fvec4) FunctionCall 93(@main(vf2;) 887(param)
- Store 886(@entryPointOutput) 889
+ 873: 23(fvec2) Load 872(inUV)
+ Store 870(inUV) 873
+ 877: 23(fvec2) Load 870(inUV)
+ Store 876(param) 877
+ 878: 18(fvec4) FunctionCall 93(@main(vf2;) 876(param)
+ Store 875(@entryPointOutput) 878
Return
FunctionEnd
Line 1 61 1
@@ -499,7 +488,7 @@ spv.debuginfo.hlsl.frag
33: Label
107(shadow): 22(ptr) Variable Function
113(shadowCoord): 21(ptr) Variable Function
- 154(dist): 22(ptr) Variable Function
+ 152(dist): 22(ptr) Variable Function
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 38 38 16 16
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 29(P) 47
@@ -536,612 +525,612 @@ spv.debuginfo.hlsl.frag
142: 139(bool) FOrdGreaterThan 137 138
143: 22(ptr) AccessChain 113(shadowCoord) 24
144: 8(float) Load 143
- 146: 139(bool) FOrdLessThan 144 110
- 148: 139(bool) LogicalAnd 142 146
- SelectionMerge 150 None
- BranchConditional 148 149 150
- 149: Label
- 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
- 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 153 153 16 16
- 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 155 154(dist) 47
- 168: 158 Load 164(textureShadowMap)
- 177: 169 Load 174(samplerShadowMap)
- 182: 178 SampledImage 168 177
- 183: 18(fvec4) Load 113(shadowCoord)
- 184: 23(fvec2) VectorShuffle 183 183 0 1
- 185: 23(fvec2) Load 31(offset)
- 186: 23(fvec2) FAdd 184 185
- 187: 8(float) Load 30(layer)
- 188: 8(float) CompositeExtract 186 0
- 189: 8(float) CompositeExtract 186 1
- 190: 70(fvec3) CompositeConstruct 188 189 187
- 191: 18(fvec4) ImageSampleImplicitLod 182 190
- 192: 8(float) CompositeExtract 191 0
- Store 154(dist) 192
- 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 194 194 16 16
- 195: 22(ptr) AccessChain 113(shadowCoord) 17
- 196: 8(float) Load 195
- 199: 139(bool) FOrdGreaterThan 196 197
- 200: 8(float) Load 154(dist)
- 201: 22(ptr) AccessChain 113(shadowCoord) 24
- 202: 8(float) Load 201
- 204: 139(bool) FOrdLessThan 200 202
- 206: 139(bool) LogicalAnd 199 204
- SelectionMerge 208 None
- BranchConditional 206 207 208
- 207: Label
- 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
- 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 211 211 16 16
- Store 107(shadow) 212
- Branch 208
- 208: Label
- Branch 150
- 150: Label
- 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
- 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 215 215 16 16
- 216: 8(float) Load 107(shadow)
- ReturnValue 216
+ 145: 139(bool) FOrdLessThan 144 110
+ 146: 139(bool) LogicalAnd 142 145
+ SelectionMerge 148 None
+ BranchConditional 146 147 148
+ 147: Label
+ 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
+ 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 151 151 16 16
+ 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 153 152(dist) 47
+ 166: 156 Load 162(textureShadowMap)
+ 175: 167 Load 172(samplerShadowMap)
+ 180: 176 SampledImage 166 175
+ 181: 18(fvec4) Load 113(shadowCoord)
+ 182: 23(fvec2) VectorShuffle 181 181 0 1
+ 183: 23(fvec2) Load 31(offset)
+ 184: 23(fvec2) FAdd 182 183
+ 185: 8(float) Load 30(layer)
+ 186: 8(float) CompositeExtract 184 0
+ 187: 8(float) CompositeExtract 184 1
+ 188: 70(fvec3) CompositeConstruct 186 187 185
+ 189: 18(fvec4) ImageSampleImplicitLod 180 188
+ 190: 8(float) CompositeExtract 189 0
+ Store 152(dist) 190
+ 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 192 192 16 16
+ 193: 22(ptr) AccessChain 113(shadowCoord) 17
+ 194: 8(float) Load 193
+ 196: 139(bool) FOrdGreaterThan 194 195
+ 197: 8(float) Load 152(dist)
+ 198: 22(ptr) AccessChain 113(shadowCoord) 24
+ 199: 8(float) Load 198
+ 200: 139(bool) FOrdLessThan 197 199
+ 201: 139(bool) LogicalAnd 196 200
+ SelectionMerge 203 None
+ BranchConditional 201 202 203
+ 202: Label
+ 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
+ 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 206 206 16 16
+ Store 107(shadow) 207
+ Branch 203
+ 203: Label
+ Branch 148
+ 148: Label
+ 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
+ 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 210 210 16 16
+ 211: 8(float) Load 107(shadow)
+ ReturnValue 211
FunctionEnd
Line 1 78 1
58(filterPCF(vf4;f1;): 8(float) Function None 54
56(sc): 21(ptr) FunctionParameter
57(layer): 22(ptr) FunctionParameter
59: Label
-226(sizeQueryTemp): 225(ptr) Variable Function
- 238(texDim): 237(ptr) Variable Function
- 252(elements): 246(ptr) Variable Function
- 259(levels): 246(ptr) Variable Function
- 268(scale): 22(ptr) Variable Function
- 275(dx): 22(ptr) Variable Function
- 287(dy): 22(ptr) Variable Function
-299(shadowFactor): 22(ptr) Variable Function
- 305(count): 246(ptr) Variable Function
- 312(range): 246(ptr) Variable Function
- 319(x): 246(ptr) Variable Function
- 341(y): 246(ptr) Variable Function
- 372(param): 21(ptr) Variable Function
- 374(param): 22(ptr) Variable Function
- 376(param): 26(ptr) Variable Function
+221(sizeQueryTemp): 220(ptr) Variable Function
+ 233(texDim): 232(ptr) Variable Function
+ 247(elements): 241(ptr) Variable Function
+ 254(levels): 241(ptr) Variable Function
+ 263(scale): 22(ptr) Variable Function
+ 270(dx): 22(ptr) Variable Function
+ 282(dy): 22(ptr) Variable Function
+294(shadowFactor): 22(ptr) Variable Function
+ 300(count): 241(ptr) Variable Function
+ 307(range): 241(ptr) Variable Function
+ 314(x): 241(ptr) Variable Function
+ 335(y): 241(ptr) Variable Function
+ 365(param): 21(ptr) Variable Function
+ 367(param): 22(ptr) Variable Function
+ 369(param): 26(ptr) Variable Function
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 62 62 16 16
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 56(sc) 47
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 57(layer) 47
- 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;)
- 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 222 222 16 16
- 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 227 226(sizeQueryTemp) 47
- 230: 158 Load 164(textureShadowMap)
- 231: 223(ivec3) ImageQuerySizeLod 230 16
- Store 226(sizeQueryTemp) 231
- 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 239 238(texDim) 47
- 243: 242(ptr) AccessChain 226(sizeQueryTemp) 16
+ 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;)
+ 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 217 217 16 16
+ 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 222 221(sizeQueryTemp) 47
+ 225: 156 Load 162(textureShadowMap)
+ 226: 218(ivec3) ImageQuerySizeLod 225 16
+ Store 221(sizeQueryTemp) 226
+ 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(texDim) 47
+ 238: 237(ptr) AccessChain 221(sizeQueryTemp) 16
+ 239: 11(int) Load 238
+ 240: 227(int) Bitcast 239
+ 242: 241(ptr) AccessChain 233(texDim) 16
+ Store 242 240
+ 243: 237(ptr) AccessChain 221(sizeQueryTemp) 40
244: 11(int) Load 243
- 245: 232(int) Bitcast 244
- 247: 246(ptr) AccessChain 238(texDim) 16
- Store 247 245
- 248: 242(ptr) AccessChain 226(sizeQueryTemp) 40
- 249: 11(int) Load 248
- 250: 232(int) Bitcast 249
- 251: 246(ptr) AccessChain 238(texDim) 40
- Store 251 250
- 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(elements) 47
- 256: 242(ptr) AccessChain 226(sizeQueryTemp) 24
- 257: 11(int) Load 256
- 258: 232(int) Bitcast 257
- Store 252(elements) 258
- 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(levels) 47
- 263: 158 Load 164(textureShadowMap)
- 264: 11(int) ImageQueryLevels 263
- 265: 232(int) Bitcast 264
- Store 259(levels) 265
- 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 267 267 16 16
- 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 269 268(scale) 47
- Store 268(scale) 272
- 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 274 274 16 16
- 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 276 275(dx) 47
- 279: 8(float) Load 268(scale)
- 280: 8(float) FMul 279 110
- 281: 246(ptr) AccessChain 238(texDim) 16
- 282: 232(int) Load 281
- 283: 8(float) ConvertSToF 282
- 284: 8(float) FDiv 280 283
- Store 275(dx) 284
- 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 286 286 16 16
- 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 288 287(dy) 47
- 291: 8(float) Load 268(scale)
- 292: 8(float) FMul 291 110
- 293: 246(ptr) AccessChain 238(texDim) 40
- 294: 232(int) Load 293
- 295: 8(float) ConvertSToF 294
- 296: 8(float) FDiv 292 295
- Store 287(dy) 296
- 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 298 298 16 16
- 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 300 299(shadowFactor) 47
- Store 299(shadowFactor) 197
- 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 304 304 16 16
- 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 306 305(count) 47
- Store 305(count) 309
- 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 311 311 16 16
- 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 313 312(range) 47
- Store 312(range) 316
- 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
- 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 320 319(x) 47
- 323: 232(int) Load 312(range)
- 324: 232(int) SNegate 323
- Store 319(x) 324
- Branch 325
- 325: Label
- 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
- LoopMerge 327 328 None
- Branch 331
- 331: Label
- 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
- 334: 232(int) Load 319(x)
- 335: 232(int) Load 312(range)
- 337: 139(bool) SLessThanEqual 334 335
- BranchConditional 337 326 327
- 326: Label
- 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
- 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 342 341(y) 47
- 345: 232(int) Load 312(range)
- 346: 232(int) SNegate 345
- Store 341(y) 346
+ 245: 227(int) Bitcast 244
+ 246: 241(ptr) AccessChain 233(texDim) 40
+ Store 246 245
+ 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 248 247(elements) 47
+ 251: 237(ptr) AccessChain 221(sizeQueryTemp) 24
+ 252: 11(int) Load 251
+ 253: 227(int) Bitcast 252
+ Store 247(elements) 253
+ 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(levels) 47
+ 258: 156 Load 162(textureShadowMap)
+ 259: 11(int) ImageQueryLevels 258
+ 260: 227(int) Bitcast 259
+ Store 254(levels) 260
+ 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 262 262 16 16
+ 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 264 263(scale) 47
+ Store 263(scale) 267
+ 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 269 269 16 16
+ 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 271 270(dx) 47
+ 274: 8(float) Load 263(scale)
+ 275: 8(float) FMul 274 110
+ 276: 241(ptr) AccessChain 233(texDim) 16
+ 277: 227(int) Load 276
+ 278: 8(float) ConvertSToF 277
+ 279: 8(float) FDiv 275 278
+ Store 270(dx) 279
+ 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 281 281 16 16
+ 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 283 282(dy) 47
+ 286: 8(float) Load 263(scale)
+ 287: 8(float) FMul 286 110
+ 288: 241(ptr) AccessChain 233(texDim) 40
+ 289: 227(int) Load 288
+ 290: 8(float) ConvertSToF 289
+ 291: 8(float) FDiv 287 290
+ Store 282(dy) 291
+ 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 293 293 16 16
+ 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 295 294(shadowFactor) 47
+ Store 294(shadowFactor) 195
+ 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 299 299 16 16
+ 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 301 300(count) 47
+ Store 300(count) 304
+ 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 306 306 16 16
+ 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 308 307(range) 47
+ Store 307(range) 311
+ 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16
+ 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(x) 47
+ 318: 227(int) Load 307(range)
+ 319: 227(int) SNegate 318
+ Store 314(x) 319
+ Branch 320
+ 320: Label
+ 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16
+ LoopMerge 322 323 None
+ Branch 326
+ 326: Label
+ 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16
+ 329: 227(int) Load 314(x)
+ 330: 227(int) Load 307(range)
+ 331: 139(bool) SLessThanEqual 329 330
+ BranchConditional 331 321 322
+ 321: Label
+ 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16
+ 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 336 335(y) 47
+ 339: 227(int) Load 307(range)
+ 340: 227(int) SNegate 339
+ Store 335(y) 340
+ Branch 341
+ 341: Label
+ 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16
+ LoopMerge 343 344 None
Branch 347
347: Label
- 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
- LoopMerge 349 350 None
- Branch 353
- 353: Label
- 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
- 356: 232(int) Load 341(y)
- 357: 232(int) Load 312(range)
- 359: 139(bool) SLessThanEqual 356 357
- BranchConditional 359 348 349
- 348: Label
- 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 362 362 16 16
- 363: 8(float) Load 275(dx)
- 364: 232(int) Load 319(x)
- 365: 8(float) ConvertSToF 364
- 366: 8(float) FMul 363 365
- 367: 8(float) Load 287(dy)
- 368: 232(int) Load 341(y)
- 369: 8(float) ConvertSToF 368
- 370: 8(float) FMul 367 369
- 371: 23(fvec2) CompositeConstruct 366 370
- 373: 18(fvec4) Load 56(sc)
- Store 372(param) 373
- 375: 8(float) Load 57(layer)
- Store 374(param) 375
- Store 376(param) 371
- 377: 8(float) FunctionCall 32(textureProj(vf4;f1;vf2;) 372(param) 374(param) 376(param)
- 378: 8(float) Load 299(shadowFactor)
- 379: 8(float) FAdd 378 377
- Store 299(shadowFactor) 379
- 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 381 381 16 16
- 382: 232(int) Load 305(count)
- 383: 232(int) IAdd 382 316
- Store 305(count) 383
- Branch 350
- 350: Label
- 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
- 386: 232(int) Load 341(y)
- 387: 232(int) IAdd 386 316
- Store 341(y) 387
- Branch 347
- 349: Label
- Branch 328
- 328: Label
- 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
- 390: 232(int) Load 319(x)
- 391: 232(int) IAdd 390 316
- Store 319(x) 391
- Branch 325
- 327: Label
- 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
- 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 394 394 16 16
- 395: 8(float) Load 299(shadowFactor)
- 396: 232(int) Load 305(count)
- 397: 8(float) ConvertSToF 396
- 398: 8(float) FDiv 395 397
- ReturnValue 398
+ 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16
+ 350: 227(int) Load 335(y)
+ 351: 227(int) Load 307(range)
+ 352: 139(bool) SLessThanEqual 350 351
+ BranchConditional 352 342 343
+ 342: Label
+ 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 355 355 16 16
+ 356: 8(float) Load 270(dx)
+ 357: 227(int) Load 314(x)
+ 358: 8(float) ConvertSToF 357
+ 359: 8(float) FMul 356 358
+ 360: 8(float) Load 282(dy)
+ 361: 227(int) Load 335(y)
+ 362: 8(float) ConvertSToF 361
+ 363: 8(float) FMul 360 362
+ 364: 23(fvec2) CompositeConstruct 359 363
+ 366: 18(fvec4) Load 56(sc)
+ Store 365(param) 366
+ 368: 8(float) Load 57(layer)
+ Store 367(param) 368
+ Store 369(param) 364
+ 370: 8(float) FunctionCall 32(textureProj(vf4;f1;vf2;) 365(param) 367(param) 369(param)
+ 371: 8(float) Load 294(shadowFactor)
+ 372: 8(float) FAdd 371 370
+ Store 294(shadowFactor) 372
+ 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 374 374 16 16
+ 375: 227(int) Load 300(count)
+ 376: 227(int) IAdd 375 311
+ Store 300(count) 376
+ Branch 344
+ 344: Label
+ 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16
+ 379: 227(int) Load 335(y)
+ 380: 227(int) IAdd 379 311
+ Store 335(y) 380
+ Branch 341
+ 343: Label
+ Branch 323
+ 323: Label
+ 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 382: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16
+ 383: 227(int) Load 314(x)
+ 384: 227(int) IAdd 383 311
+ Store 314(x) 384
+ Branch 320
+ 322: Label
+ 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
+ 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 387 387 16 16
+ 388: 8(float) Load 294(shadowFactor)
+ 389: 227(int) Load 300(count)
+ 390: 8(float) ConvertSToF 389
+ 391: 8(float) FDiv 388 390
+ ReturnValue 391
FunctionEnd
Line 1 101 49
77(shadow(vf3;vf3;): 70(fvec3) Function None 73
75(fragcolor): 72(ptr) FunctionParameter
76(fragPos): 72(ptr) FunctionParameter
78: Label
- 405(i): 246(ptr) Variable Function
- 425(shadowClip): 21(ptr) Variable Function
-480(shadowFactor): 22(ptr) Variable Function
- 485(param): 21(ptr) Variable Function
- 487(param): 22(ptr) Variable Function
+ 398(i): 241(ptr) Variable Function
+ 417(shadowClip): 21(ptr) Variable Function
+472(shadowFactor): 22(ptr) Variable Function
+ 477(param): 21(ptr) Variable Function
+ 479(param): 22(ptr) Variable Function
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 81 81 16 16
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 75(fragcolor) 47
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 76(fragPos) 47
- 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;)
- 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
- 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 406 405(i) 47
- Store 405(i) 309
- Branch 409
- 409: Label
- 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
- LoopMerge 411 412 None
- Branch 415
- 415: Label
- 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
- 418: 232(int) Load 405(i)
- 421: 139(bool) SLessThan 418 419
- BranchConditional 421 410 411
- 410: Label
- 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 424 424 16 16
- 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 426 425(shadowClip) 47
- 429: 70(fvec3) Load 76(fragPos)
- 430: 8(float) CompositeExtract 429 0
- 431: 8(float) CompositeExtract 429 1
- 432: 8(float) CompositeExtract 429 2
- 433: 18(fvec4) CompositeConstruct 430 431 432 110
- 473: 232(int) Load 405(i)
- 475: 474(ptr) AccessChain 471 309 316 473 419
- 476: 434 Load 475
- 477: 18(fvec4) VectorTimesMatrix 433 476
- Store 425(shadowClip) 477
- 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 479 479 16 16
- 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 481 480(shadowFactor) 47
- 483: 232(int) Load 405(i)
- 484: 8(float) ConvertSToF 483
- 486: 18(fvec4) Load 425(shadowClip)
- Store 485(param) 486
- Store 487(param) 484
- 488: 8(float) FunctionCall 58(filterPCF(vf4;f1;) 485(param) 487(param)
- Store 480(shadowFactor) 488
- 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 490 490 16 16
- 491: 8(float) Load 480(shadowFactor)
- 492: 70(fvec3) Load 75(fragcolor)
- 493: 70(fvec3) VectorTimesScalar 492 491
- Store 75(fragcolor) 493
- Branch 412
- 412: Label
- 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
- 496: 232(int) Load 405(i)
- 497: 232(int) IAdd 496 316
- Store 405(i) 497
- Branch 409
- 411: Label
- 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
- 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 500 500 16 16
- 501: 70(fvec3) Load 75(fragcolor)
- ReturnValue 501
+ 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;)
+ 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16
+ 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 399 398(i) 47
+ Store 398(i) 304
+ Branch 402
+ 402: Label
+ 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16
+ LoopMerge 404 405 None
+ Branch 408
+ 408: Label
+ 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16
+ 411: 227(int) Load 398(i)
+ 413: 139(bool) SLessThan 411 412
+ BranchConditional 413 403 404
+ 403: Label
+ 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 416 416 16 16
+ 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 418 417(shadowClip) 47
+ 421: 70(fvec3) Load 76(fragPos)
+ 422: 8(float) CompositeExtract 421 0
+ 423: 8(float) CompositeExtract 421 1
+ 424: 8(float) CompositeExtract 421 2
+ 425: 18(fvec4) CompositeConstruct 422 423 424 110
+ 465: 227(int) Load 398(i)
+ 467: 466(ptr) AccessChain 463 304 311 465 412
+ 468: 426 Load 467
+ 469: 18(fvec4) VectorTimesMatrix 425 468
+ Store 417(shadowClip) 469
+ 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 471 471 16 16
+ 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 473 472(shadowFactor) 47
+ 475: 227(int) Load 398(i)
+ 476: 8(float) ConvertSToF 475
+ 478: 18(fvec4) Load 417(shadowClip)
+ Store 477(param) 478
+ Store 479(param) 476
+ 480: 8(float) FunctionCall 58(filterPCF(vf4;f1;) 477(param) 479(param)
+ Store 472(shadowFactor) 480
+ 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 482 482 16 16
+ 483: 8(float) Load 472(shadowFactor)
+ 484: 70(fvec3) Load 75(fragcolor)
+ 485: 70(fvec3) VectorTimesScalar 484 483
+ Store 75(fragcolor) 485
+ Branch 405
+ 405: Label
+ 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16
+ 488: 227(int) Load 398(i)
+ 489: 227(int) IAdd 488 311
+ Store 398(i) 489
+ Branch 402
+ 404: Label
+ 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
+ 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 492 492 16 16
+ 493: 70(fvec3) Load 75(fragcolor)
+ ReturnValue 493
FunctionEnd
Line 1 119 1
93(@main(vf2;): 18(fvec4) Function None 90
92(inUV): 26(ptr) FunctionParameter
94: Label
- 508(fragPos): 72(ptr) Variable Function
- 531(normal): 72(ptr) Variable Function
- 550(albedo): 21(ptr) Variable Function
- 589(fragcolor): 72(ptr) Variable Function
- 593(param): 72(ptr) Variable Function
- 594(param): 72(ptr) Variable Function
- 649(N): 72(ptr) Variable Function
- 657(i): 246(ptr) Variable Function
- 675(L): 72(ptr) Variable Function
- 688(dist): 22(ptr) Variable Function
- 699(V): 72(ptr) Variable Function
-714(lightCosInnerAngle): 22(ptr) Variable Function
-721(lightCosOuterAngle): 22(ptr) Variable Function
- 728(lightRange): 22(ptr) Variable Function
- 735(dir): 72(ptr) Variable Function
- 751(cosDir): 22(ptr) Variable Function
- 760(spotEffect): 22(ptr) Variable Function
-770(heightAttenuation): 22(ptr) Variable Function
- 779(NdotL): 22(ptr) Variable Function
- 789(diff): 72(ptr) Variable Function
- 797(R): 72(ptr) Variable Function
- 807(NdotR): 22(ptr) Variable Function
- 817(spec): 72(ptr) Variable Function
- 866(param): 72(ptr) Variable Function
- 868(param): 72(ptr) Variable Function
+ 500(fragPos): 72(ptr) Variable Function
+ 523(normal): 72(ptr) Variable Function
+ 542(albedo): 21(ptr) Variable Function
+ 580(fragcolor): 72(ptr) Variable Function
+ 584(param): 72(ptr) Variable Function
+ 585(param): 72(ptr) Variable Function
+ 640(N): 72(ptr) Variable Function
+ 648(i): 241(ptr) Variable Function
+ 665(L): 72(ptr) Variable Function
+ 678(dist): 22(ptr) Variable Function
+ 689(V): 72(ptr) Variable Function
+704(lightCosInnerAngle): 22(ptr) Variable Function
+711(lightCosOuterAngle): 22(ptr) Variable Function
+ 718(lightRange): 22(ptr) Variable Function
+ 725(dir): 72(ptr) Variable Function
+ 741(cosDir): 22(ptr) Variable Function
+ 750(spotEffect): 22(ptr) Variable Function
+760(heightAttenuation): 22(ptr) Variable Function
+ 769(NdotL): 22(ptr) Variable Function
+ 779(diff): 72(ptr) Variable Function
+ 787(R): 72(ptr) Variable Function
+ 797(NdotR): 22(ptr) Variable Function
+ 807(spec): 72(ptr) Variable Function
+ 855(param): 72(ptr) Variable Function
+ 857(param): 72(ptr) Variable Function
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 97 97 16 16
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 92(inUV) 47
- 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 96 93(@main(vf2;)
- 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 507 507 16 16
- 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 509 508(fragPos) 47
- 517: 511 Load 514(textureposition)
- 522: 169 Load 519(samplerposition)
- 525: 523 SampledImage 517 522
- 526: 23(fvec2) Load 92(inUV)
- 527: 18(fvec4) ImageSampleImplicitLod 525 526
- 528: 70(fvec3) VectorShuffle 527 527 0 1 2
- Store 508(fragPos) 528
- 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 530 530 16 16
- 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 532 531(normal) 47
- 538: 511 Load 535(textureNormal)
- 543: 169 Load 540(samplerNormal)
- 544: 523 SampledImage 538 543
- 545: 23(fvec2) Load 92(inUV)
- 546: 18(fvec4) ImageSampleImplicitLod 544 545
- 547: 70(fvec3) VectorShuffle 546 546 0 1 2
- Store 531(normal) 547
- 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 549 549 16 16
- 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 551 550(albedo) 47
- 557: 511 Load 554(textureAlbedo)
- 562: 169 Load 559(samplerAlbedo)
- 563: 523 SampledImage 557 562
- 564: 23(fvec2) Load 92(inUV)
- 565: 18(fvec4) ImageSampleImplicitLod 563 564
- Store 550(albedo) 565
- 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 567 567 16 16
- 569: 568(ptr) AccessChain 471 309 419
- 570: 232(int) Load 569
- 572: 139(bool) SGreaterThan 570 309
- SelectionMerge 574 None
- BranchConditional 572 573 574
- 573: Label
- 575: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 577 577 16 16
- 578: 568(ptr) AccessChain 471 309 419
- 579: 232(int) Load 578
- SelectionMerge 585 None
- Switch 579 585
- case 1: 580
- case 2: 581
- case 3: 582
- case 4: 583
- case 5: 584
- 580: Label
- 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 587: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 588 588 16 16
- 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 590 589(fragcolor) 47
- Store 593(param) 592
- 595: 70(fvec3) Load 508(fragPos)
- Store 594(param) 595
- 596: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 593(param) 594(param)
- Store 589(fragcolor) 596
- 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 598 598 16 16
- Branch 585
- 581: Label
- 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 601: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 602 602 16 16
- 603: 70(fvec3) Load 508(fragPos)
- Store 589(fragcolor) 603
- 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 605 605 16 16
- Branch 585
- 582: Label
- 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 609 609 16 16
- 610: 70(fvec3) Load 531(normal)
- Store 589(fragcolor) 610
- 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 612 612 16 16
- Branch 585
- 583: Label
- 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 616 616 16 16
- 617: 18(fvec4) Load 550(albedo)
- 618: 70(fvec3) VectorShuffle 617 617 0 1 2
- Store 589(fragcolor) 618
- 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 620 620 16 16
- Branch 585
- 584: Label
- 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 624 624 16 16
- 625: 18(fvec4) Load 550(albedo)
- 626: 70(fvec3) VectorShuffle 625 625 3 3 3
- Store 589(fragcolor) 626
- 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 628 628 16 16
- Branch 585
- 585: Label
- 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 633 633 16 16
- 634: 70(fvec3) Load 589(fragcolor)
- 635: 8(float) CompositeExtract 634 0
- 636: 8(float) CompositeExtract 634 1
- 637: 8(float) CompositeExtract 634 2
- 638: 18(fvec4) CompositeConstruct 635 636 637 110
- ReturnValue 638
- 574: Label
- 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 642 642 16 16
- 643: 18(fvec4) Load 550(albedo)
- 644: 70(fvec3) VectorShuffle 643 643 0 1 2
- 646: 70(fvec3) VectorTimesScalar 644 645
- Store 589(fragcolor) 646
- 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 648 648 16 16
- 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 650 649(N) 47
- 653: 70(fvec3) Load 531(normal)
- 654: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 653
- Store 649(N) 654
- 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
- 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 658 657(i) 47
- Store 657(i) 309
- Branch 660
- 660: Label
- 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
- LoopMerge 662 663 None
- Branch 666
- 666: Label
- 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
- 669: 232(int) Load 657(i)
- 671: 139(bool) SLessThan 669 419
- BranchConditional 671 661 662
- 661: Label
- 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 674 674 16 16
- 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 676 675(L) 47
- 679: 232(int) Load 657(i)
- 681: 680(ptr) AccessChain 471 309 316 679 309
- 682: 18(fvec4) Load 681
- 683: 70(fvec3) VectorShuffle 682 682 0 1 2
- 684: 70(fvec3) Load 508(fragPos)
- 685: 70(fvec3) FSub 683 684
- Store 675(L) 685
- 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 687 687 16 16
- 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 689 688(dist) 47
- 691: 70(fvec3) Load 675(L)
- 692: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 691
- Store 688(dist) 692
- 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 694 694 16 16
- 695: 70(fvec3) Load 675(L)
- 696: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 695
- Store 675(L) 696
- 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 698 698 16 16
- 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 700 699(V) 47
- 703: 680(ptr) AccessChain 471 309 309
- 704: 18(fvec4) Load 703
- 705: 70(fvec3) VectorShuffle 704 704 0 1 2
- 706: 70(fvec3) Load 508(fragPos)
- 707: 70(fvec3) FSub 705 706
- Store 699(V) 707
- 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 709 709 16 16
- 710: 70(fvec3) Load 699(V)
- 711: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 710
- Store 699(V) 711
- 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 713 713 16 16
- 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 715 714(lightCosInnerAngle) 47
- Store 714(lightCosInnerAngle) 718
- 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 720 720 16 16
- 724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 722 721(lightCosOuterAngle) 47
- Store 721(lightCosOuterAngle) 725
- 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 727 727 16 16
- 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(lightRange) 47
- Store 728(lightRange) 732
- 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 734 734 16 16
- 738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 736 735(dir) 47
- 739: 232(int) Load 657(i)
- 740: 680(ptr) AccessChain 471 309 316 739 309
- 741: 18(fvec4) Load 740
- 742: 70(fvec3) VectorShuffle 741 741 0 1 2
- 743: 232(int) Load 657(i)
- 744: 680(ptr) AccessChain 471 309 316 743 316
- 745: 18(fvec4) Load 744
- 746: 70(fvec3) VectorShuffle 745 745 0 1 2
- 747: 70(fvec3) FSub 742 746
- 748: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 747
- Store 735(dir) 748
- 749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 750 750 16 16
- 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 752 751(cosDir) 47
- 755: 70(fvec3) Load 675(L)
- 756: 70(fvec3) Load 735(dir)
- 757: 8(float) Dot 755 756
- Store 751(cosDir) 757
+ 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 96 93(@main(vf2;)
+ 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 499 499 16 16
+ 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 501 500(fragPos) 47
+ 509: 503 Load 506(textureposition)
+ 514: 167 Load 511(samplerposition)
+ 517: 515 SampledImage 509 514
+ 518: 23(fvec2) Load 92(inUV)
+ 519: 18(fvec4) ImageSampleImplicitLod 517 518
+ 520: 70(fvec3) VectorShuffle 519 519 0 1 2
+ Store 500(fragPos) 520
+ 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 522 522 16 16
+ 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 524 523(normal) 47
+ 530: 503 Load 527(textureNormal)
+ 535: 167 Load 532(samplerNormal)
+ 536: 515 SampledImage 530 535
+ 537: 23(fvec2) Load 92(inUV)
+ 538: 18(fvec4) ImageSampleImplicitLod 536 537
+ 539: 70(fvec3) VectorShuffle 538 538 0 1 2
+ Store 523(normal) 539
+ 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 541 541 16 16
+ 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 543 542(albedo) 47
+ 549: 503 Load 546(textureAlbedo)
+ 554: 167 Load 551(samplerAlbedo)
+ 555: 515 SampledImage 549 554
+ 556: 23(fvec2) Load 92(inUV)
+ 557: 18(fvec4) ImageSampleImplicitLod 555 556
+ Store 542(albedo) 557
+ 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 559 559 16 16
+ 561: 560(ptr) AccessChain 463 304 412
+ 562: 227(int) Load 561
+ 563: 139(bool) SGreaterThan 562 304
+ SelectionMerge 565 None
+ BranchConditional 563 564 565
+ 564: Label
+ 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 568 568 16 16
+ 569: 560(ptr) AccessChain 463 304 412
+ 570: 227(int) Load 569
+ SelectionMerge 576 None
+ Switch 570 576
+ case 1: 571
+ case 2: 572
+ case 3: 573
+ case 4: 574
+ case 5: 575
+ 571: Label
+ 577: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 579 579 16 16
+ 582: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 581 580(fragcolor) 47
+ Store 584(param) 583
+ 586: 70(fvec3) Load 500(fragPos)
+ Store 585(param) 586
+ 587: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 584(param) 585(param)
+ Store 580(fragcolor) 587
+ 588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 589 589 16 16
+ Branch 576
+ 572: Label
+ 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 593 593 16 16
+ 594: 70(fvec3) Load 500(fragPos)
+ Store 580(fragcolor) 594
+ 595: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 596 596 16 16
+ Branch 576
+ 573: Label
+ 598: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 599: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 600 600 16 16
+ 601: 70(fvec3) Load 523(normal)
+ Store 580(fragcolor) 601
+ 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 603 603 16 16
+ Branch 576
+ 574: Label
+ 605: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 607 607 16 16
+ 608: 18(fvec4) Load 542(albedo)
+ 609: 70(fvec3) VectorShuffle 608 608 0 1 2
+ Store 580(fragcolor) 609
+ 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 611 611 16 16
+ Branch 576
+ 575: Label
+ 613: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 615 615 16 16
+ 616: 18(fvec4) Load 542(albedo)
+ 617: 70(fvec3) VectorShuffle 616 616 3 3 3
+ Store 580(fragcolor) 617
+ 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 619 619 16 16
+ Branch 576
+ 576: Label
+ 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 624 624 16 16
+ 625: 70(fvec3) Load 580(fragcolor)
+ 626: 8(float) CompositeExtract 625 0
+ 627: 8(float) CompositeExtract 625 1
+ 628: 8(float) CompositeExtract 625 2
+ 629: 18(fvec4) CompositeConstruct 626 627 628 110
+ ReturnValue 629
+ 565: Label
+ 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 633 633 16 16
+ 634: 18(fvec4) Load 542(albedo)
+ 635: 70(fvec3) VectorShuffle 634 634 0 1 2
+ 637: 70(fvec3) VectorTimesScalar 635 636
+ Store 580(fragcolor) 637
+ 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 639 639 16 16
+ 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 641 640(N) 47
+ 644: 70(fvec3) Load 523(normal)
+ 645: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 644
+ Store 640(N) 645
+ 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16
+ 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 649 648(i) 47
+ Store 648(i) 304
+ Branch 651
+ 651: Label
+ 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16
+ LoopMerge 653 654 None
+ Branch 657
+ 657: Label
+ 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16
+ 660: 227(int) Load 648(i)
+ 661: 139(bool) SLessThan 660 412
+ BranchConditional 661 652 653
+ 652: Label
+ 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 664 664 16 16
+ 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 666 665(L) 47
+ 669: 227(int) Load 648(i)
+ 671: 670(ptr) AccessChain 463 304 311 669 304
+ 672: 18(fvec4) Load 671
+ 673: 70(fvec3) VectorShuffle 672 672 0 1 2
+ 674: 70(fvec3) Load 500(fragPos)
+ 675: 70(fvec3) FSub 673 674
+ Store 665(L) 675
+ 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 677 677 16 16
+ 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 679 678(dist) 47
+ 681: 70(fvec3) Load 665(L)
+ 682: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 681
+ Store 678(dist) 682
+ 683: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 684 684 16 16
+ 685: 70(fvec3) Load 665(L)
+ 686: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 685
+ Store 665(L) 686
+ 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 688 688 16 16
+ 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 690 689(V) 47
+ 693: 670(ptr) AccessChain 463 304 304
+ 694: 18(fvec4) Load 693
+ 695: 70(fvec3) VectorShuffle 694 694 0 1 2
+ 696: 70(fvec3) Load 500(fragPos)
+ 697: 70(fvec3) FSub 695 696
+ Store 689(V) 697
+ 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 699 699 16 16
+ 700: 70(fvec3) Load 689(V)
+ 701: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 700
+ Store 689(V) 701
+ 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 703 703 16 16
+ 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 705 704(lightCosInnerAngle) 47
+ Store 704(lightCosInnerAngle) 708
+ 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 710 710 16 16
+ 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(lightCosOuterAngle) 47
+ Store 711(lightCosOuterAngle) 715
+ 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 717 717 16 16
+ 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 719 718(lightRange) 47
+ Store 718(lightRange) 722
+ 723: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 724 724 16 16
+ 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 726 725(dir) 47
+ 729: 227(int) Load 648(i)
+ 730: 670(ptr) AccessChain 463 304 311 729 304
+ 731: 18(fvec4) Load 730
+ 732: 70(fvec3) VectorShuffle 731 731 0 1 2
+ 733: 227(int) Load 648(i)
+ 734: 670(ptr) AccessChain 463 304 311 733 311
+ 735: 18(fvec4) Load 734
+ 736: 70(fvec3) VectorShuffle 735 735 0 1 2
+ 737: 70(fvec3) FSub 732 736
+ 738: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 737
+ Store 725(dir) 738
+ 739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 740 740 16 16
+ 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 742 741(cosDir) 47
+ 745: 70(fvec3) Load 665(L)
+ 746: 70(fvec3) Load 725(dir)
+ 747: 8(float) Dot 745 746
+ Store 741(cosDir) 747
+ 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 749 749 16 16
+ 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 751 750(spotEffect) 47
+ 754: 8(float) Load 711(lightCosOuterAngle)
+ 755: 8(float) Load 704(lightCosInnerAngle)
+ 756: 8(float) Load 741(cosDir)
+ 757: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 754 755 756
+ Store 750(spotEffect) 757
758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 759 759 16 16
- 763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 761 760(spotEffect) 47
- 764: 8(float) Load 721(lightCosOuterAngle)
- 765: 8(float) Load 714(lightCosInnerAngle)
- 766: 8(float) Load 751(cosDir)
- 767: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 764 765 766
- Store 760(spotEffect) 767
- 768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 769 769 16 16
- 773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 771 770(heightAttenuation) 47
- 774: 8(float) Load 728(lightRange)
- 775: 8(float) Load 688(dist)
- 776: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 774 197 775
- Store 770(heightAttenuation) 776
+ 763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 761 760(heightAttenuation) 47
+ 764: 8(float) Load 718(lightRange)
+ 765: 8(float) Load 678(dist)
+ 766: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 764 195 765
+ Store 760(heightAttenuation) 766
+ 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 768 768 16 16
+ 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 770 769(NdotL) 47
+ 773: 70(fvec3) Load 640(N)
+ 774: 70(fvec3) Load 665(L)
+ 775: 8(float) Dot 773 774
+ 776: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 195 775
+ Store 769(NdotL) 776
777: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 778 778 16 16
- 782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 780 779(NdotL) 47
- 783: 70(fvec3) Load 649(N)
- 784: 70(fvec3) Load 675(L)
- 785: 8(float) Dot 783 784
- 786: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 197 785
- Store 779(NdotL) 786
- 787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 788 788 16 16
- 792: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 790 789(diff) 47
- 793: 8(float) Load 779(NdotL)
- 794: 70(fvec3) CompositeConstruct 793 793 793
- Store 789(diff) 794
+ 782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 780 779(diff) 47
+ 783: 8(float) Load 769(NdotL)
+ 784: 70(fvec3) CompositeConstruct 783 783 783
+ Store 779(diff) 784
+ 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 786 786 16 16
+ 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 788 787(R) 47
+ 791: 70(fvec3) Load 665(L)
+ 792: 70(fvec3) FNegate 791
+ 793: 70(fvec3) Load 640(N)
+ 794: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 792 793
+ Store 787(R) 794
795: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 796 796 16 16
- 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 798 797(R) 47
- 801: 70(fvec3) Load 675(L)
- 802: 70(fvec3) FNegate 801
- 803: 70(fvec3) Load 649(N)
- 804: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 802 803
- Store 797(R) 804
+ 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 798 797(NdotR) 47
+ 801: 70(fvec3) Load 787(R)
+ 802: 70(fvec3) Load 689(V)
+ 803: 8(float) Dot 801 802
+ 804: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 195 803
+ Store 797(NdotR) 804
805: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 806 806 16 16
- 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 808 807(NdotR) 47
- 811: 70(fvec3) Load 797(R)
- 812: 70(fvec3) Load 699(V)
- 813: 8(float) Dot 811 812
- 814: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 197 813
- Store 807(NdotR) 814
- 815: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 816 816 16 16
- 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 818 817(spec) 47
- 821: 8(float) Load 807(NdotR)
- 823: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 821 822
- 824: 22(ptr) AccessChain 550(albedo) 17
- 825: 8(float) Load 824
- 826: 8(float) FMul 823 825
- 828: 8(float) FMul 826 827
- 829: 70(fvec3) CompositeConstruct 828 828 828
- Store 817(spec) 829
- 830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 831 831 16 16
- 832: 70(fvec3) Load 789(diff)
- 833: 70(fvec3) Load 817(spec)
- 834: 70(fvec3) FAdd 832 833
- 835: 8(float) Load 760(spotEffect)
- 836: 70(fvec3) VectorTimesScalar 834 835
- 837: 8(float) Load 770(heightAttenuation)
- 838: 70(fvec3) VectorTimesScalar 836 837
- 839: 232(int) Load 657(i)
- 841: 680(ptr) AccessChain 471 309 316 839 840
- 842: 18(fvec4) Load 841
- 843: 70(fvec3) VectorShuffle 842 842 0 1 2
- 844: 70(fvec3) FMul 838 843
- 845: 18(fvec4) Load 550(albedo)
- 846: 70(fvec3) VectorShuffle 845 845 0 1 2
- 847: 70(fvec3) FMul 844 846
- 848: 70(fvec3) Load 589(fragcolor)
- 849: 70(fvec3) FAdd 848 847
- Store 589(fragcolor) 849
- Branch 663
- 663: Label
- 850: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
- 852: 232(int) Load 657(i)
- 853: 232(int) IAdd 852 316
- Store 657(i) 853
- Branch 660
- 662: Label
- 854: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 856 856 16 16
- 857: 568(ptr) AccessChain 471 309 840
- 858: 232(int) Load 857
- 860: 139(bool) SGreaterThan 858 309
- SelectionMerge 862 None
- BranchConditional 860 861 862
- 861: Label
- 863: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 864: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 865 865 16 16
- 867: 70(fvec3) Load 589(fragcolor)
- Store 866(param) 867
- 869: 70(fvec3) Load 508(fragPos)
- Store 868(param) 869
- 870: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 866(param) 868(param)
- Store 589(fragcolor) 870
- Branch 862
- 862: Label
- 871: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
- 872: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 873 873 16 16
- 874: 70(fvec3) Load 589(fragcolor)
- 875: 8(float) CompositeExtract 874 0
- 876: 8(float) CompositeExtract 874 1
- 877: 8(float) CompositeExtract 874 2
- 878: 18(fvec4) CompositeConstruct 875 876 877 110
- ReturnValue 878
+ 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 808 807(spec) 47
+ 811: 8(float) Load 797(NdotR)
+ 813: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 811 812
+ 814: 22(ptr) AccessChain 542(albedo) 17
+ 815: 8(float) Load 814
+ 816: 8(float) FMul 813 815
+ 818: 8(float) FMul 816 817
+ 819: 70(fvec3) CompositeConstruct 818 818 818
+ Store 807(spec) 819
+ 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 821 821 16 16
+ 822: 70(fvec3) Load 779(diff)
+ 823: 70(fvec3) Load 807(spec)
+ 824: 70(fvec3) FAdd 822 823
+ 825: 8(float) Load 750(spotEffect)
+ 826: 70(fvec3) VectorTimesScalar 824 825
+ 827: 8(float) Load 760(heightAttenuation)
+ 828: 70(fvec3) VectorTimesScalar 826 827
+ 829: 227(int) Load 648(i)
+ 831: 670(ptr) AccessChain 463 304 311 829 830
+ 832: 18(fvec4) Load 831
+ 833: 70(fvec3) VectorShuffle 832 832 0 1 2
+ 834: 70(fvec3) FMul 828 833
+ 835: 18(fvec4) Load 542(albedo)
+ 836: 70(fvec3) VectorShuffle 835 835 0 1 2
+ 837: 70(fvec3) FMul 834 836
+ 838: 70(fvec3) Load 580(fragcolor)
+ 839: 70(fvec3) FAdd 838 837
+ Store 580(fragcolor) 839
+ Branch 654
+ 654: Label
+ 840: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 841: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16
+ 842: 227(int) Load 648(i)
+ 843: 227(int) IAdd 842 311
+ Store 648(i) 843
+ Branch 651
+ 653: Label
+ 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 846 846 16 16
+ 847: 560(ptr) AccessChain 463 304 830
+ 848: 227(int) Load 847
+ 849: 139(bool) SGreaterThan 848 304
+ SelectionMerge 851 None
+ BranchConditional 849 850 851
+ 850: Label
+ 852: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 853: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 854 854 16 16
+ 856: 70(fvec3) Load 580(fragcolor)
+ Store 855(param) 856
+ 858: 70(fvec3) Load 500(fragPos)
+ Store 857(param) 858
+ 859: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 855(param) 857(param)
+ Store 580(fragcolor) 859
+ Branch 851
+ 851: Label
+ 860: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
+ 861: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 862 862 16 16
+ 863: 70(fvec3) Load 580(fragcolor)
+ 864: 8(float) CompositeExtract 863 0
+ 865: 8(float) CompositeExtract 863 1
+ 866: 8(float) CompositeExtract 863 2
+ 867: 18(fvec4) CompositeConstruct 864 865 866 110
+ ReturnValue 867
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tesc.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tesc.out
index 34a6d0a854..772aea292e 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tesc.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tesc.out
@@ -3,14 +3,14 @@ WARNING: 0:158: '' : attribute does not apply to entry point
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 692
+// Id's are bound by 685
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint TessellationControl 6 "main" 584 591 598 632 641 648 655 670 685
+ EntryPoint TessellationControl 6 "main" 577 584 591 625 634 641 648 663 678
ExecutionMode 6 OutputVertices 4
ExecutionMode 6 Quads
ExecutionMode 6 SpacingEqual
@@ -68,7 +68,7 @@ WARNING: 0:158: '' : attribute does not apply to entry point
342: String "type.sampled.image"
343: String "@type.sampled.image"
361: String "i"
- 414: String "output"
+ 410: String "output"
Name 6 "main"
Name 26 "screenSpaceTessFactor(vf4;vf4;"
Name 24 "p0"
@@ -113,34 +113,34 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Name 327 "textureHeight"
Name 336 "samplerHeight"
Name 359 "i"
- Name 412 "output"
- Name 422 "param"
- Name 425 "param"
- Name 466 "param"
+ Name 408 "output"
+ Name 418 "param"
+ Name 421 "param"
+ Name 459 "param"
+ Name 462 "param"
Name 469 "param"
- Name 476 "param"
+ Name 472 "param"
Name 479 "param"
- Name 486 "param"
+ Name 482 "param"
Name 489 "param"
- Name 496 "param"
- Name 499 "param"
- Name 551 "output"
- Name 581 "patch"
- Name 584 "patch.Pos"
- Name 591 "patch.Normal"
- Name 598 "patch.UV"
- Name 630 "InvocationID"
- Name 632 "InvocationID"
- Name 634 "flattenTemp"
- Name 635 "param"
- Name 637 "param"
- Name 641 "@entryPointOutput.Pos"
- Name 648 "@entryPointOutput.Normal"
- Name 655 "@entryPointOutput.UV"
- Name 665 "@patchConstantResult"
- Name 666 "param"
- Name 670 "@patchConstantOutput.TessLevelOuter"
- Name 685 "@patchConstantOutput.TessLevelInner"
+ Name 492 "param"
+ Name 544 "output"
+ Name 574 "patch"
+ Name 577 "patch.Pos"
+ Name 584 "patch.Normal"
+ Name 591 "patch.UV"
+ Name 623 "InvocationID"
+ Name 625 "InvocationID"
+ Name 627 "flattenTemp"
+ Name 628 "param"
+ Name 630 "param"
+ Name 634 "@entryPointOutput.Pos"
+ Name 641 "@entryPointOutput.Normal"
+ Name 648 "@entryPointOutput.UV"
+ Name 658 "@patchConstantResult"
+ Name 659 "param"
+ Name 663 "@patchConstantOutput.TessLevelOuter"
+ Name 678 "@patchConstantOutput.TessLevelInner"
Decorate 176 ArrayStride 16
MemberDecorate 178(UBO) 0 RowMajor
MemberDecorate 178(UBO) 0 Offset 0
@@ -162,17 +162,17 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Decorate 327(textureHeight) Binding 1
Decorate 336(samplerHeight) DescriptorSet 0
Decorate 336(samplerHeight) Binding 1
- Decorate 584(patch.Pos) BuiltIn Position
- Decorate 591(patch.Normal) Location 0
- Decorate 598(patch.UV) Location 1
- Decorate 632(InvocationID) BuiltIn InvocationId
- Decorate 641(@entryPointOutput.Pos) BuiltIn Position
- Decorate 648(@entryPointOutput.Normal) Location 0
- Decorate 655(@entryPointOutput.UV) Location 1
- Decorate 670(@patchConstantOutput.TessLevelOuter) Patch
- Decorate 670(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
- Decorate 685(@patchConstantOutput.TessLevelInner) Patch
- Decorate 685(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
+ Decorate 577(patch.Pos) BuiltIn Position
+ Decorate 584(patch.Normal) Location 0
+ Decorate 591(patch.UV) Location 1
+ Decorate 625(InvocationID) BuiltIn InvocationId
+ Decorate 634(@entryPointOutput.Pos) BuiltIn Position
+ Decorate 641(@entryPointOutput.Normal) Location 0
+ Decorate 648(@entryPointOutput.UV) Location 1
+ Decorate 663(@patchConstantOutput.TessLevelOuter) Patch
+ Decorate 663(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
+ Decorate 678(@patchConstantOutput.TessLevelInner) Patch
+ Decorate 678(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@@ -339,205 +339,198 @@ WARNING: 0:158: '' : attribute does not apply to entry point
357: 11(int) Constant 102
358: TypePointer Function 210(int)
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 361 212 30 357 16 59 19
- 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 377: 11(int) Constant 103
- 379: 210(int) Constant 3
- 381: TypePointer Uniform 18(fvec4)
- 385: 8(float) Constant 1090519040
- 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 392: 49(bool) ConstantFalse
- 395: 11(int) Constant 105
- 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 404: 11(int) Constant 108
- 410: 11(int) Constant 113
- 411: TypePointer Function 92(ConstantsHSOutput)
- 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 100 30 410 16 108 19
- 416: 88 ConstantComposite 227 227 227 227
- 417: 90 ConstantComposite 227 227
- 418:92(ConstantsHSOutput) ConstantComposite 416 417
- 420: 11(int) Constant 115
- 421: 210(int) Constant 2
- 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 436: 11(int) Constant 117
- 439: 11(int) Constant 118
- 442: 11(int) Constant 119
- 445: 11(int) Constant 120
- 448: 11(int) Constant 121
- 451: 11(int) Constant 122
- 456: 11(int) Constant 126
- 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
- 465: 11(int) Constant 128
- 475: 11(int) Constant 129
- 485: 11(int) Constant 130
- 495: 11(int) Constant 131
- 505: 11(int) Constant 132
- 513: 11(int) Constant 133
- 523: 11(int) Constant 139
- 526: 11(int) Constant 140
- 529: 11(int) Constant 141
- 532: 11(int) Constant 142
- 535: 11(int) Constant 143
- 538: 11(int) Constant 144
- 542: 11(int) Constant 148
- 549: 11(int) Constant 159
- 550: TypePointer Function 116(HSOutput)
- 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 123 30 549 16 132 19
- 554: 18(fvec4) ConstantComposite 227 227 227 227
- 555: 46(fvec2) ConstantComposite 227 227
- 556:116(HSOutput) ConstantComposite 554 228 555
- 558: 11(int) Constant 160
- 564: 11(int) Constant 161
- 566: TypePointer Function 69(fvec3)
- 571: 11(int) Constant 162
- 577: 11(int) Constant 163
- 582: TypeArray 18(fvec4) 19
+ 376: 11(int) Constant 103
+ 378: 210(int) Constant 3
+ 380: TypePointer Uniform 18(fvec4)
+ 384: 8(float) Constant 1090519040
+ 389: 49(bool) ConstantFalse
+ 392: 11(int) Constant 105
+ 400: 11(int) Constant 108
+ 406: 11(int) Constant 113
+ 407: TypePointer Function 92(ConstantsHSOutput)
+ 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 100 30 406 16 108 19
+ 412: 88 ConstantComposite 227 227 227 227
+ 413: 90 ConstantComposite 227 227
+ 414:92(ConstantsHSOutput) ConstantComposite 412 413
+ 416: 11(int) Constant 115
+ 417: 210(int) Constant 2
+ 430: 11(int) Constant 117
+ 433: 11(int) Constant 118
+ 436: 11(int) Constant 119
+ 439: 11(int) Constant 120
+ 442: 11(int) Constant 121
+ 445: 11(int) Constant 122
+ 450: 11(int) Constant 126
+ 458: 11(int) Constant 128
+ 468: 11(int) Constant 129
+ 478: 11(int) Constant 130
+ 488: 11(int) Constant 131
+ 498: 11(int) Constant 132
+ 506: 11(int) Constant 133
+ 516: 11(int) Constant 139
+ 519: 11(int) Constant 140
+ 522: 11(int) Constant 141
+ 525: 11(int) Constant 142
+ 528: 11(int) Constant 143
+ 531: 11(int) Constant 144
+ 535: 11(int) Constant 148
+ 542: 11(int) Constant 159
+ 543: TypePointer Function 116(HSOutput)
+ 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 123 30 542 16 132 19
+ 547: 18(fvec4) ConstantComposite 227 227 227 227
+ 548: 46(fvec2) ConstantComposite 227 227
+ 549:116(HSOutput) ConstantComposite 547 228 548
+ 551: 11(int) Constant 160
+ 557: 11(int) Constant 161
+ 559: TypePointer Function 69(fvec3)
+ 564: 11(int) Constant 162
+ 570: 11(int) Constant 163
+ 575: TypeArray 18(fvec4) 19
+ 576: TypePointer Input 575
+ 577(patch.Pos): 576(ptr) Variable Input
+ 578: TypePointer Input 18(fvec4)
+ 582: TypeArray 69(fvec3) 19
583: TypePointer Input 582
- 584(patch.Pos): 583(ptr) Variable Input
- 585: TypePointer Input 18(fvec4)
- 589: TypeArray 69(fvec3) 19
+584(patch.Normal): 583(ptr) Variable Input
+ 585: TypePointer Input 69(fvec3)
+ 589: TypeArray 46(fvec2) 19
590: TypePointer Input 589
-591(patch.Normal): 590(ptr) Variable Input
- 592: TypePointer Input 69(fvec3)
- 596: TypeArray 46(fvec2) 19
- 597: TypePointer Input 596
- 598(patch.UV): 597(ptr) Variable Input
- 599: TypePointer Input 46(fvec2)
- 631: TypePointer Input 11(int)
-632(InvocationID): 631(ptr) Variable Input
+ 591(patch.UV): 590(ptr) Variable Input
+ 592: TypePointer Input 46(fvec2)
+ 624: TypePointer Input 11(int)
+625(InvocationID): 624(ptr) Variable Input
+ 633: TypePointer Output 575
+634(@entryPointOutput.Pos): 633(ptr) Variable Output
+ 638: TypePointer Output 18(fvec4)
640: TypePointer Output 582
-641(@entryPointOutput.Pos): 640(ptr) Variable Output
- 645: TypePointer Output 18(fvec4)
+641(@entryPointOutput.Normal): 640(ptr) Variable Output
+ 645: TypePointer Output 69(fvec3)
647: TypePointer Output 589
-648(@entryPointOutput.Normal): 647(ptr) Variable Output
- 652: TypePointer Output 69(fvec3)
- 654: TypePointer Output 596
-655(@entryPointOutput.UV): 654(ptr) Variable Output
- 659: TypePointer Output 46(fvec2)
- 669: TypePointer Output 88
-670(@patchConstantOutput.TessLevelOuter): 669(ptr) Variable Output
- 673: TypePointer Output 8(float)
- 684: TypePointer Output 90
-685(@patchConstantOutput.TessLevelInner): 684(ptr) Variable Output
+648(@entryPointOutput.UV): 647(ptr) Variable Output
+ 652: TypePointer Output 46(fvec2)
+ 662: TypePointer Output 88
+663(@patchConstantOutput.TessLevelOuter): 662(ptr) Variable Output
+ 666: TypePointer Output 8(float)
+ 677: TypePointer Output 90
+678(@patchConstantOutput.TessLevelInner): 677(ptr) Variable Output
Line 1 158 1
6(main): 4 Function None 5
7: Label
- 581(patch): 87(ptr) Variable Function
-630(InvocationID): 115(ptr) Variable Function
-634(flattenTemp): 550(ptr) Variable Function
- 635(param): 87(ptr) Variable Function
- 637(param): 115(ptr) Variable Function
-665(@patchConstantResult): 411(ptr) Variable Function
- 666(param): 87(ptr) Variable Function
+ 574(patch): 87(ptr) Variable Function
+623(InvocationID): 115(ptr) Variable Function
+627(flattenTemp): 543(ptr) Variable Function
+ 628(param): 87(ptr) Variable Function
+ 630(param): 115(ptr) Variable Function
+658(@patchConstantResult): 407(ptr) Variable Function
+ 659(param): 87(ptr) Variable Function
Line 1 158 0
- 586: 585(ptr) AccessChain 584(patch.Pos) 213
- 587: 18(fvec4) Load 586
- 588: 21(ptr) AccessChain 581(patch) 213 213
+ 579: 578(ptr) AccessChain 577(patch.Pos) 213
+ 580: 18(fvec4) Load 579
+ 581: 21(ptr) AccessChain 574(patch) 213 213
+ Store 581 580
+ 586: 585(ptr) AccessChain 584(patch.Normal) 213
+ 587: 69(fvec3) Load 586
+ 588: 559(ptr) AccessChain 574(patch) 213 214
Store 588 587
- 593: 592(ptr) AccessChain 591(patch.Normal) 213
- 594: 69(fvec3) Load 593
- 595: 566(ptr) AccessChain 581(patch) 213 214
+ 593: 592(ptr) AccessChain 591(patch.UV) 213
+ 594: 46(fvec2) Load 593
+ 595: 48(ptr) AccessChain 574(patch) 213 417
Store 595 594
- 600: 599(ptr) AccessChain 598(patch.UV) 213
- 601: 46(fvec2) Load 600
- 602: 48(ptr) AccessChain 581(patch) 213 421
- Store 602 601
- 603: 585(ptr) AccessChain 584(patch.Pos) 214
- 604: 18(fvec4) Load 603
- 605: 21(ptr) AccessChain 581(patch) 214 213
- Store 605 604
- 606: 592(ptr) AccessChain 591(patch.Normal) 214
- 607: 69(fvec3) Load 606
- 608: 566(ptr) AccessChain 581(patch) 214 214
- Store 608 607
- 609: 599(ptr) AccessChain 598(patch.UV) 214
- 610: 46(fvec2) Load 609
- 611: 48(ptr) AccessChain 581(patch) 214 421
- Store 611 610
- 612: 585(ptr) AccessChain 584(patch.Pos) 421
- 613: 18(fvec4) Load 612
- 614: 21(ptr) AccessChain 581(patch) 421 213
- Store 614 613
- 615: 592(ptr) AccessChain 591(patch.Normal) 421
- 616: 69(fvec3) Load 615
- 617: 566(ptr) AccessChain 581(patch) 421 214
- Store 617 616
- 618: 599(ptr) AccessChain 598(patch.UV) 421
- 619: 46(fvec2) Load 618
- 620: 48(ptr) AccessChain 581(patch) 421 421
- Store 620 619
- 621: 585(ptr) AccessChain 584(patch.Pos) 379
- 622: 18(fvec4) Load 621
- 623: 21(ptr) AccessChain 581(patch) 379 213
- Store 623 622
- 624: 592(ptr) AccessChain 591(patch.Normal) 379
- 625: 69(fvec3) Load 624
- 626: 566(ptr) AccessChain 581(patch) 379 214
- Store 626 625
- 627: 599(ptr) AccessChain 598(patch.UV) 379
- 628: 46(fvec2) Load 627
- 629: 48(ptr) AccessChain 581(patch) 379 421
- Store 629 628
- 633: 11(int) Load 632(InvocationID)
- Store 630(InvocationID) 633
- 636: 85 Load 581(patch)
- Store 635(param) 636
- 638: 11(int) Load 630(InvocationID)
- Store 637(param) 638
- 639:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 635(param) 637(param)
- Store 634(flattenTemp) 639
- 642: 11(int) Load 632(InvocationID)
- 643: 21(ptr) AccessChain 634(flattenTemp) 213
- 644: 18(fvec4) Load 643
- 646: 645(ptr) AccessChain 641(@entryPointOutput.Pos) 642
+ 596: 578(ptr) AccessChain 577(patch.Pos) 214
+ 597: 18(fvec4) Load 596
+ 598: 21(ptr) AccessChain 574(patch) 214 213
+ Store 598 597
+ 599: 585(ptr) AccessChain 584(patch.Normal) 214
+ 600: 69(fvec3) Load 599
+ 601: 559(ptr) AccessChain 574(patch) 214 214
+ Store 601 600
+ 602: 592(ptr) AccessChain 591(patch.UV) 214
+ 603: 46(fvec2) Load 602
+ 604: 48(ptr) AccessChain 574(patch) 214 417
+ Store 604 603
+ 605: 578(ptr) AccessChain 577(patch.Pos) 417
+ 606: 18(fvec4) Load 605
+ 607: 21(ptr) AccessChain 574(patch) 417 213
+ Store 607 606
+ 608: 585(ptr) AccessChain 584(patch.Normal) 417
+ 609: 69(fvec3) Load 608
+ 610: 559(ptr) AccessChain 574(patch) 417 214
+ Store 610 609
+ 611: 592(ptr) AccessChain 591(patch.UV) 417
+ 612: 46(fvec2) Load 611
+ 613: 48(ptr) AccessChain 574(patch) 417 417
+ Store 613 612
+ 614: 578(ptr) AccessChain 577(patch.Pos) 378
+ 615: 18(fvec4) Load 614
+ 616: 21(ptr) AccessChain 574(patch) 378 213
+ Store 616 615
+ 617: 585(ptr) AccessChain 584(patch.Normal) 378
+ 618: 69(fvec3) Load 617
+ 619: 559(ptr) AccessChain 574(patch) 378 214
+ Store 619 618
+ 620: 592(ptr) AccessChain 591(patch.UV) 378
+ 621: 46(fvec2) Load 620
+ 622: 48(ptr) AccessChain 574(patch) 378 417
+ Store 622 621
+ 626: 11(int) Load 625(InvocationID)
+ Store 623(InvocationID) 626
+ 629: 85 Load 574(patch)
+ Store 628(param) 629
+ 631: 11(int) Load 623(InvocationID)
+ Store 630(param) 631
+ 632:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 628(param) 630(param)
+ Store 627(flattenTemp) 632
+ 635: 11(int) Load 625(InvocationID)
+ 636: 21(ptr) AccessChain 627(flattenTemp) 213
+ 637: 18(fvec4) Load 636
+ 639: 638(ptr) AccessChain 634(@entryPointOutput.Pos) 635
+ Store 639 637
+ 642: 11(int) Load 625(InvocationID)
+ 643: 559(ptr) AccessChain 627(flattenTemp) 214
+ 644: 69(fvec3) Load 643
+ 646: 645(ptr) AccessChain 641(@entryPointOutput.Normal) 642
Store 646 644
- 649: 11(int) Load 632(InvocationID)
- 650: 566(ptr) AccessChain 634(flattenTemp) 214
- 651: 69(fvec3) Load 650
- 653: 652(ptr) AccessChain 648(@entryPointOutput.Normal) 649
+ 649: 11(int) Load 625(InvocationID)
+ 650: 48(ptr) AccessChain 627(flattenTemp) 417
+ 651: 46(fvec2) Load 650
+ 653: 652(ptr) AccessChain 648(@entryPointOutput.UV) 649
Store 653 651
- 656: 11(int) Load 632(InvocationID)
- 657: 48(ptr) AccessChain 634(flattenTemp) 421
- 658: 46(fvec2) Load 657
- 660: 659(ptr) AccessChain 655(@entryPointOutput.UV) 656
- Store 660 658
ControlBarrier 44 19 16
- 661: 11(int) Load 632(InvocationID)
- 662: 49(bool) IEqual 661 213
- SelectionMerge 664 None
- BranchConditional 662 663 664
- 663: Label
- 667: 85 Load 581(patch)
- Store 666(param) 667
- 668:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 666(param)
- Store 665(@patchConstantResult) 668
- 671: 156(ptr) AccessChain 665(@patchConstantResult) 213 213
+ 654: 11(int) Load 625(InvocationID)
+ 655: 49(bool) IEqual 654 213
+ SelectionMerge 657 None
+ BranchConditional 655 656 657
+ 656: Label
+ 660: 85 Load 574(patch)
+ Store 659(param) 660
+ 661:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 659(param)
+ Store 658(@patchConstantResult) 661
+ 664: 156(ptr) AccessChain 658(@patchConstantResult) 213 213
+ 665: 8(float) Load 664
+ 667: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 213
+ Store 667 665
+ 668: 156(ptr) AccessChain 658(@patchConstantResult) 213 214
+ 669: 8(float) Load 668
+ 670: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 214
+ Store 670 669
+ 671: 156(ptr) AccessChain 658(@patchConstantResult) 213 417
672: 8(float) Load 671
- 674: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 213
- Store 674 672
- 675: 156(ptr) AccessChain 665(@patchConstantResult) 213 214
- 676: 8(float) Load 675
- 677: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 214
- Store 677 676
- 678: 156(ptr) AccessChain 665(@patchConstantResult) 213 421
- 679: 8(float) Load 678
- 680: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 421
- Store 680 679
- 681: 156(ptr) AccessChain 665(@patchConstantResult) 213 379
- 682: 8(float) Load 681
- 683: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 379
- Store 683 682
- 686: 156(ptr) AccessChain 665(@patchConstantResult) 214 213
- 687: 8(float) Load 686
- 688: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 213
- Store 688 687
- 689: 156(ptr) AccessChain 665(@patchConstantResult) 214 214
- 690: 8(float) Load 689
- 691: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 214
- Store 691 690
- Branch 664
- 664: Label
+ 673: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 417
+ Store 673 672
+ 674: 156(ptr) AccessChain 658(@patchConstantResult) 213 378
+ 675: 8(float) Load 674
+ 676: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 378
+ Store 676 675
+ 679: 156(ptr) AccessChain 658(@patchConstantResult) 214 213
+ 680: 8(float) Load 679
+ 681: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 213
+ Store 681 680
+ 682: 156(ptr) AccessChain 658(@patchConstantResult) 214 214
+ 683: 8(float) Load 682
+ 684: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 214
+ Store 684 683
+ Branch 657
+ 657: Label
Return
FunctionEnd
Line 1 65 1
@@ -699,223 +692,223 @@ WARNING: 0:158: '' : attribute does not apply to entry point
370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
372: 210(int) Load 359(i)
- 374: 49(bool) SLessThan 372 269
- BranchConditional 374 364 365
+ 373: 49(bool) SLessThan 372 269
+ BranchConditional 373 364 365
364: Label
- 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
- 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 377 377 16 16
- 378: 18(fvec4) Load 314(pos)
- 380: 210(int) Load 359(i)
- 382: 381(ptr) AccessChain 207 213 379 380
- 383: 18(fvec4) Load 382
- 384: 8(float) Dot 378 383
- 386: 8(float) FAdd 384 385
- 388: 49(bool) FOrdLessThan 386 227
- SelectionMerge 390 None
- BranchConditional 388 389 390
- 389: Label
- 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
- 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 395 395 16 16
- ReturnValue 392
- 390: Label
+ 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
+ 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 376 376 16 16
+ 377: 18(fvec4) Load 314(pos)
+ 379: 210(int) Load 359(i)
+ 381: 380(ptr) AccessChain 207 213 378 379
+ 382: 18(fvec4) Load 381
+ 383: 8(float) Dot 377 382
+ 385: 8(float) FAdd 383 384
+ 386: 49(bool) FOrdLessThan 385 227
+ SelectionMerge 388 None
+ BranchConditional 386 387 388
+ 387: Label
+ 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
+ 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16
+ ReturnValue 389
+ 388: Label
Branch 366
366: Label
- 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
- 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
- 399: 210(int) Load 359(i)
- 400: 210(int) IAdd 399 214
- Store 359(i) 400
+ 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
+ 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
+ 396: 210(int) Load 359(i)
+ 397: 210(int) IAdd 396 214
+ Store 359(i) 397
Branch 363
365: Label
- 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
- 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 404 404 16 16
+ 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
+ 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 400 400 16 16
ReturnValue 175
FunctionEnd
Line 1 112 1
105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102
104(patch): 87(ptr) FunctionParameter
106: Label
- 412(output): 411(ptr) Variable Function
- 422(param): 21(ptr) Variable Function
- 425(param): 48(ptr) Variable Function
- 466(param): 21(ptr) Variable Function
+ 408(output): 407(ptr) Variable Function
+ 418(param): 21(ptr) Variable Function
+ 421(param): 48(ptr) Variable Function
+ 459(param): 21(ptr) Variable Function
+ 462(param): 21(ptr) Variable Function
469(param): 21(ptr) Variable Function
- 476(param): 21(ptr) Variable Function
+ 472(param): 21(ptr) Variable Function
479(param): 21(ptr) Variable Function
- 486(param): 21(ptr) Variable Function
+ 482(param): 21(ptr) Variable Function
489(param): 21(ptr) Variable Function
- 496(param): 21(ptr) Variable Function
- 499(param): 21(ptr) Variable Function
+ 492(param): 21(ptr) Variable Function
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 109 109 16 16
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 104(patch) 41
- 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
- 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
- 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 410 410 16 16
- 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 413 412(output) 41
- Store 412(output) 418
- 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 420 420 16 16
- 423: 21(ptr) AccessChain 104(patch) 213 213
- 424: 18(fvec4) Load 423
- Store 422(param) 424
- 426: 48(ptr) AccessChain 104(patch) 213 421
- 427: 46(fvec2) Load 426
- Store 425(param) 427
- 428: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 422(param) 425(param)
- 431: 49(bool) LogicalNot 428
- SelectionMerge 433 None
- BranchConditional 431 432 453
- 432: Label
- 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
+ 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16
+ 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 409 408(output) 41
+ Store 408(output) 414
+ 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 416 416 16 16
+ 419: 21(ptr) AccessChain 104(patch) 213 213
+ 420: 18(fvec4) Load 419
+ Store 418(param) 420
+ 422: 48(ptr) AccessChain 104(patch) 213 417
+ 423: 46(fvec2) Load 422
+ Store 421(param) 423
+ 424: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 418(param) 421(param)
+ 425: 49(bool) LogicalNot 424
+ SelectionMerge 427 None
+ BranchConditional 425 426 447
+ 426: Label
+ 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 430 430 16 16
+ 431: 156(ptr) AccessChain 408(output) 214 213
+ Store 431 227
+ 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16
+ 434: 156(ptr) AccessChain 408(output) 214 214
+ Store 434 227
435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16
- 437: 156(ptr) AccessChain 412(output) 214 213
+ 437: 156(ptr) AccessChain 408(output) 213 213
Store 437 227
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16
- 440: 156(ptr) AccessChain 412(output) 214 214
+ 440: 156(ptr) AccessChain 408(output) 213 214
Store 440 227
441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
- 443: 156(ptr) AccessChain 412(output) 213 213
+ 443: 156(ptr) AccessChain 408(output) 213 417
Store 443 227
444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16
- 446: 156(ptr) AccessChain 412(output) 213 214
+ 446: 156(ptr) AccessChain 408(output) 213 378
Store 446 227
- 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 448 448 16 16
- 449: 156(ptr) AccessChain 412(output) 213 421
- Store 449 227
- 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 451 451 16 16
- 452: 156(ptr) AccessChain 412(output) 213 379
- Store 452 227
- Branch 433
- 453: Label
- 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
- 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 456 456 16 16
- 457: 297(ptr) AccessChain 207 213 301
- 458: 8(float) Load 457
- 460: 49(bool) FOrdGreaterThan 458 227
- SelectionMerge 462 None
- BranchConditional 460 461 520
- 461: Label
- 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
- 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16
- 467: 21(ptr) AccessChain 104(patch) 379 213
- 468: 18(fvec4) Load 467
- Store 466(param) 468
+ Branch 427
+ 447: Label
+ 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 450 450 16 16
+ 451: 297(ptr) AccessChain 207 213 301
+ 452: 8(float) Load 451
+ 453: 49(bool) FOrdGreaterThan 452 227
+ SelectionMerge 455 None
+ BranchConditional 453 454 513
+ 454: Label
+ 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 458 458 16 16
+ 460: 21(ptr) AccessChain 104(patch) 378 213
+ 461: 18(fvec4) Load 460
+ Store 459(param) 461
+ 463: 21(ptr) AccessChain 104(patch) 213 213
+ 464: 18(fvec4) Load 463
+ Store 462(param) 464
+ 465: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 459(param) 462(param)
+ 466: 156(ptr) AccessChain 408(output) 213 213
+ Store 466 465
+ 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 468 468 16 16
470: 21(ptr) AccessChain 104(patch) 213 213
471: 18(fvec4) Load 470
Store 469(param) 471
- 472: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 466(param) 469(param)
- 473: 156(ptr) AccessChain 412(output) 213 213
- Store 473 472
- 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16
- 477: 21(ptr) AccessChain 104(patch) 213 213
- 478: 18(fvec4) Load 477
- Store 476(param) 478
+ 473: 21(ptr) AccessChain 104(patch) 214 213
+ 474: 18(fvec4) Load 473
+ Store 472(param) 474
+ 475: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 469(param) 472(param)
+ 476: 156(ptr) AccessChain 408(output) 213 214
+ Store 476 475
+ 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 478 478 16 16
480: 21(ptr) AccessChain 104(patch) 214 213
481: 18(fvec4) Load 480
Store 479(param) 481
- 482: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 476(param) 479(param)
- 483: 156(ptr) AccessChain 412(output) 213 214
- Store 483 482
- 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 485 485 16 16
- 487: 21(ptr) AccessChain 104(patch) 214 213
- 488: 18(fvec4) Load 487
- Store 486(param) 488
- 490: 21(ptr) AccessChain 104(patch) 421 213
+ 483: 21(ptr) AccessChain 104(patch) 417 213
+ 484: 18(fvec4) Load 483
+ Store 482(param) 484
+ 485: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 479(param) 482(param)
+ 486: 156(ptr) AccessChain 408(output) 213 417
+ Store 486 485
+ 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 488 488 16 16
+ 490: 21(ptr) AccessChain 104(patch) 417 213
491: 18(fvec4) Load 490
Store 489(param) 491
- 492: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 486(param) 489(param)
- 493: 156(ptr) AccessChain 412(output) 213 421
- Store 493 492
- 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 495 495 16 16
- 497: 21(ptr) AccessChain 104(patch) 421 213
- 498: 18(fvec4) Load 497
- Store 496(param) 498
- 500: 21(ptr) AccessChain 104(patch) 379 213
- 501: 18(fvec4) Load 500
- Store 499(param) 501
- 502: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 496(param) 499(param)
- 503: 156(ptr) AccessChain 412(output) 213 379
- Store 503 502
- 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 505 505 16 16
- 506: 156(ptr) AccessChain 412(output) 213 213
- 507: 8(float) Load 506
- 508: 156(ptr) AccessChain 412(output) 213 379
- 509: 8(float) Load 508
- 510: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 507 509 149
- 511: 156(ptr) AccessChain 412(output) 214 213
- Store 511 510
- 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 513 513 16 16
- 514: 156(ptr) AccessChain 412(output) 213 421
- 515: 8(float) Load 514
- 516: 156(ptr) AccessChain 412(output) 213 214
- 517: 8(float) Load 516
- 518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 149
- 519: 156(ptr) AccessChain 412(output) 214 214
- Store 519 518
- Branch 462
- 520: Label
- 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
- 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 523 523 16 16
- 524: 156(ptr) AccessChain 412(output) 214 213
- Store 524 305
- 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 526 526 16 16
- 527: 156(ptr) AccessChain 412(output) 214 214
- Store 527 305
- 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 529 529 16 16
- 530: 156(ptr) AccessChain 412(output) 213 213
- Store 530 305
- 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 532 532 16 16
- 533: 156(ptr) AccessChain 412(output) 213 214
- Store 533 305
- 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
- 536: 156(ptr) AccessChain 412(output) 213 421
- Store 536 305
- 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 538 538 16 16
- 539: 156(ptr) AccessChain 412(output) 213 379
- Store 539 305
- Branch 462
- 462: Label
- Branch 433
- 433: Label
- 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
- 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
- 543:92(ConstantsHSOutput) Load 412(output)
- ReturnValue 543
+ 493: 21(ptr) AccessChain 104(patch) 378 213
+ 494: 18(fvec4) Load 493
+ Store 492(param) 494
+ 495: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 489(param) 492(param)
+ 496: 156(ptr) AccessChain 408(output) 213 378
+ Store 496 495
+ 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 498 498 16 16
+ 499: 156(ptr) AccessChain 408(output) 213 213
+ 500: 8(float) Load 499
+ 501: 156(ptr) AccessChain 408(output) 213 378
+ 502: 8(float) Load 501
+ 503: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 500 502 149
+ 504: 156(ptr) AccessChain 408(output) 214 213
+ Store 504 503
+ 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 506 506 16 16
+ 507: 156(ptr) AccessChain 408(output) 213 417
+ 508: 8(float) Load 507
+ 509: 156(ptr) AccessChain 408(output) 213 214
+ 510: 8(float) Load 509
+ 511: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 508 510 149
+ 512: 156(ptr) AccessChain 408(output) 214 214
+ Store 512 511
+ Branch 455
+ 513: Label
+ 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 516 516 16 16
+ 517: 156(ptr) AccessChain 408(output) 214 213
+ Store 517 305
+ 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 519 519 16 16
+ 520: 156(ptr) AccessChain 408(output) 214 214
+ Store 520 305
+ 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 522 522 16 16
+ 523: 156(ptr) AccessChain 408(output) 213 213
+ Store 523 305
+ 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 525 525 16 16
+ 526: 156(ptr) AccessChain 408(output) 213 214
+ Store 526 305
+ 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 528 528 16 16
+ 529: 156(ptr) AccessChain 408(output) 213 417
+ Store 529 305
+ 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 531 531 16 16
+ 532: 156(ptr) AccessChain 408(output) 213 378
+ Store 532 305
+ Branch 455
+ 455: Label
+ Branch 427
+ 427: Label
+ 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
+ 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
+ 536:92(ConstantsHSOutput) Load 408(output)
+ ReturnValue 536
FunctionEnd
Line 1 158 1
129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125
127(patch): 87(ptr) FunctionParameter
128(InvocationID): 115(ptr) FunctionParameter
130: Label
- 551(output): 550(ptr) Variable Function
+ 544(output): 543(ptr) Variable Function
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 133 133 16 16
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 127(patch) 41
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 128(InvocationID) 41
- 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
- 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
- 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 549 549 16 16
- 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 552 551(output) 41
- Store 551(output) 556
- 557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 558 558 16 16
- 559: 11(int) Load 128(InvocationID)
- 560: 21(ptr) AccessChain 127(patch) 559 213
- 561: 18(fvec4) Load 560
- 562: 21(ptr) AccessChain 551(output) 213
+ 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
+ 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
+ 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
+ 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 545 544(output) 41
+ Store 544(output) 549
+ 550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 551 551 16 16
+ 552: 11(int) Load 128(InvocationID)
+ 553: 21(ptr) AccessChain 127(patch) 552 213
+ 554: 18(fvec4) Load 553
+ 555: 21(ptr) AccessChain 544(output) 213
+ Store 555 554
+ 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 557 557 16 16
+ 558: 11(int) Load 128(InvocationID)
+ 560: 559(ptr) AccessChain 127(patch) 558 214
+ 561: 69(fvec3) Load 560
+ 562: 559(ptr) AccessChain 544(output) 214
Store 562 561
563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16
565: 11(int) Load 128(InvocationID)
- 567: 566(ptr) AccessChain 127(patch) 565 214
- 568: 69(fvec3) Load 567
- 569: 566(ptr) AccessChain 551(output) 214
- Store 569 568
- 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 571 571 16 16
- 572: 11(int) Load 128(InvocationID)
- 573: 48(ptr) AccessChain 127(patch) 572 421
- 574: 46(fvec2) Load 573
- 575: 48(ptr) AccessChain 551(output) 421
- Store 575 574
- 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 577 577 16 16
- 578:116(HSOutput) Load 551(output)
- ReturnValue 578
+ 566: 48(ptr) AccessChain 127(patch) 565 417
+ 567: 46(fvec2) Load 566
+ 568: 48(ptr) AccessChain 544(output) 417
+ Store 568 567
+ 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 570 570 16 16
+ 571:116(HSOutput) Load 544(output)
+ ReturnValue 571
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tese.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tese.out
index 47ee2bd526..cbe38a3410 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tese.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.tese.out
@@ -1,14 +1,14 @@
spv.debuginfo.hlsl.tese
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 462
+// Id's are bound by 464
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint TessellationEvaluation 6 "main" 353 368 377 386 393 399 439 443 447 450 453 456 459
+ EntryPoint TessellationEvaluation 6 "main" 355 370 379 388 395 401 441 445 449 452 455 458 461
ExecutionMode 6 Quads
1: String ""
9: String "float"
@@ -52,13 +52,14 @@ spv.debuginfo.hlsl.tese
247: String "displacementMapSampler"
251: String "type.sampled.image"
252: String "@type.sampled.image"
- 266: String "modelview"
- 271: String "lightPos"
- 275: String "frustumPlanes"
- 278: String "tessellatedEdgeSize"
- 282: String "viewportDim"
- 286: String "UBO"
- 289: String "ubo"
+ 261: String "bool"
+ 268: String "modelview"
+ 273: String "lightPos"
+ 277: String "frustumPlanes"
+ 280: String "tessellatedEdgeSize"
+ 284: String "viewportDim"
+ 288: String "UBO"
+ 291: String "ubo"
Name 6 "main"
Name 24 "ConstantsHSOutput"
MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter"
@@ -89,74 +90,74 @@ spv.debuginfo.hlsl.tese
Name 217 "pos"
Name 235 "displacementMapTexture"
Name 245 "displacementMapSampler"
- Name 264 "UBO"
- MemberName 264(UBO) 0 "projection"
- MemberName 264(UBO) 1 "modelview"
- MemberName 264(UBO) 2 "lightPos"
- MemberName 264(UBO) 3 "frustumPlanes"
- MemberName 264(UBO) 4 "displacementFactor"
- MemberName 264(UBO) 5 "tessellationFactor"
- MemberName 264(UBO) 6 "viewportDim"
- MemberName 264(UBO) 7 "tessellatedEdgeSize"
- Name 287 "ubo"
- MemberName 287(ubo) 0 "ubo"
- Name 292 ""
- Name 351 "input"
- Name 353 "input.TessLevelOuter"
- Name 368 "input.TessLevelInner"
- Name 375 "TessCoord"
+ Name 266 "UBO"
+ MemberName 266(UBO) 0 "projection"
+ MemberName 266(UBO) 1 "modelview"
+ MemberName 266(UBO) 2 "lightPos"
+ MemberName 266(UBO) 3 "frustumPlanes"
+ MemberName 266(UBO) 4 "displacementFactor"
+ MemberName 266(UBO) 5 "tessellationFactor"
+ MemberName 266(UBO) 6 "viewportDim"
+ MemberName 266(UBO) 7 "tessellatedEdgeSize"
+ Name 289 "ubo"
+ MemberName 289(ubo) 0 "ubo"
+ Name 294 ""
+ Name 353 "input"
+ Name 355 "input.TessLevelOuter"
+ Name 370 "input.TessLevelInner"
Name 377 "TessCoord"
- Name 383 "patch"
- Name 386 "patch.Pos"
- Name 393 "patch.Normal"
- Name 399 "patch.UV"
- Name 431 "flattenTemp"
- Name 433 "param"
+ Name 379 "TessCoord"
+ Name 385 "patch"
+ Name 388 "patch.Pos"
+ Name 395 "patch.Normal"
+ Name 401 "patch.UV"
+ Name 433 "flattenTemp"
Name 435 "param"
- Name 439 "@entryPointOutput.Pos"
- Name 443 "@entryPointOutput.Normal"
- Name 447 "@entryPointOutput.UV"
- Name 450 "@entryPointOutput.ViewVec"
- Name 453 "@entryPointOutput.LightVec"
- Name 456 "@entryPointOutput.EyePos"
- Name 459 "@entryPointOutput.WorldPos"
+ Name 437 "param"
+ Name 441 "@entryPointOutput.Pos"
+ Name 445 "@entryPointOutput.Normal"
+ Name 449 "@entryPointOutput.UV"
+ Name 452 "@entryPointOutput.ViewVec"
+ Name 455 "@entryPointOutput.LightVec"
+ Name 458 "@entryPointOutput.EyePos"
+ Name 461 "@entryPointOutput.WorldPos"
Decorate 235(displacementMapTexture) DescriptorSet 0
Decorate 235(displacementMapTexture) Binding 1
Decorate 245(displacementMapSampler) DescriptorSet 0
Decorate 245(displacementMapSampler) Binding 1
- Decorate 262 ArrayStride 16
- MemberDecorate 264(UBO) 0 RowMajor
- MemberDecorate 264(UBO) 0 Offset 0
- MemberDecorate 264(UBO) 0 MatrixStride 16
- MemberDecorate 264(UBO) 1 RowMajor
- MemberDecorate 264(UBO) 1 Offset 64
- MemberDecorate 264(UBO) 1 MatrixStride 16
- MemberDecorate 264(UBO) 2 Offset 128
- MemberDecorate 264(UBO) 3 Offset 144
- MemberDecorate 264(UBO) 4 Offset 240
- MemberDecorate 264(UBO) 5 Offset 244
- MemberDecorate 264(UBO) 6 Offset 248
- MemberDecorate 264(UBO) 7 Offset 256
- MemberDecorate 287(ubo) 0 Offset 0
- Decorate 287(ubo) Block
- Decorate 292 DescriptorSet 0
- Decorate 292 Binding 0
- Decorate 353(input.TessLevelOuter) Patch
- Decorate 353(input.TessLevelOuter) BuiltIn TessLevelOuter
- Decorate 368(input.TessLevelInner) Patch
- Decorate 368(input.TessLevelInner) BuiltIn TessLevelInner
- Decorate 377(TessCoord) Patch
- Decorate 377(TessCoord) BuiltIn TessCoord
- Decorate 386(patch.Pos) BuiltIn Position
- Decorate 393(patch.Normal) Location 0
- Decorate 399(patch.UV) Location 1
- Decorate 439(@entryPointOutput.Pos) BuiltIn Position
- Decorate 443(@entryPointOutput.Normal) Location 0
- Decorate 447(@entryPointOutput.UV) Location 1
- Decorate 450(@entryPointOutput.ViewVec) Location 2
- Decorate 453(@entryPointOutput.LightVec) Location 3
- Decorate 456(@entryPointOutput.EyePos) Location 4
- Decorate 459(@entryPointOutput.WorldPos) Location 5
+ Decorate 264 ArrayStride 16
+ MemberDecorate 266(UBO) 0 RowMajor
+ MemberDecorate 266(UBO) 0 Offset 0
+ MemberDecorate 266(UBO) 0 MatrixStride 16
+ MemberDecorate 266(UBO) 1 RowMajor
+ MemberDecorate 266(UBO) 1 Offset 64
+ MemberDecorate 266(UBO) 1 MatrixStride 16
+ MemberDecorate 266(UBO) 2 Offset 128
+ MemberDecorate 266(UBO) 3 Offset 144
+ MemberDecorate 266(UBO) 4 Offset 240
+ MemberDecorate 266(UBO) 5 Offset 244
+ MemberDecorate 266(UBO) 6 Offset 248
+ MemberDecorate 266(UBO) 7 Offset 256
+ MemberDecorate 289(ubo) 0 Offset 0
+ Decorate 289(ubo) Block
+ Decorate 294 DescriptorSet 0
+ Decorate 294 Binding 0
+ Decorate 355(input.TessLevelOuter) Patch
+ Decorate 355(input.TessLevelOuter) BuiltIn TessLevelOuter
+ Decorate 370(input.TessLevelInner) Patch
+ Decorate 370(input.TessLevelInner) BuiltIn TessLevelInner
+ Decorate 379(TessCoord) Patch
+ Decorate 379(TessCoord) BuiltIn TessCoord
+ Decorate 388(patch.Pos) BuiltIn Position
+ Decorate 395(patch.Normal) Location 0
+ Decorate 401(patch.UV) Location 1
+ Decorate 441(@entryPointOutput.Pos) BuiltIn Position
+ Decorate 445(@entryPointOutput.Normal) Location 0
+ Decorate 449(@entryPointOutput.UV) Location 1
+ Decorate 452(@entryPointOutput.ViewVec) Location 2
+ Decorate 455(@entryPointOutput.LightVec) Location 3
+ Decorate 458(@entryPointOutput.EyePos) Location 4
+ Decorate 461(@entryPointOutput.WorldPos) Location 5
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@@ -276,189 +277,190 @@ spv.debuginfo.hlsl.tese
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 251 16 27 228 16 37 252 233 17
258: TypeMatrix 43(fvec4) 4
260: TypeBool
- 261: 260(bool) ConstantTrue
- 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 261
- 262: TypeArray 43(fvec4) 15
- 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15
- 264(UBO): TypeStruct 258 258 43(fvec4) 262 8(float) 8(float) 40(fvec2) 8(float)
- 267: 11(int) Constant 29
- 268: 11(int) Constant 20
- 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17
- 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17
- 272: 11(int) Constant 30
- 273: 11(int) Constant 17
- 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 271 44 27 272 273 16 16 17
- 276: 11(int) Constant 22
- 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 275 263 27 58 276 16 16 17
- 279: 11(int) Constant 27
- 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17
- 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17
- 283: 11(int) Constant 34
- 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 41 27 283 268 16 16 17
- 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17
- 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 286 36 27 228 16 37 286 16 17 265 269 270 274 277 280 281 284
- 287(ubo): TypeStruct 264(UBO)
- 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 285 27 70 70 16 16 17
- 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 289 36 27 228 16 37 289 16 17 288
- 291: TypePointer Uniform 287(ubo)
- 292: 291(ptr) Variable Uniform
- 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 290 27 228 16 37 1 292 238
- 294: 121(int) Constant 4
- 295: TypePointer Uniform 8(float)
- 304: 11(int) Constant 86
- 306: TypePointer Uniform 258
- 315: 11(int) Constant 89
- 321: 11(int) Constant 90
- 322: TypePointer Uniform 43(fvec4)
- 332: 11(int) Constant 91
- 333: 121(int) Constant 6
- 338: 11(int) Constant 92
- 339: 121(int) Constant 5
- 347: 11(int) Constant 93
- 352: TypePointer Input 19
-353(input.TessLevelOuter): 352(ptr) Variable Input
- 354: TypePointer Input 8(float)
- 367: TypePointer Input 22
-368(input.TessLevelInner): 367(ptr) Variable Input
- 376: TypePointer Input 45(fvec3)
- 377(TessCoord): 376(ptr) Variable Input
- 382: TypePointer Function 61
- 384: TypeArray 43(fvec4) 18
- 385: TypePointer Input 384
- 386(patch.Pos): 385(ptr) Variable Input
- 387: TypePointer Input 43(fvec4)
- 391: TypeArray 45(fvec3) 18
- 392: TypePointer Input 391
-393(patch.Normal): 392(ptr) Variable Input
- 397: TypeArray 40(fvec2) 18
- 398: TypePointer Input 397
- 399(patch.UV): 398(ptr) Variable Input
- 400: TypePointer Input 40(fvec2)
- 438: TypePointer Output 43(fvec4)
-439(@entryPointOutput.Pos): 438(ptr) Variable Output
- 442: TypePointer Output 45(fvec3)
-443(@entryPointOutput.Normal): 442(ptr) Variable Output
- 446: TypePointer Output 40(fvec2)
-447(@entryPointOutput.UV): 446(ptr) Variable Output
-450(@entryPointOutput.ViewVec): 442(ptr) Variable Output
-453(@entryPointOutput.LightVec): 442(ptr) Variable Output
-456(@entryPointOutput.EyePos): 442(ptr) Variable Output
-459(@entryPointOutput.WorldPos): 442(ptr) Variable Output
+ 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 261 14 21 16
+ 263: 260(bool) ConstantTrue
+ 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 263
+ 264: TypeArray 43(fvec4) 15
+ 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15
+ 266(UBO): TypeStruct 258 258 43(fvec4) 264 8(float) 8(float) 40(fvec2) 8(float)
+ 269: 11(int) Constant 29
+ 270: 11(int) Constant 20
+ 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17
+ 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17
+ 274: 11(int) Constant 30
+ 275: 11(int) Constant 17
+ 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 273 44 27 274 275 16 16 17
+ 278: 11(int) Constant 22
+ 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 265 27 58 278 16 16 17
+ 281: 11(int) Constant 27
+ 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
+ 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
+ 285: 11(int) Constant 34
+ 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 284 41 27 285 270 16 16 17
+ 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
+ 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 288 36 27 228 16 37 288 16 17 267 271 272 276 279 282 283 286
+ 289(ubo): TypeStruct 266(UBO)
+ 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 291 287 27 70 70 16 16 17
+ 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 291 36 27 228 16 37 291 16 17 290
+ 293: TypePointer Uniform 289(ubo)
+ 294: 293(ptr) Variable Uniform
+ 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 292 27 228 16 37 1 294 238
+ 296: 121(int) Constant 4
+ 297: TypePointer Uniform 8(float)
+ 306: 11(int) Constant 86
+ 308: TypePointer Uniform 258
+ 317: 11(int) Constant 89
+ 323: 11(int) Constant 90
+ 324: TypePointer Uniform 43(fvec4)
+ 334: 11(int) Constant 91
+ 335: 121(int) Constant 6
+ 340: 11(int) Constant 92
+ 341: 121(int) Constant 5
+ 349: 11(int) Constant 93
+ 354: TypePointer Input 19
+355(input.TessLevelOuter): 354(ptr) Variable Input
+ 356: TypePointer Input 8(float)
+ 369: TypePointer Input 22
+370(input.TessLevelInner): 369(ptr) Variable Input
+ 378: TypePointer Input 45(fvec3)
+ 379(TessCoord): 378(ptr) Variable Input
+ 384: TypePointer Function 61
+ 386: TypeArray 43(fvec4) 18
+ 387: TypePointer Input 386
+ 388(patch.Pos): 387(ptr) Variable Input
+ 389: TypePointer Input 43(fvec4)
+ 393: TypeArray 45(fvec3) 18
+ 394: TypePointer Input 393
+395(patch.Normal): 394(ptr) Variable Input
+ 399: TypeArray 40(fvec2) 18
+ 400: TypePointer Input 399
+ 401(patch.UV): 400(ptr) Variable Input
+ 402: TypePointer Input 40(fvec2)
+ 440: TypePointer Output 43(fvec4)
+441(@entryPointOutput.Pos): 440(ptr) Variable Output
+ 444: TypePointer Output 45(fvec3)
+445(@entryPointOutput.Normal): 444(ptr) Variable Output
+ 448: TypePointer Output 40(fvec2)
+449(@entryPointOutput.UV): 448(ptr) Variable Output
+452(@entryPointOutput.ViewVec): 444(ptr) Variable Output
+455(@entryPointOutput.LightVec): 444(ptr) Variable Output
+458(@entryPointOutput.EyePos): 444(ptr) Variable Output
+461(@entryPointOutput.WorldPos): 444(ptr) Variable Output
Line 1 68 1
6(main): 4 Function None 5
7: Label
- 351(input): 39(ptr) Variable Function
- 375(TessCoord): 42(ptr) Variable Function
- 383(patch): 382(ptr) Variable Function
-431(flattenTemp): 105(ptr) Variable Function
- 433(param): 39(ptr) Variable Function
- 435(param): 42(ptr) Variable Function
+ 353(input): 39(ptr) Variable Function
+ 377(TessCoord): 42(ptr) Variable Function
+ 385(patch): 384(ptr) Variable Function
+433(flattenTemp): 105(ptr) Variable Function
+ 435(param): 39(ptr) Variable Function
+ 437(param): 42(ptr) Variable Function
Line 1 68 0
- 355: 354(ptr) AccessChain 353(input.TessLevelOuter) 124
- 356: 8(float) Load 355
- 357: 129(ptr) AccessChain 351(input) 124 124
- Store 357 356
- 358: 354(ptr) AccessChain 353(input.TessLevelOuter) 127
- 359: 8(float) Load 358
- 360: 129(ptr) AccessChain 351(input) 124 127
- Store 360 359
- 361: 354(ptr) AccessChain 353(input.TessLevelOuter) 125
- 362: 8(float) Load 361
- 363: 129(ptr) AccessChain 351(input) 124 125
- Store 363 362
- 364: 354(ptr) AccessChain 353(input.TessLevelOuter) 140
- 365: 8(float) Load 364
- 366: 129(ptr) AccessChain 351(input) 124 140
- Store 366 365
- 369: 354(ptr) AccessChain 368(input.TessLevelInner) 124
- 370: 8(float) Load 369
- 371: 129(ptr) AccessChain 351(input) 127 124
- Store 371 370
- 372: 354(ptr) AccessChain 368(input.TessLevelInner) 127
- 373: 8(float) Load 372
- 374: 129(ptr) AccessChain 351(input) 127 127
- Store 374 373
- 378: 45(fvec3) Load 377(TessCoord)
- 379: 8(float) CompositeExtract 378 0
- 380: 8(float) CompositeExtract 378 1
- 381: 40(fvec2) CompositeConstruct 379 380
- Store 375(TessCoord) 381
- 388: 387(ptr) AccessChain 386(patch.Pos) 124
- 389: 43(fvec4) Load 388
- 390: 192(ptr) AccessChain 383(patch) 124 124
- Store 390 389
- 394: 376(ptr) AccessChain 393(patch.Normal) 124
- 395: 45(fvec3) Load 394
- 396: 158(ptr) AccessChain 383(patch) 124 127
- Store 396 395
- 401: 400(ptr) AccessChain 399(patch.UV) 124
- 402: 40(fvec2) Load 401
- 403: 42(ptr) AccessChain 383(patch) 124 125
- Store 403 402
- 404: 387(ptr) AccessChain 386(patch.Pos) 127
- 405: 43(fvec4) Load 404
- 406: 192(ptr) AccessChain 383(patch) 127 124
- Store 406 405
- 407: 376(ptr) AccessChain 393(patch.Normal) 127
- 408: 45(fvec3) Load 407
- 409: 158(ptr) AccessChain 383(patch) 127 127
- Store 409 408
- 410: 400(ptr) AccessChain 399(patch.UV) 127
- 411: 40(fvec2) Load 410
- 412: 42(ptr) AccessChain 383(patch) 127 125
- Store 412 411
- 413: 387(ptr) AccessChain 386(patch.Pos) 125
- 414: 43(fvec4) Load 413
- 415: 192(ptr) AccessChain 383(patch) 125 124
- Store 415 414
- 416: 376(ptr) AccessChain 393(patch.Normal) 125
- 417: 45(fvec3) Load 416
- 418: 158(ptr) AccessChain 383(patch) 125 127
- Store 418 417
- 419: 400(ptr) AccessChain 399(patch.UV) 125
- 420: 40(fvec2) Load 419
- 421: 42(ptr) AccessChain 383(patch) 125 125
- Store 421 420
- 422: 387(ptr) AccessChain 386(patch.Pos) 140
- 423: 43(fvec4) Load 422
- 424: 192(ptr) AccessChain 383(patch) 140 124
- Store 424 423
- 425: 376(ptr) AccessChain 393(patch.Normal) 140
- 426: 45(fvec3) Load 425
- 427: 158(ptr) AccessChain 383(patch) 140 127
- Store 427 426
- 428: 400(ptr) AccessChain 399(patch.UV) 140
- 429: 40(fvec2) Load 428
- 430: 42(ptr) AccessChain 383(patch) 140 125
- Store 430 429
- 432: 61 Load 383(patch)
- 434:24(ConstantsHSOutput) Load 351(input)
- Store 433(param) 434
- 436: 40(fvec2) Load 375(TessCoord)
+ 357: 356(ptr) AccessChain 355(input.TessLevelOuter) 124
+ 358: 8(float) Load 357
+ 359: 129(ptr) AccessChain 353(input) 124 124
+ Store 359 358
+ 360: 356(ptr) AccessChain 355(input.TessLevelOuter) 127
+ 361: 8(float) Load 360
+ 362: 129(ptr) AccessChain 353(input) 124 127
+ Store 362 361
+ 363: 356(ptr) AccessChain 355(input.TessLevelOuter) 125
+ 364: 8(float) Load 363
+ 365: 129(ptr) AccessChain 353(input) 124 125
+ Store 365 364
+ 366: 356(ptr) AccessChain 355(input.TessLevelOuter) 140
+ 367: 8(float) Load 366
+ 368: 129(ptr) AccessChain 353(input) 124 140
+ Store 368 367
+ 371: 356(ptr) AccessChain 370(input.TessLevelInner) 124
+ 372: 8(float) Load 371
+ 373: 129(ptr) AccessChain 353(input) 127 124
+ Store 373 372
+ 374: 356(ptr) AccessChain 370(input.TessLevelInner) 127
+ 375: 8(float) Load 374
+ 376: 129(ptr) AccessChain 353(input) 127 127
+ Store 376 375
+ 380: 45(fvec3) Load 379(TessCoord)
+ 381: 8(float) CompositeExtract 380 0
+ 382: 8(float) CompositeExtract 380 1
+ 383: 40(fvec2) CompositeConstruct 381 382
+ Store 377(TessCoord) 383
+ 390: 389(ptr) AccessChain 388(patch.Pos) 124
+ 391: 43(fvec4) Load 390
+ 392: 192(ptr) AccessChain 385(patch) 124 124
+ Store 392 391
+ 396: 378(ptr) AccessChain 395(patch.Normal) 124
+ 397: 45(fvec3) Load 396
+ 398: 158(ptr) AccessChain 385(patch) 124 127
+ Store 398 397
+ 403: 402(ptr) AccessChain 401(patch.UV) 124
+ 404: 40(fvec2) Load 403
+ 405: 42(ptr) AccessChain 385(patch) 124 125
+ Store 405 404
+ 406: 389(ptr) AccessChain 388(patch.Pos) 127
+ 407: 43(fvec4) Load 406
+ 408: 192(ptr) AccessChain 385(patch) 127 124
+ Store 408 407
+ 409: 378(ptr) AccessChain 395(patch.Normal) 127
+ 410: 45(fvec3) Load 409
+ 411: 158(ptr) AccessChain 385(patch) 127 127
+ Store 411 410
+ 412: 402(ptr) AccessChain 401(patch.UV) 127
+ 413: 40(fvec2) Load 412
+ 414: 42(ptr) AccessChain 385(patch) 127 125
+ Store 414 413
+ 415: 389(ptr) AccessChain 388(patch.Pos) 125
+ 416: 43(fvec4) Load 415
+ 417: 192(ptr) AccessChain 385(patch) 125 124
+ Store 417 416
+ 418: 378(ptr) AccessChain 395(patch.Normal) 125
+ 419: 45(fvec3) Load 418
+ 420: 158(ptr) AccessChain 385(patch) 125 127
+ Store 420 419
+ 421: 402(ptr) AccessChain 401(patch.UV) 125
+ 422: 40(fvec2) Load 421
+ 423: 42(ptr) AccessChain 385(patch) 125 125
+ Store 423 422
+ 424: 389(ptr) AccessChain 388(patch.Pos) 140
+ 425: 43(fvec4) Load 424
+ 426: 192(ptr) AccessChain 385(patch) 140 124
+ Store 426 425
+ 427: 378(ptr) AccessChain 395(patch.Normal) 140
+ 428: 45(fvec3) Load 427
+ 429: 158(ptr) AccessChain 385(patch) 140 127
+ Store 429 428
+ 430: 402(ptr) AccessChain 401(patch.UV) 140
+ 431: 40(fvec2) Load 430
+ 432: 42(ptr) AccessChain 385(patch) 140 125
+ Store 432 431
+ 434: 61 Load 385(patch)
+ 436:24(ConstantsHSOutput) Load 353(input)
Store 435(param) 436
- 437:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 433(param) 435(param) 432
- Store 431(flattenTemp) 437
- 440: 192(ptr) AccessChain 431(flattenTemp) 124
- 441: 43(fvec4) Load 440
- Store 439(@entryPointOutput.Pos) 441
- 444: 158(ptr) AccessChain 431(flattenTemp) 127
- 445: 45(fvec3) Load 444
- Store 443(@entryPointOutput.Normal) 445
- 448: 42(ptr) AccessChain 431(flattenTemp) 125
- 449: 40(fvec2) Load 448
- Store 447(@entryPointOutput.UV) 449
- 451: 158(ptr) AccessChain 431(flattenTemp) 140
- 452: 45(fvec3) Load 451
- Store 450(@entryPointOutput.ViewVec) 452
- 454: 158(ptr) AccessChain 431(flattenTemp) 294
- 455: 45(fvec3) Load 454
- Store 453(@entryPointOutput.LightVec) 455
- 457: 158(ptr) AccessChain 431(flattenTemp) 339
- 458: 45(fvec3) Load 457
- Store 456(@entryPointOutput.EyePos) 458
- 460: 158(ptr) AccessChain 431(flattenTemp) 333
- 461: 45(fvec3) Load 460
- Store 459(@entryPointOutput.WorldPos) 461
+ 438: 40(fvec2) Load 377(TessCoord)
+ Store 437(param) 438
+ 439:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 435(param) 437(param) 434
+ Store 433(flattenTemp) 439
+ 442: 192(ptr) AccessChain 433(flattenTemp) 124
+ 443: 43(fvec4) Load 442
+ Store 441(@entryPointOutput.Pos) 443
+ 446: 158(ptr) AccessChain 433(flattenTemp) 127
+ 447: 45(fvec3) Load 446
+ Store 445(@entryPointOutput.Normal) 447
+ 450: 42(ptr) AccessChain 433(flattenTemp) 125
+ 451: 40(fvec2) Load 450
+ Store 449(@entryPointOutput.UV) 451
+ 453: 158(ptr) AccessChain 433(flattenTemp) 140
+ 454: 45(fvec3) Load 453
+ Store 452(@entryPointOutput.ViewVec) 454
+ 456: 158(ptr) AccessChain 433(flattenTemp) 296
+ 457: 45(fvec3) Load 456
+ Store 455(@entryPointOutput.LightVec) 457
+ 459: 158(ptr) AccessChain 433(flattenTemp) 341
+ 460: 45(fvec3) Load 459
+ Store 458(@entryPointOutput.EyePos) 460
+ 462: 158(ptr) AccessChain 433(flattenTemp) 335
+ 463: 45(fvec3) Load 462
+ Store 461(@entryPointOutput.WorldPos) 463
Return
FunctionEnd
Line 1 68 1
@@ -574,54 +576,54 @@ spv.debuginfo.hlsl.tese
255: 40(fvec2) Load 254
256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110
257: 8(float) CompositeExtract 256 0
- 296: 295(ptr) AccessChain 292 124 294
- 297: 8(float) Load 296
- 298: 8(float) FMul 257 297
- 299: 129(ptr) AccessChain 217(pos) 36
- 300: 8(float) Load 299
- 301: 8(float) FSub 300 298
- 302: 129(ptr) AccessChain 217(pos) 36
- Store 302 301
- 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 304 304 16 16
- 305: 43(fvec4) Load 217(pos)
- 307: 306(ptr) AccessChain 292 124 127
- 308: 258 Load 307
- 309: 43(fvec4) VectorTimesMatrix 305 308
- 310: 306(ptr) AccessChain 292 124 124
- 311: 258 Load 310
- 312: 43(fvec4) VectorTimesMatrix 309 311
- 313: 192(ptr) AccessChain 106(output) 124
- Store 313 312
- 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 315 315 16 16
- 316: 43(fvec4) Load 217(pos)
- 317: 45(fvec3) VectorShuffle 316 316 0 1 2
- 318: 45(fvec3) FNegate 317
- 319: 158(ptr) AccessChain 106(output) 140
- Store 319 318
- 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 321 321 16 16
- 323: 322(ptr) AccessChain 292 124 125
- 324: 43(fvec4) Load 323
- 325: 45(fvec3) VectorShuffle 324 324 0 1 2
- 326: 158(ptr) AccessChain 106(output) 140
- 327: 45(fvec3) Load 326
- 328: 45(fvec3) FAdd 325 327
- 329: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 328
- 330: 158(ptr) AccessChain 106(output) 294
- Store 330 329
- 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 332 332 16 16
- 334: 43(fvec4) Load 217(pos)
- 335: 45(fvec3) VectorShuffle 334 334 0 1 2
- 336: 158(ptr) AccessChain 106(output) 333
- Store 336 335
- 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 338 338 16 16
- 340: 43(fvec4) Load 217(pos)
- 341: 306(ptr) AccessChain 292 124 127
- 342: 258 Load 341
- 343: 43(fvec4) VectorTimesMatrix 340 342
- 344: 45(fvec3) VectorShuffle 343 343 0 1 2
- 345: 158(ptr) AccessChain 106(output) 339
- Store 345 344
- 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16
- 348:63(DSOutput) Load 106(output)
- ReturnValue 348
+ 298: 297(ptr) AccessChain 294 124 296
+ 299: 8(float) Load 298
+ 300: 8(float) FMul 257 299
+ 301: 129(ptr) AccessChain 217(pos) 36
+ 302: 8(float) Load 301
+ 303: 8(float) FSub 302 300
+ 304: 129(ptr) AccessChain 217(pos) 36
+ Store 304 303
+ 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 306 306 16 16
+ 307: 43(fvec4) Load 217(pos)
+ 309: 308(ptr) AccessChain 294 124 127
+ 310: 258 Load 309
+ 311: 43(fvec4) VectorTimesMatrix 307 310
+ 312: 308(ptr) AccessChain 294 124 124
+ 313: 258 Load 312
+ 314: 43(fvec4) VectorTimesMatrix 311 313
+ 315: 192(ptr) AccessChain 106(output) 124
+ Store 315 314
+ 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16
+ 318: 43(fvec4) Load 217(pos)
+ 319: 45(fvec3) VectorShuffle 318 318 0 1 2
+ 320: 45(fvec3) FNegate 319
+ 321: 158(ptr) AccessChain 106(output) 140
+ Store 321 320
+ 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 323 323 16 16
+ 325: 324(ptr) AccessChain 294 124 125
+ 326: 43(fvec4) Load 325
+ 327: 45(fvec3) VectorShuffle 326 326 0 1 2
+ 328: 158(ptr) AccessChain 106(output) 140
+ 329: 45(fvec3) Load 328
+ 330: 45(fvec3) FAdd 327 329
+ 331: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 330
+ 332: 158(ptr) AccessChain 106(output) 296
+ Store 332 331
+ 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 334 334 16 16
+ 336: 43(fvec4) Load 217(pos)
+ 337: 45(fvec3) VectorShuffle 336 336 0 1 2
+ 338: 158(ptr) AccessChain 106(output) 335
+ Store 338 337
+ 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 340 340 16 16
+ 342: 43(fvec4) Load 217(pos)
+ 343: 308(ptr) AccessChain 294 124 127
+ 344: 258 Load 343
+ 345: 43(fvec4) VectorTimesMatrix 342 344
+ 346: 45(fvec3) VectorShuffle 345 345 0 1 2
+ 347: 158(ptr) AccessChain 106(output) 341
+ Store 347 346
+ 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 349 349 16 16
+ 350:63(DSOutput) Load 106(output)
+ ReturnValue 350
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.vert.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.vert.out
index b436bc83dd..8ccd18e605 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.vert.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.hlsl.vert.out
@@ -1,14 +1,14 @@
spv.debuginfo.hlsl.vert
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 496
+// Id's are bound by 498
Capability Shader
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
- EntryPoint Vertex 6 "main" 445 448 452 455 458 461 465 469 477 481 484 487 490 493
+ EntryPoint Vertex 6 "main" 447 450 454 457 460 463 467 471 479 483 486 489 492 495
1: String ""
9: String "float"
12: String "uint"
@@ -34,20 +34,21 @@ spv.debuginfo.hlsl.vert
83: String "input"
93: String "output"
126: String "s"
- 137: String "modelview"
- 142: String "lightPos"
- 146: String "globSpeed"
- 150: String "UBO"
- 153: String "ubo"
- 170: String "c"
- 185: String "mx"
- 220: String "my"
- 254: String "mz"
- 274: String "rotMat"
- 303: String "gRotMat"
- 330: String "locPos"
- 344: String "pos"
- 409: String "lPos"
+ 134: String "bool"
+ 139: String "modelview"
+ 144: String "lightPos"
+ 148: String "globSpeed"
+ 152: String "UBO"
+ 155: String "ubo"
+ 172: String "c"
+ 187: String "mx"
+ 222: String "my"
+ 256: String "mz"
+ 276: String "rotMat"
+ 305: String "gRotMat"
+ 332: String "locPos"
+ 346: String "pos"
+ 411: String "lPos"
Name 6 "main"
Name 27 "VSInput"
MemberName 27(VSInput) 0 "Pos"
@@ -69,68 +70,68 @@ spv.debuginfo.hlsl.vert
Name 74 "input"
Name 91 "output"
Name 124 "s"
- Name 135 "UBO"
- MemberName 135(UBO) 0 "projection"
- MemberName 135(UBO) 1 "modelview"
- MemberName 135(UBO) 2 "lightPos"
- MemberName 135(UBO) 3 "locSpeed"
- MemberName 135(UBO) 4 "globSpeed"
- Name 151 "ubo"
- MemberName 151(ubo) 0 "ubo"
- Name 157 ""
- Name 168 "c"
- Name 183 "mx"
- Name 218 "my"
- Name 252 "mz"
- Name 272 "rotMat"
- Name 301 "gRotMat"
- Name 328 "locPos"
- Name 342 "pos"
- Name 407 "lPos"
- Name 443 "input"
- Name 445 "input.Pos"
- Name 448 "input.Normal"
- Name 452 "input.UV"
- Name 455 "input.Color"
- Name 458 "input.instancePos"
- Name 461 "input.instanceRot"
- Name 465 "input.instanceScale"
- Name 469 "input.instanceTexIndex"
- Name 472 "flattenTemp"
- Name 473 "param"
- Name 477 "@entryPointOutput.Pos"
- Name 481 "@entryPointOutput.Normal"
- Name 484 "@entryPointOutput.Color"
- Name 487 "@entryPointOutput.UV"
- Name 490 "@entryPointOutput.ViewVec"
- Name 493 "@entryPointOutput.LightVec"
- MemberDecorate 135(UBO) 0 RowMajor
- MemberDecorate 135(UBO) 0 Offset 0
- MemberDecorate 135(UBO) 0 MatrixStride 16
- MemberDecorate 135(UBO) 1 RowMajor
- MemberDecorate 135(UBO) 1 Offset 64
- MemberDecorate 135(UBO) 1 MatrixStride 16
- MemberDecorate 135(UBO) 2 Offset 128
- MemberDecorate 135(UBO) 3 Offset 144
- MemberDecorate 135(UBO) 4 Offset 148
- MemberDecorate 151(ubo) 0 Offset 0
- Decorate 151(ubo) Block
- Decorate 157 DescriptorSet 0
- Decorate 157 Binding 0
- Decorate 445(input.Pos) Location 0
- Decorate 448(input.Normal) Location 1
- Decorate 452(input.UV) Location 2
- Decorate 455(input.Color) Location 3
- Decorate 458(input.instancePos) Location 4
- Decorate 461(input.instanceRot) Location 5
- Decorate 465(input.instanceScale) Location 6
- Decorate 469(input.instanceTexIndex) Location 7
- Decorate 477(@entryPointOutput.Pos) BuiltIn Position
- Decorate 481(@entryPointOutput.Normal) Location 0
- Decorate 484(@entryPointOutput.Color) Location 1
- Decorate 487(@entryPointOutput.UV) Location 2
- Decorate 490(@entryPointOutput.ViewVec) Location 3
- Decorate 493(@entryPointOutput.LightVec) Location 4
+ Name 137 "UBO"
+ MemberName 137(UBO) 0 "projection"
+ MemberName 137(UBO) 1 "modelview"
+ MemberName 137(UBO) 2 "lightPos"
+ MemberName 137(UBO) 3 "locSpeed"
+ MemberName 137(UBO) 4 "globSpeed"
+ Name 153 "ubo"
+ MemberName 153(ubo) 0 "ubo"
+ Name 159 ""
+ Name 170 "c"
+ Name 185 "mx"
+ Name 220 "my"
+ Name 254 "mz"
+ Name 274 "rotMat"
+ Name 303 "gRotMat"
+ Name 330 "locPos"
+ Name 344 "pos"
+ Name 409 "lPos"
+ Name 445 "input"
+ Name 447 "input.Pos"
+ Name 450 "input.Normal"
+ Name 454 "input.UV"
+ Name 457 "input.Color"
+ Name 460 "input.instancePos"
+ Name 463 "input.instanceRot"
+ Name 467 "input.instanceScale"
+ Name 471 "input.instanceTexIndex"
+ Name 474 "flattenTemp"
+ Name 475 "param"
+ Name 479 "@entryPointOutput.Pos"
+ Name 483 "@entryPointOutput.Normal"
+ Name 486 "@entryPointOutput.Color"
+ Name 489 "@entryPointOutput.UV"
+ Name 492 "@entryPointOutput.ViewVec"
+ Name 495 "@entryPointOutput.LightVec"
+ MemberDecorate 137(UBO) 0 RowMajor
+ MemberDecorate 137(UBO) 0 Offset 0
+ MemberDecorate 137(UBO) 0 MatrixStride 16
+ MemberDecorate 137(UBO) 1 RowMajor
+ MemberDecorate 137(UBO) 1 Offset 64
+ MemberDecorate 137(UBO) 1 MatrixStride 16
+ MemberDecorate 137(UBO) 2 Offset 128
+ MemberDecorate 137(UBO) 3 Offset 144
+ MemberDecorate 137(UBO) 4 Offset 148
+ MemberDecorate 153(ubo) 0 Offset 0
+ Decorate 153(ubo) Block
+ Decorate 159 DescriptorSet 0
+ Decorate 159 Binding 0
+ Decorate 447(input.Pos) Location 0
+ Decorate 450(input.Normal) Location 1
+ Decorate 454(input.UV) Location 2
+ Decorate 457(input.Color) Location 3
+ Decorate 460(input.instancePos) Location 4
+ Decorate 463(input.instanceRot) Location 5
+ Decorate 467(input.instanceScale) Location 6
+ Decorate 471(input.instanceTexIndex) Location 7
+ Decorate 479(@entryPointOutput.Pos) BuiltIn Position
+ Decorate 483(@entryPointOutput.Normal) Location 0
+ Decorate 486(@entryPointOutput.Color) Location 1
+ Decorate 489(@entryPointOutput.UV) Location 2
+ Decorate 492(@entryPointOutput.ViewVec) Location 3
+ Decorate 495(@entryPointOutput.LightVec) Location 4
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@@ -212,153 +213,154 @@ spv.debuginfo.hlsl.vert
128: 23(int) Constant 5
131: TypeMatrix 56(fvec4) 4
133: TypeBool
- 134: 133(bool) ConstantTrue
- 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 134
- 135(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float)
- 138: 11(int) Constant 43
- 139: 11(int) Constant 20
- 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 137 132 30 138 139 16 16 17
- 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 137 132 30 138 139 16 16 17
- 143: 11(int) Constant 44
- 144: 11(int) Constant 17
- 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 57 30 143 144 16 16 17
- 147: 11(int) Constant 46
- 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 10 30 147 144 16 16 17
- 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 10 30 147 144 16 16 17
- 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 150 52 30 122 16 53 150 16 17 136 140 141 145 148
- 151(ubo): TypeStruct 135(UBO)
- 154: 11(int) Constant 49
- 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 149 30 154 48 16 16 17
- 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 52 30 122 16 53 153 16 17 152
- 156: TypePointer Uniform 151(ubo)
- 157: 156(ptr) Variable Uniform
- 159: 11(int) Constant 8
- 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 155 30 122 16 53 1 157 159
- 160: 23(int) Constant 0
- 161: TypePointer Uniform 8(float)
- 167: 11(int) Constant 69
- 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 170 10 30 167 16 78 26
- 179: 11(int) Constant 71
- 180: TypeMatrix 18(fvec3) 3
- 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 134
- 182: TypePointer Function 180
- 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 181 30 179 16 78 26
- 191: 11(int) Constant 72
- 194: 8(float) Constant 1065353216
- 201: 11(int) Constant 76
- 209: 11(int) Constant 77
- 217: 11(int) Constant 79
- 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 220 181 30 217 16 78 26
- 226: 11(int) Constant 81
- 235: 11(int) Constant 84
- 243: 11(int) Constant 85
- 251: 11(int) Constant 87
- 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 181 30 251 16 78 26
- 257: 11(int) Constant 88
- 262: 11(int) Constant 89
- 271: 11(int) Constant 91
- 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 274 181 30 271 16 78 26
- 282: 11(int) Constant 94
- 285: 23(int) Constant 4
- 291: 11(int) Constant 95
- 299: 11(int) Constant 96
- 300: TypePointer Function 131
- 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 132 30 299 16 78 26
- 309: TypePointer Function 56(fvec4)
- 312: 11(int) Constant 97
- 313: 23(int) Constant 1
- 314: 56(fvec4) ConstantComposite 95 194 95 95
- 317: 11(int) Constant 98
- 323: 11(int) Constant 99
- 324: 56(fvec4) ConstantComposite 95 95 95 194
- 327: 11(int) Constant 101
- 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 330 57 30 327 16 78 26
- 341: 11(int) Constant 102
- 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 344 57 30 341 16 78 26
- 348: 23(int) Constant 6
- 360: 11(int) Constant 104
- 364: TypePointer Uniform 131
- 373: 11(int) Constant 105
- 392: 11(int) Constant 107
- 406: 11(int) Constant 108
- 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 409 19 30 406 16 78 26
- 411: TypePointer Uniform 56(fvec4)
- 426: 11(int) Constant 109
- 433: 11(int) Constant 110
- 439: 11(int) Constant 111
- 444: TypePointer Input 18(fvec3)
- 445(input.Pos): 444(ptr) Variable Input
-448(input.Normal): 444(ptr) Variable Input
- 451: TypePointer Input 20(fvec2)
- 452(input.UV): 451(ptr) Variable Input
-455(input.Color): 444(ptr) Variable Input
-458(input.instancePos): 444(ptr) Variable Input
-461(input.instanceRot): 444(ptr) Variable Input
- 464: TypePointer Input 8(float)
-465(input.instanceScale): 464(ptr) Variable Input
- 468: TypePointer Input 23(int)
-469(input.instanceTexIndex): 468(ptr) Variable Input
- 476: TypePointer Output 56(fvec4)
-477(@entryPointOutput.Pos): 476(ptr) Variable Output
- 480: TypePointer Output 18(fvec3)
-481(@entryPointOutput.Normal): 480(ptr) Variable Output
-484(@entryPointOutput.Color): 480(ptr) Variable Output
-487(@entryPointOutput.UV): 480(ptr) Variable Output
-490(@entryPointOutput.ViewVec): 480(ptr) Variable Output
-493(@entryPointOutput.LightVec): 480(ptr) Variable Output
+ 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 134 14 21 16
+ 136: 133(bool) ConstantTrue
+ 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 136
+ 137(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float)
+ 140: 11(int) Constant 43
+ 141: 11(int) Constant 20
+ 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17
+ 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17
+ 145: 11(int) Constant 44
+ 146: 11(int) Constant 17
+ 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 57 30 145 146 16 16 17
+ 149: 11(int) Constant 46
+ 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17
+ 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17
+ 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 152 52 30 122 16 53 152 16 17 138 142 143 147 150
+ 153(ubo): TypeStruct 137(UBO)
+ 156: 11(int) Constant 49
+ 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 151 30 156 48 16 16 17
+ 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 155 52 30 122 16 53 155 16 17 154
+ 158: TypePointer Uniform 153(ubo)
+ 159: 158(ptr) Variable Uniform
+ 161: 11(int) Constant 8
+ 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 157 30 122 16 53 1 159 161
+ 162: 23(int) Constant 0
+ 163: TypePointer Uniform 8(float)
+ 169: 11(int) Constant 69
+ 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 10 30 169 16 78 26
+ 181: 11(int) Constant 71
+ 182: TypeMatrix 18(fvec3) 3
+ 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 136
+ 184: TypePointer Function 182
+ 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 183 30 181 16 78 26
+ 193: 11(int) Constant 72
+ 196: 8(float) Constant 1065353216
+ 203: 11(int) Constant 76
+ 211: 11(int) Constant 77
+ 219: 11(int) Constant 79
+ 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 222 183 30 219 16 78 26
+ 228: 11(int) Constant 81
+ 237: 11(int) Constant 84
+ 245: 11(int) Constant 85
+ 253: 11(int) Constant 87
+ 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 183 30 253 16 78 26
+ 259: 11(int) Constant 88
+ 264: 11(int) Constant 89
+ 273: 11(int) Constant 91
+ 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 276 183 30 273 16 78 26
+ 284: 11(int) Constant 94
+ 287: 23(int) Constant 4
+ 293: 11(int) Constant 95
+ 301: 11(int) Constant 96
+ 302: TypePointer Function 131
+ 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 305 132 30 301 16 78 26
+ 311: TypePointer Function 56(fvec4)
+ 314: 11(int) Constant 97
+ 315: 23(int) Constant 1
+ 316: 56(fvec4) ConstantComposite 95 196 95 95
+ 319: 11(int) Constant 98
+ 325: 11(int) Constant 99
+ 326: 56(fvec4) ConstantComposite 95 95 95 196
+ 329: 11(int) Constant 101
+ 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 332 57 30 329 16 78 26
+ 343: 11(int) Constant 102
+ 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 346 57 30 343 16 78 26
+ 350: 23(int) Constant 6
+ 362: 11(int) Constant 104
+ 366: TypePointer Uniform 131
+ 375: 11(int) Constant 105
+ 394: 11(int) Constant 107
+ 408: 11(int) Constant 108
+ 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 411 19 30 408 16 78 26
+ 413: TypePointer Uniform 56(fvec4)
+ 428: 11(int) Constant 109
+ 435: 11(int) Constant 110
+ 441: 11(int) Constant 111
+ 446: TypePointer Input 18(fvec3)
+ 447(input.Pos): 446(ptr) Variable Input
+450(input.Normal): 446(ptr) Variable Input
+ 453: TypePointer Input 20(fvec2)
+ 454(input.UV): 453(ptr) Variable Input
+457(input.Color): 446(ptr) Variable Input
+460(input.instancePos): 446(ptr) Variable Input
+463(input.instanceRot): 446(ptr) Variable Input
+ 466: TypePointer Input 8(float)
+467(input.instanceScale): 466(ptr) Variable Input
+ 470: TypePointer Input 23(int)
+471(input.instanceTexIndex): 470(ptr) Variable Input
+ 478: TypePointer Output 56(fvec4)
+479(@entryPointOutput.Pos): 478(ptr) Variable Output
+ 482: TypePointer Output 18(fvec3)
+483(@entryPointOutput.Normal): 482(ptr) Variable Output
+486(@entryPointOutput.Color): 482(ptr) Variable Output
+489(@entryPointOutput.UV): 482(ptr) Variable Output
+492(@entryPointOutput.ViewVec): 482(ptr) Variable Output
+495(@entryPointOutput.LightVec): 482(ptr) Variable Output
Line 1 62 1
6(main): 4 Function None 5
7: Label
- 443(input): 55(ptr) Variable Function
-472(flattenTemp): 90(ptr) Variable Function
- 473(param): 55(ptr) Variable Function
+ 445(input): 55(ptr) Variable Function
+474(flattenTemp): 90(ptr) Variable Function
+ 475(param): 55(ptr) Variable Function
Line 1 62 0
- 446: 18(fvec3) Load 445(input.Pos)
- 447: 103(ptr) AccessChain 443(input) 160
- Store 447 446
- 449: 18(fvec3) Load 448(input.Normal)
- 450: 103(ptr) AccessChain 443(input) 313
- Store 450 449
- 453: 20(fvec2) Load 452(input.UV)
- 454: 109(ptr) AccessChain 443(input) 101
- Store 454 453
- 456: 18(fvec3) Load 455(input.Color)
- 457: 103(ptr) AccessChain 443(input) 102
- Store 457 456
- 459: 18(fvec3) Load 458(input.instancePos)
- 460: 103(ptr) AccessChain 443(input) 285
- Store 460 459
- 462: 18(fvec3) Load 461(input.instanceRot)
- 463: 103(ptr) AccessChain 443(input) 128
- Store 463 462
- 466: 8(float) Load 465(input.instanceScale)
- 467: 123(ptr) AccessChain 443(input) 348
- Store 467 466
- 470: 23(int) Load 469(input.instanceTexIndex)
- 471: 113(ptr) AccessChain 443(input) 112
- Store 471 470
- 474: 27(VSInput) Load 443(input)
- Store 473(param) 474
- 475:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 473(param)
- Store 472(flattenTemp) 475
- 478: 309(ptr) AccessChain 472(flattenTemp) 160
- 479: 56(fvec4) Load 478
- Store 477(@entryPointOutput.Pos) 479
- 482: 103(ptr) AccessChain 472(flattenTemp) 313
- 483: 18(fvec3) Load 482
- Store 481(@entryPointOutput.Normal) 483
- 485: 103(ptr) AccessChain 472(flattenTemp) 101
- 486: 18(fvec3) Load 485
- Store 484(@entryPointOutput.Color) 486
- 488: 103(ptr) AccessChain 472(flattenTemp) 102
- 489: 18(fvec3) Load 488
- Store 487(@entryPointOutput.UV) 489
- 491: 103(ptr) AccessChain 472(flattenTemp) 285
- 492: 18(fvec3) Load 491
- Store 490(@entryPointOutput.ViewVec) 492
- 494: 103(ptr) AccessChain 472(flattenTemp) 128
- 495: 18(fvec3) Load 494
- Store 493(@entryPointOutput.LightVec) 495
+ 448: 18(fvec3) Load 447(input.Pos)
+ 449: 103(ptr) AccessChain 445(input) 162
+ Store 449 448
+ 451: 18(fvec3) Load 450(input.Normal)
+ 452: 103(ptr) AccessChain 445(input) 315
+ Store 452 451
+ 455: 20(fvec2) Load 454(input.UV)
+ 456: 109(ptr) AccessChain 445(input) 101
+ Store 456 455
+ 458: 18(fvec3) Load 457(input.Color)
+ 459: 103(ptr) AccessChain 445(input) 102
+ Store 459 458
+ 461: 18(fvec3) Load 460(input.instancePos)
+ 462: 103(ptr) AccessChain 445(input) 287
+ Store 462 461
+ 464: 18(fvec3) Load 463(input.instanceRot)
+ 465: 103(ptr) AccessChain 445(input) 128
+ Store 465 464
+ 468: 8(float) Load 467(input.instanceScale)
+ 469: 123(ptr) AccessChain 445(input) 350
+ Store 469 468
+ 472: 23(int) Load 471(input.instanceTexIndex)
+ 473: 113(ptr) AccessChain 445(input) 112
+ Store 473 472
+ 476: 27(VSInput) Load 445(input)
+ Store 475(param) 476
+ 477:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 475(param)
+ Store 474(flattenTemp) 477
+ 480: 311(ptr) AccessChain 474(flattenTemp) 162
+ 481: 56(fvec4) Load 480
+ Store 479(@entryPointOutput.Pos) 481
+ 484: 103(ptr) AccessChain 474(flattenTemp) 315
+ 485: 18(fvec3) Load 484
+ Store 483(@entryPointOutput.Normal) 485
+ 487: 103(ptr) AccessChain 474(flattenTemp) 101
+ 488: 18(fvec3) Load 487
+ Store 486(@entryPointOutput.Color) 488
+ 490: 103(ptr) AccessChain 474(flattenTemp) 102
+ 491: 18(fvec3) Load 490
+ Store 489(@entryPointOutput.UV) 491
+ 493: 103(ptr) AccessChain 474(flattenTemp) 287
+ 494: 18(fvec3) Load 493
+ Store 492(@entryPointOutput.ViewVec) 494
+ 496: 103(ptr) AccessChain 474(flattenTemp) 128
+ 497: 18(fvec3) Load 496
+ Store 495(@entryPointOutput.LightVec) 497
Return
FunctionEnd
Line 1 62 1
@@ -367,15 +369,15 @@ spv.debuginfo.hlsl.vert
76: Label
91(output): 90(ptr) Variable Function
124(s): 123(ptr) Variable Function
- 168(c): 123(ptr) Variable Function
- 183(mx): 182(ptr) Variable Function
- 218(my): 182(ptr) Variable Function
- 252(mz): 182(ptr) Variable Function
- 272(rotMat): 182(ptr) Variable Function
- 301(gRotMat): 300(ptr) Variable Function
- 328(locPos): 309(ptr) Variable Function
- 342(pos): 309(ptr) Variable Function
- 407(lPos): 103(ptr) Variable Function
+ 170(c): 123(ptr) Variable Function
+ 185(mx): 184(ptr) Variable Function
+ 220(my): 184(ptr) Variable Function
+ 254(mz): 184(ptr) Variable Function
+ 274(rotMat): 184(ptr) Variable Function
+ 303(gRotMat): 302(ptr) Variable Function
+ 330(locPos): 311(ptr) Variable Function
+ 344(pos): 311(ptr) Variable Function
+ 409(lPos): 103(ptr) Variable Function
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 79 79 16 16
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 74(input) 85
@@ -404,240 +406,240 @@ spv.debuginfo.hlsl.vert
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 125 124(s) 85
129: 123(ptr) AccessChain 74(input) 128 16
130: 8(float) Load 129
- 162: 161(ptr) AccessChain 157 160 102
- 163: 8(float) Load 162
- 164: 8(float) FAdd 130 163
- 165: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 164
- Store 124(s) 165
- 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 167 167 16 16
- 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 169 168(c) 85
- 172: 123(ptr) AccessChain 74(input) 128 16
- 173: 8(float) Load 172
- 174: 161(ptr) AccessChain 157 160 102
+ 164: 163(ptr) AccessChain 159 162 102
+ 165: 8(float) Load 164
+ 166: 8(float) FAdd 130 165
+ 167: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 166
+ Store 124(s) 167
+ 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 169 169 16 16
+ 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(c) 85
+ 174: 123(ptr) AccessChain 74(input) 128 16
175: 8(float) Load 174
- 176: 8(float) FAdd 173 175
- 177: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 176
- Store 168(c) 177
- 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16
- 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(mx) 85
- 187: 8(float) Load 168(c)
- 188: 8(float) Load 124(s)
- 189: 8(float) FNegate 188
- 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 191 191 16 16
- 192: 8(float) Load 124(s)
- 193: 8(float) Load 168(c)
- 195: 18(fvec3) CompositeConstruct 187 189 95
- 196: 18(fvec3) CompositeConstruct 192 193 95
- 197: 18(fvec3) CompositeConstruct 95 95 194
- 198: 180 CompositeConstruct 195 196 197
- 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16
- Store 183(mx) 198
- 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 201 201 16 16
- 202: 123(ptr) AccessChain 74(input) 128 52
- 203: 8(float) Load 202
- 204: 161(ptr) AccessChain 157 160 102
+ 176: 163(ptr) AccessChain 159 162 102
+ 177: 8(float) Load 176
+ 178: 8(float) FAdd 175 177
+ 179: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 178
+ Store 170(c) 179
+ 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16
+ 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 186 185(mx) 85
+ 189: 8(float) Load 170(c)
+ 190: 8(float) Load 124(s)
+ 191: 8(float) FNegate 190
+ 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 193 193 16 16
+ 194: 8(float) Load 124(s)
+ 195: 8(float) Load 170(c)
+ 197: 18(fvec3) CompositeConstruct 189 191 95
+ 198: 18(fvec3) CompositeConstruct 194 195 95
+ 199: 18(fvec3) CompositeConstruct 95 95 196
+ 200: 182 CompositeConstruct 197 198 199
+ 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16
+ Store 185(mx) 200
+ 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 203 203 16 16
+ 204: 123(ptr) AccessChain 74(input) 128 52
205: 8(float) Load 204
- 206: 8(float) FAdd 203 205
- 207: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 206
- Store 124(s) 207
- 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 209 209 16 16
- 210: 123(ptr) AccessChain 74(input) 128 52
- 211: 8(float) Load 210
- 212: 161(ptr) AccessChain 157 160 102
+ 206: 163(ptr) AccessChain 159 162 102
+ 207: 8(float) Load 206
+ 208: 8(float) FAdd 205 207
+ 209: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 208
+ Store 124(s) 209
+ 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 211 211 16 16
+ 212: 123(ptr) AccessChain 74(input) 128 52
213: 8(float) Load 212
- 214: 8(float) FAdd 211 213
- 215: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 214
- Store 168(c) 215
- 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 217 217 16 16
- 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 219 218(my) 85
- 222: 8(float) Load 168(c)
- 223: 8(float) Load 124(s)
- 224: 8(float) FNegate 223
- 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 226 226 16 16
- 227: 8(float) Load 124(s)
- 228: 8(float) Load 168(c)
- 229: 18(fvec3) CompositeConstruct 222 95 224
- 230: 18(fvec3) CompositeConstruct 95 194 95
- 231: 18(fvec3) CompositeConstruct 227 95 228
- 232: 180 CompositeConstruct 229 230 231
- 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 217 217 16 16
- Store 218(my) 232
- 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 235 235 16 16
- 236: 123(ptr) AccessChain 74(input) 128 21
- 237: 8(float) Load 236
- 238: 161(ptr) AccessChain 157 160 102
+ 214: 163(ptr) AccessChain 159 162 102
+ 215: 8(float) Load 214
+ 216: 8(float) FAdd 213 215
+ 217: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 216
+ Store 170(c) 217
+ 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16
+ 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 221 220(my) 85
+ 224: 8(float) Load 170(c)
+ 225: 8(float) Load 124(s)
+ 226: 8(float) FNegate 225
+ 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 228 228 16 16
+ 229: 8(float) Load 124(s)
+ 230: 8(float) Load 170(c)
+ 231: 18(fvec3) CompositeConstruct 224 95 226
+ 232: 18(fvec3) CompositeConstruct 95 196 95
+ 233: 18(fvec3) CompositeConstruct 229 95 230
+ 234: 182 CompositeConstruct 231 232 233
+ 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16
+ Store 220(my) 234
+ 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 237 237 16 16
+ 238: 123(ptr) AccessChain 74(input) 128 21
239: 8(float) Load 238
- 240: 8(float) FAdd 237 239
- 241: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 240
- Store 124(s) 241
- 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 243 243 16 16
- 244: 123(ptr) AccessChain 74(input) 128 21
- 245: 8(float) Load 244
- 246: 161(ptr) AccessChain 157 160 102
+ 240: 163(ptr) AccessChain 159 162 102
+ 241: 8(float) Load 240
+ 242: 8(float) FAdd 239 241
+ 243: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 242
+ Store 124(s) 243
+ 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 245 245 16 16
+ 246: 123(ptr) AccessChain 74(input) 128 21
247: 8(float) Load 246
- 248: 8(float) FAdd 245 247
- 249: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 248
- Store 168(c) 249
- 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 251 251 16 16
- 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(mz) 85
- 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 257 257 16 16
- 258: 8(float) Load 168(c)
- 259: 8(float) Load 124(s)
- 260: 8(float) FNegate 259
- 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 262 262 16 16
- 263: 8(float) Load 124(s)
- 264: 8(float) Load 168(c)
- 265: 18(fvec3) CompositeConstruct 194 95 95
- 266: 18(fvec3) CompositeConstruct 95 258 260
- 267: 18(fvec3) CompositeConstruct 95 263 264
- 268: 180 CompositeConstruct 265 266 267
- 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 251 251 16 16
- Store 252(mz) 268
- 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 271 271 16 16
- 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 273 272(rotMat) 85
- 276: 180 Load 183(mx)
- 277: 180 Load 218(my)
- 278: 180 MatrixTimesMatrix 276 277
- 279: 180 Load 252(mz)
- 280: 180 MatrixTimesMatrix 278 279
- Store 272(rotMat) 280
- 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 282 282 16 16
- 283: 123(ptr) AccessChain 74(input) 128 52
- 284: 8(float) Load 283
- 286: 161(ptr) AccessChain 157 160 285
- 287: 8(float) Load 286
- 288: 8(float) FAdd 284 287
- 289: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 288
- Store 124(s) 289
- 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 291 291 16 16
- 292: 123(ptr) AccessChain 74(input) 128 52
- 293: 8(float) Load 292
- 294: 161(ptr) AccessChain 157 160 285
+ 248: 163(ptr) AccessChain 159 162 102
+ 249: 8(float) Load 248
+ 250: 8(float) FAdd 247 249
+ 251: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 250
+ Store 170(c) 251
+ 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16
+ 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(mz) 85
+ 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 259 259 16 16
+ 260: 8(float) Load 170(c)
+ 261: 8(float) Load 124(s)
+ 262: 8(float) FNegate 261
+ 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16
+ 265: 8(float) Load 124(s)
+ 266: 8(float) Load 170(c)
+ 267: 18(fvec3) CompositeConstruct 196 95 95
+ 268: 18(fvec3) CompositeConstruct 95 260 262
+ 269: 18(fvec3) CompositeConstruct 95 265 266
+ 270: 182 CompositeConstruct 267 268 269
+ 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16
+ Store 254(mz) 270
+ 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 273 273 16 16
+ 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 275 274(rotMat) 85
+ 278: 182 Load 185(mx)
+ 279: 182 Load 220(my)
+ 280: 182 MatrixTimesMatrix 278 279
+ 281: 182 Load 254(mz)
+ 282: 182 MatrixTimesMatrix 280 281
+ Store 274(rotMat) 282
+ 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 284 284 16 16
+ 285: 123(ptr) AccessChain 74(input) 128 52
+ 286: 8(float) Load 285
+ 288: 163(ptr) AccessChain 159 162 287
+ 289: 8(float) Load 288
+ 290: 8(float) FAdd 286 289
+ 291: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 290
+ Store 124(s) 291
+ 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 293 293 16 16
+ 294: 123(ptr) AccessChain 74(input) 128 52
295: 8(float) Load 294
- 296: 8(float) FAdd 293 295
- 297: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 296
- Store 168(c) 297
- 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 299 299 16 16
- 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(gRotMat) 85
- 305: 8(float) Load 168(c)
- 306: 8(float) Load 124(s)
- 307: 8(float) FNegate 306
- 308: 56(fvec4) CompositeConstruct 305 95 307 95
- 310: 309(ptr) AccessChain 301(gRotMat) 160
- Store 310 308
- 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 312 312 16 16
- 315: 309(ptr) AccessChain 301(gRotMat) 313
- Store 315 314
- 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 317 317 16 16
- 318: 8(float) Load 124(s)
- 319: 8(float) Load 168(c)
- 320: 56(fvec4) CompositeConstruct 318 95 319 95
- 321: 309(ptr) AccessChain 301(gRotMat) 101
- Store 321 320
- 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 323 323 16 16
- 325: 309(ptr) AccessChain 301(gRotMat) 102
- Store 325 324
- 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 327 327 16 16
- 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 329 328(locPos) 85
- 332: 103(ptr) AccessChain 74(input) 160
- 333: 18(fvec3) Load 332
- 334: 180 Load 272(rotMat)
- 335: 18(fvec3) VectorTimesMatrix 333 334
- 336: 8(float) CompositeExtract 335 0
- 337: 8(float) CompositeExtract 335 1
- 338: 8(float) CompositeExtract 335 2
- 339: 56(fvec4) CompositeConstruct 336 337 338 194
- Store 328(locPos) 339
- 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 341 341 16 16
- 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 343 342(pos) 85
- 346: 56(fvec4) Load 328(locPos)
- 347: 18(fvec3) VectorShuffle 346 346 0 1 2
- 349: 123(ptr) AccessChain 74(input) 348
- 350: 8(float) Load 349
- 351: 18(fvec3) VectorTimesScalar 347 350
- 352: 103(ptr) AccessChain 74(input) 285
- 353: 18(fvec3) Load 352
- 354: 18(fvec3) FAdd 351 353
- 355: 8(float) CompositeExtract 354 0
- 356: 8(float) CompositeExtract 354 1
- 357: 8(float) CompositeExtract 354 2
- 358: 56(fvec4) CompositeConstruct 355 356 357 194
- Store 342(pos) 358
- 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 360 360 16 16
- 361: 56(fvec4) Load 342(pos)
- 362: 131 Load 301(gRotMat)
- 363: 56(fvec4) VectorTimesMatrix 361 362
- 365: 364(ptr) AccessChain 157 160 313
- 366: 131 Load 365
- 367: 56(fvec4) VectorTimesMatrix 363 366
- 368: 364(ptr) AccessChain 157 160 160
- 369: 131 Load 368
- 370: 56(fvec4) VectorTimesMatrix 367 369
- 371: 309(ptr) AccessChain 91(output) 160
- Store 371 370
- 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 373 373 16 16
- 374: 103(ptr) AccessChain 74(input) 313
- 375: 18(fvec3) Load 374
- 376: 180 Load 272(rotMat)
- 377: 18(fvec3) VectorTimesMatrix 375 376
- 378: 131 Load 301(gRotMat)
- 379: 364(ptr) AccessChain 157 160 313
- 380: 131 Load 379
- 381: 131 MatrixTimesMatrix 378 380
- 382: 56(fvec4) CompositeExtract 381 0
- 383: 18(fvec3) VectorShuffle 382 382 0 1 2
- 384: 56(fvec4) CompositeExtract 381 1
+ 296: 163(ptr) AccessChain 159 162 287
+ 297: 8(float) Load 296
+ 298: 8(float) FAdd 295 297
+ 299: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 298
+ Store 170(c) 299
+ 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 301 301 16 16
+ 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 304 303(gRotMat) 85
+ 307: 8(float) Load 170(c)
+ 308: 8(float) Load 124(s)
+ 309: 8(float) FNegate 308
+ 310: 56(fvec4) CompositeConstruct 307 95 309 95
+ 312: 311(ptr) AccessChain 303(gRotMat) 162
+ Store 312 310
+ 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 314 314 16 16
+ 317: 311(ptr) AccessChain 303(gRotMat) 315
+ Store 317 316
+ 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 319 319 16 16
+ 320: 8(float) Load 124(s)
+ 321: 8(float) Load 170(c)
+ 322: 56(fvec4) CompositeConstruct 320 95 321 95
+ 323: 311(ptr) AccessChain 303(gRotMat) 101
+ Store 323 322
+ 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 325 325 16 16
+ 327: 311(ptr) AccessChain 303(gRotMat) 102
+ Store 327 326
+ 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 329 329 16 16
+ 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 331 330(locPos) 85
+ 334: 103(ptr) AccessChain 74(input) 162
+ 335: 18(fvec3) Load 334
+ 336: 182 Load 274(rotMat)
+ 337: 18(fvec3) VectorTimesMatrix 335 336
+ 338: 8(float) CompositeExtract 337 0
+ 339: 8(float) CompositeExtract 337 1
+ 340: 8(float) CompositeExtract 337 2
+ 341: 56(fvec4) CompositeConstruct 338 339 340 196
+ Store 330(locPos) 341
+ 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 343 343 16 16
+ 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 345 344(pos) 85
+ 348: 56(fvec4) Load 330(locPos)
+ 349: 18(fvec3) VectorShuffle 348 348 0 1 2
+ 351: 123(ptr) AccessChain 74(input) 350
+ 352: 8(float) Load 351
+ 353: 18(fvec3) VectorTimesScalar 349 352
+ 354: 103(ptr) AccessChain 74(input) 287
+ 355: 18(fvec3) Load 354
+ 356: 18(fvec3) FAdd 353 355
+ 357: 8(float) CompositeExtract 356 0
+ 358: 8(float) CompositeExtract 356 1
+ 359: 8(float) CompositeExtract 356 2
+ 360: 56(fvec4) CompositeConstruct 357 358 359 196
+ Store 344(pos) 360
+ 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 362 362 16 16
+ 363: 56(fvec4) Load 344(pos)
+ 364: 131 Load 303(gRotMat)
+ 365: 56(fvec4) VectorTimesMatrix 363 364
+ 367: 366(ptr) AccessChain 159 162 315
+ 368: 131 Load 367
+ 369: 56(fvec4) VectorTimesMatrix 365 368
+ 370: 366(ptr) AccessChain 159 162 162
+ 371: 131 Load 370
+ 372: 56(fvec4) VectorTimesMatrix 369 371
+ 373: 311(ptr) AccessChain 91(output) 162
+ Store 373 372
+ 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 375 375 16 16
+ 376: 103(ptr) AccessChain 74(input) 315
+ 377: 18(fvec3) Load 376
+ 378: 182 Load 274(rotMat)
+ 379: 18(fvec3) VectorTimesMatrix 377 378
+ 380: 131 Load 303(gRotMat)
+ 381: 366(ptr) AccessChain 159 162 315
+ 382: 131 Load 381
+ 383: 131 MatrixTimesMatrix 380 382
+ 384: 56(fvec4) CompositeExtract 383 0
385: 18(fvec3) VectorShuffle 384 384 0 1 2
- 386: 56(fvec4) CompositeExtract 381 2
+ 386: 56(fvec4) CompositeExtract 383 1
387: 18(fvec3) VectorShuffle 386 386 0 1 2
- 388: 180 CompositeConstruct 383 385 387
- 389: 18(fvec3) VectorTimesMatrix 377 388
- 390: 103(ptr) AccessChain 91(output) 313
- Store 390 389
- 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16
- 393: 103(ptr) AccessChain 74(input) 160
- 394: 18(fvec3) Load 393
- 395: 103(ptr) AccessChain 74(input) 285
+ 388: 56(fvec4) CompositeExtract 383 2
+ 389: 18(fvec3) VectorShuffle 388 388 0 1 2
+ 390: 182 CompositeConstruct 385 387 389
+ 391: 18(fvec3) VectorTimesMatrix 379 390
+ 392: 103(ptr) AccessChain 91(output) 315
+ Store 392 391
+ 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 394 394 16 16
+ 395: 103(ptr) AccessChain 74(input) 162
396: 18(fvec3) Load 395
- 397: 18(fvec3) FAdd 394 396
- 398: 8(float) CompositeExtract 397 0
- 399: 8(float) CompositeExtract 397 1
- 400: 8(float) CompositeExtract 397 2
- 401: 56(fvec4) CompositeConstruct 398 399 400 194
- 402: 364(ptr) AccessChain 157 160 313
- 403: 131 Load 402
- 404: 56(fvec4) VectorTimesMatrix 401 403
- Store 342(pos) 404
- 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16
- 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 408 407(lPos) 85
- 412: 411(ptr) AccessChain 157 160 101
- 413: 56(fvec4) Load 412
- 414: 18(fvec3) VectorShuffle 413 413 0 1 2
- 415: 364(ptr) AccessChain 157 160 313
- 416: 131 Load 415
- 417: 56(fvec4) CompositeExtract 416 0
- 418: 18(fvec3) VectorShuffle 417 417 0 1 2
- 419: 56(fvec4) CompositeExtract 416 1
+ 397: 103(ptr) AccessChain 74(input) 287
+ 398: 18(fvec3) Load 397
+ 399: 18(fvec3) FAdd 396 398
+ 400: 8(float) CompositeExtract 399 0
+ 401: 8(float) CompositeExtract 399 1
+ 402: 8(float) CompositeExtract 399 2
+ 403: 56(fvec4) CompositeConstruct 400 401 402 196
+ 404: 366(ptr) AccessChain 159 162 315
+ 405: 131 Load 404
+ 406: 56(fvec4) VectorTimesMatrix 403 405
+ Store 344(pos) 406
+ 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 408 408 16 16
+ 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 410 409(lPos) 85
+ 414: 413(ptr) AccessChain 159 162 101
+ 415: 56(fvec4) Load 414
+ 416: 18(fvec3) VectorShuffle 415 415 0 1 2
+ 417: 366(ptr) AccessChain 159 162 315
+ 418: 131 Load 417
+ 419: 56(fvec4) CompositeExtract 418 0
420: 18(fvec3) VectorShuffle 419 419 0 1 2
- 421: 56(fvec4) CompositeExtract 416 2
+ 421: 56(fvec4) CompositeExtract 418 1
422: 18(fvec3) VectorShuffle 421 421 0 1 2
- 423: 180 CompositeConstruct 418 420 422
- 424: 18(fvec3) VectorTimesMatrix 414 423
- Store 407(lPos) 424
- 425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 426 426 16 16
- 427: 18(fvec3) Load 407(lPos)
- 428: 56(fvec4) Load 342(pos)
- 429: 18(fvec3) VectorShuffle 428 428 0 1 2
- 430: 18(fvec3) FSub 427 429
- 431: 103(ptr) AccessChain 91(output) 128
- Store 431 430
- 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16
- 434: 56(fvec4) Load 342(pos)
- 435: 18(fvec3) VectorShuffle 434 434 0 1 2
- 436: 18(fvec3) FNegate 435
- 437: 103(ptr) AccessChain 91(output) 285
- Store 437 436
- 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16
- 440:58(VSOutput) Load 91(output)
- ReturnValue 440
+ 423: 56(fvec4) CompositeExtract 418 2
+ 424: 18(fvec3) VectorShuffle 423 423 0 1 2
+ 425: 182 CompositeConstruct 420 422 424
+ 426: 18(fvec3) VectorTimesMatrix 416 425
+ Store 409(lPos) 426
+ 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 428 428 16 16
+ 429: 18(fvec3) Load 409(lPos)
+ 430: 56(fvec4) Load 344(pos)
+ 431: 18(fvec3) VectorShuffle 430 430 0 1 2
+ 432: 18(fvec3) FSub 429 431
+ 433: 103(ptr) AccessChain 91(output) 128
+ Store 433 432
+ 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 435 435 16 16
+ 436: 56(fvec4) Load 344(pos)
+ 437: 18(fvec3) VectorShuffle 436 436 0 1 2
+ 438: 18(fvec3) FNegate 437
+ 439: 103(ptr) AccessChain 91(output) 287
+ Store 439 438
+ 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 441 441 16 16
+ 442:58(VSOutput) Load 91(output)
+ ReturnValue 442
FunctionEnd
diff --git a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out
index f3319c20ee..d244fd156a 100644
--- a/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out
+++ b/third_party/vulkan-deps/glslang/src/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out
@@ -1,7 +1,7 @@
spv.debuginfo.scalar_types.glsl.frag
// Module Version 10000
// Generated by (magic number): 8000b
-// Id's are bound by 147
+// Id's are bound by 146
Capability Shader
Capability Float16
@@ -28,41 +28,41 @@ spv.debuginfo.scalar_types.glsl.frag
"
30: String "bool"
35: String "VAR_bool"
- 42: String "int"
- 47: String "VAR_int"
- 54: String "VAR_uint"
- 58: String "float"
- 63: String "VAR_float"
- 68: String "double"
- 74: String "VAR_double"
- 79: String "int8_t"
- 84: String "VAR_int8_t"
- 89: String "uint8_t"
- 94: String "VAR_uint8_t"
- 99: String "int16_t"
- 105: String "VAR_int16_t"
- 110: String "uint16_t"
- 115: String "VAR_uint16_t"
- 120: String "int64_t"
- 125: String "VAR_int64_t"
- 130: String "uint64_t"
- 135: String "VAR_uint64_t"
- 140: String "float16_t"
- 145: String "VAR_float16_t"
+ 41: String "int"
+ 46: String "VAR_int"
+ 53: String "VAR_uint"
+ 57: String "float"
+ 62: String "VAR_float"
+ 67: String "double"
+ 73: String "VAR_double"
+ 78: String "int8_t"
+ 83: String "VAR_int8_t"
+ 88: String "uint8_t"
+ 93: String "VAR_uint8_t"
+ 98: String "int16_t"
+ 104: String "VAR_int16_t"
+ 109: String "uint16_t"
+ 114: String "VAR_uint16_t"
+ 119: String "int64_t"
+ 124: String "VAR_int64_t"
+ 129: String "uint64_t"
+ 134: String "VAR_uint64_t"
+ 139: String "float16_t"
+ 144: String "VAR_float16_t"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
Name 14 "main"
Name 33 "VAR_bool"
- Name 45 "VAR_int"
- Name 52 "VAR_uint"
- Name 61 "VAR_float"
- Name 72 "VAR_double"
- Name 82 "VAR_int8_t"
- Name 92 "VAR_uint8_t"
- Name 103 "VAR_int16_t"
- Name 113 "VAR_uint16_t"
- Name 123 "VAR_int64_t"
- Name 133 "VAR_uint64_t"
- Name 143 "VAR_float16_t"
+ Name 44 "VAR_int"
+ Name 51 "VAR_uint"
+ Name 60 "VAR_float"
+ Name 71 "VAR_double"
+ Name 81 "VAR_int8_t"
+ Name 91 "VAR_uint8_t"
+ Name 102 "VAR_int16_t"
+ Name 112 "VAR_uint16_t"
+ Name 122 "VAR_int64_t"
+ Name 132 "VAR_uint64_t"
+ Name 142 "VAR_float16_t"
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@@ -86,112 +86,111 @@ spv.debuginfo.scalar_types.glsl.frag
33(VAR_bool): 32(ptr) Variable Private
36: 7(int) Constant 8
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 31 18 28 12 21 35 33(VAR_bool) 36
- 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12
- 38: 29(bool) ConstantFalse
- 40: 7(int) Constant 44
- 41: TypeInt 32 1
- 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 42 10 23 12
- 44: TypePointer Private 41(int)
- 45(VAR_int): 44(ptr) Variable Private
- 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 43 18 40 12 21 47 45(VAR_int) 36
- 48: 41(int) Constant 0
- 50: 7(int) Constant 45
- 51: TypePointer Private 7(int)
- 52(VAR_uint): 51(ptr) Variable Private
- 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 9 18 50 12 21 54 52(VAR_uint) 36
- 56: 7(int) Constant 46
- 57: TypeFloat 32
- 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12
- 60: TypePointer Private 57(float)
- 61(VAR_float): 60(ptr) Variable Private
- 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 63 59 18 56 12 21 63 61(VAR_float) 36
- 64: 57(float) Constant 0
- 66: 7(int) Constant 47
- 67: TypeFloat 64
- 70: 7(int) Constant 64
- 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 68 70 13 12
- 71: TypePointer Private 67(float64_t)
- 72(VAR_double): 71(ptr) Variable Private
- 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 74 69 18 66 12 21 74 72(VAR_double) 36
- 75:67(float64_t) Constant 0 0
- 77: 7(int) Constant 48
- 78: TypeInt 8 1
- 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 79 36 23 12
- 81: TypePointer Private 78(int8_t)
- 82(VAR_int8_t): 81(ptr) Variable Private
- 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 80 18 77 12 21 84 82(VAR_int8_t) 36
- 85: 78(int8_t) Constant 0
- 87: 7(int) Constant 49
- 88: TypeInt 8 0
- 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 89 36 11 12
- 91: TypePointer Private 88(int8_t)
- 92(VAR_uint8_t): 91(ptr) Variable Private
- 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 90 18 87 12 21 94 92(VAR_uint8_t) 36
- 95: 88(int8_t) Constant 0
- 97: 7(int) Constant 50
- 98: TypeInt 16 1
- 101: 7(int) Constant 16
- 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 99 101 23 12
- 102: TypePointer Private 98(int16_t)
-103(VAR_int16_t): 102(ptr) Variable Private
- 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 105 100 18 97 12 21 105 103(VAR_int16_t) 36
- 106: 98(int16_t) Constant 0
- 108: 7(int) Constant 51
- 109: TypeInt 16 0
- 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 110 101 11 12
- 112: TypePointer Private 109(int16_t)
-113(VAR_uint16_t): 112(ptr) Variable Private
- 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 18 108 12 21 115 113(VAR_uint16_t) 36
- 116:109(int16_t) Constant 0
- 118: 7(int) Constant 52
- 119: TypeInt 64 1
- 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 120 70 23 12
- 122: TypePointer Private 119(int64_t)
-123(VAR_int64_t): 122(ptr) Variable Private
- 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 118 12 21 125 123(VAR_int64_t) 36
- 126:119(int64_t) Constant 0 0
- 128: 7(int) Constant 53
- 129: TypeInt 64 0
- 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 130 70 11 12
- 132: TypePointer Private 129(int64_t)
-133(VAR_uint64_t): 132(ptr) Variable Private
- 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 131 18 128 12 21 135 133(VAR_uint64_t) 36
- 136:129(int64_t) Constant 0 0
- 138: 7(int) Constant 54
- 139: TypeFloat 16
- 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 101 13 12
- 142: TypePointer Private 139(float16_t)
-143(VAR_float16_t): 142(ptr) Variable Private
- 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 145 141 18 138 12 21 145 143(VAR_float16_t) 36
- 146:139(float16_t) Constant 0
+ 37: 29(bool) ConstantFalse
+ 39: 7(int) Constant 44
+ 40: TypeInt 32 1
+ 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 23 12
+ 43: TypePointer Private 40(int)
+ 44(VAR_int): 43(ptr) Variable Private
+ 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 46 42 18 39 12 21 46 44(VAR_int) 36
+ 47: 40(int) Constant 0
+ 49: 7(int) Constant 45
+ 50: TypePointer Private 7(int)
+ 51(VAR_uint): 50(ptr) Variable Private
+ 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 53 9 18 49 12 21 53 51(VAR_uint) 36
+ 55: 7(int) Constant 46
+ 56: TypeFloat 32
+ 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12
+ 59: TypePointer Private 56(float)
+ 60(VAR_float): 59(ptr) Variable Private
+ 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 55 12 21 62 60(VAR_float) 36
+ 63: 56(float) Constant 0
+ 65: 7(int) Constant 47
+ 66: TypeFloat 64
+ 69: 7(int) Constant 64
+ 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 67 69 13 12
+ 70: TypePointer Private 66(float64_t)
+ 71(VAR_double): 70(ptr) Variable Private
+ 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 73 68 18 65 12 21 73 71(VAR_double) 36
+ 74:66(float64_t) Constant 0 0
+ 76: 7(int) Constant 48
+ 77: TypeInt 8 1
+ 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 78 36 23 12
+ 80: TypePointer Private 77(int8_t)
+ 81(VAR_int8_t): 80(ptr) Variable Private
+ 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 83 79 18 76 12 21 83 81(VAR_int8_t) 36
+ 84: 77(int8_t) Constant 0
+ 86: 7(int) Constant 49
+ 87: TypeInt 8 0
+ 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 88 36 11 12
+ 90: TypePointer Private 87(int8_t)
+ 91(VAR_uint8_t): 90(ptr) Variable Private
+ 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 93 89 18 86 12 21 93 91(VAR_uint8_t) 36
+ 94: 87(int8_t) Constant 0
+ 96: 7(int) Constant 50
+ 97: TypeInt 16 1
+ 100: 7(int) Constant 16
+ 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 98 100 23 12
+ 101: TypePointer Private 97(int16_t)
+102(VAR_int16_t): 101(ptr) Variable Private
+ 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 104 99 18 96 12 21 104 102(VAR_int16_t) 36
+ 105: 97(int16_t) Constant 0
+ 107: 7(int) Constant 51
+ 108: TypeInt 16 0
+ 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 109 100 11 12
+ 111: TypePointer Private 108(int16_t)
+112(VAR_uint16_t): 111(ptr) Variable Private
+ 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 114 110 18 107 12 21 114 112(VAR_uint16_t) 36
+ 115:108(int16_t) Constant 0
+ 117: 7(int) Constant 52
+ 118: TypeInt 64 1
+ 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 119 69 23 12
+ 121: TypePointer Private 118(int64_t)
+122(VAR_int64_t): 121(ptr) Variable Private
+ 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 124 120 18 117 12 21 124 122(VAR_int64_t) 36
+ 125:118(int64_t) Constant 0 0
+ 127: 7(int) Constant 53
+ 128: TypeInt 64 0
+ 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 129 69 11 12
+ 131: TypePointer Private 128(int64_t)
+132(VAR_uint64_t): 131(ptr) Variable Private
+ 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 130 18 127 12 21 134 132(VAR_uint64_t) 36
+ 135:128(int64_t) Constant 0 0
+ 137: 7(int) Constant 54
+ 138: TypeFloat 16
+ 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 100 13 12
+ 141: TypePointer Private 138(float16_t)
+142(VAR_float16_t): 141(ptr) Variable Private
+ 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 144 140 18 137 12 21 144 142(VAR_float16_t) 36
+ 145:138(float16_t) Constant 0
Line 1 42 11
14(main): 4 Function None 5
15: Label
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
- Store 33(VAR_bool) 38
- 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 40 40 12 12
- Store 45(VAR_int) 48
- 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 50 50 12 12
- Store 52(VAR_uint) 12
- 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12
- Store 61(VAR_float) 64
- 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 66 66 12 12
- Store 72(VAR_double) 75
- 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 77 77 12 12
- Store 82(VAR_int8_t) 85
- 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 87 87 12 12
- Store 92(VAR_uint8_t) 95
- 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12
- Store 103(VAR_int16_t) 106
- 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 108 108 12 12
- Store 113(VAR_uint16_t) 116
- 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12
- Store 123(VAR_int64_t) 126
- 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12
- Store 133(VAR_uint64_t) 136
- 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 138 138 12 12
- Store 143(VAR_float16_t) 146
+ Store 33(VAR_bool) 37
+ 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 39 39 12 12
+ Store 44(VAR_int) 47
+ 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 49 49 12 12
+ Store 51(VAR_uint) 12
+ 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 55 55 12 12
+ Store 60(VAR_float) 63
+ 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 65 65 12 12
+ Store 71(VAR_double) 74
+ 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 76 76 12 12
+ Store 81(VAR_int8_t) 84
+ 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 86 86 12 12
+ Store 91(VAR_uint8_t) 94
+ 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 96 96 12 12
+ Store 102(VAR_int16_t) 105
+ 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 107 107 12 12
+ Store 112(VAR_uint16_t) 115
+ 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 117 117 12 12
+ Store 122(VAR_int64_t) 125
+ 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 127 127 12 12
+ Store 132(VAR_uint64_t) 135
+ 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 137 137 12 12
+ Store 142(VAR_float16_t) 145
Return
FunctionEnd
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.bf b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.bf
index a4ce964c6a..2528b9cddc 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.bf
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.bf
@@ -603,6 +603,7 @@ namespace Spv
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140,
+ StallFreeINTEL = 6151,
FPMaxErrorDecorationINTEL = 6170,
LatencyControlLabelINTEL = 6172,
LatencyControlConstraintINTEL = 6173,
@@ -1197,12 +1198,13 @@ namespace Spv
GroupNonUniformRotateKHR = 6026,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
- LongConstantCompositeINTEL = 6089,
+ LongCompositesINTEL = 6089,
OptNoneINTEL = 6094,
AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114,
BFloat16ConversionINTEL = 6115,
SplitBarrierINTEL = 6141,
+ FPGAClusterAttributesV2INTEL = 6150,
FPGAKernelAttributesv2INTEL = 6161,
FPMaxErrorINTEL = 6169,
FPGALatencyControlINTEL = 6171,
@@ -2094,6 +2096,7 @@ namespace Spv
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
+ OpCompositeConstructContinuedINTEL = 6096,
OpConvertFToBF16INTEL = 6116,
OpConvertBF16ToFINTEL = 6117,
OpControlBarrierArriveINTEL = 6142,
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.core.grammar.json b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.core.grammar.json
index 4dc955ef52..4de8edc245 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.core.grammar.json
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.core.grammar.json
@@ -4856,7 +4856,7 @@
},
{
"opname" : "OpTypeRayQueryKHR",
- "class" : "Reserved",
+ "class" : "Type-Declaration",
"opcode" : 4472,
"operands" : [
{ "kind" : "IdResult" }
@@ -5693,7 +5693,7 @@
},
{
"opname" : "OpTypeHitObjectNV",
- "class" : "Reserved",
+ "class" : "Type-Declaration",
"opcode" : 5281,
"operands" : [
{ "kind" : "IdResult" }
@@ -5932,7 +5932,7 @@
},
{
"opname" : "OpTypeAccelerationStructureNV",
- "class" : "Reserved",
+ "class" : "Type-Declaration",
"opcode" : 5341,
"operands" : [
{ "kind" : "IdResult" }
@@ -5943,7 +5943,7 @@
},
{
"opname" : "OpTypeAccelerationStructureKHR",
- "class" : "Reserved",
+ "class" : "Type-Declaration",
"opcode" : 5341,
"operands" : [
{ "kind" : "IdResult" }
@@ -5967,7 +5967,7 @@
},
{
"opname" : "OpTypeCooperativeMatrixNV",
- "class" : "Reserved",
+ "class" : "Type-Declaration",
"opcode" : 5358,
"operands" : [
{ "kind" : "IdResult" },
@@ -9564,7 +9564,7 @@
"operands" : [
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Member 0 type', +\n'member 1 type', +\n..." }
],
- "capabilities" : [ "LongConstantCompositeINTEL" ],
+ "capabilities" : [ "LongCompositesINTEL" ],
"version" : "None"
},
{
@@ -9574,7 +9574,7 @@
"operands" : [
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Constituents'" }
],
- "capabilities" : [ "LongConstantCompositeINTEL" ],
+ "capabilities" : [ "LongCompositesINTEL" ],
"version" : "None"
},
{
@@ -9584,10 +9584,22 @@
"operands" : [
{ "kind" : "IdRef", "quantifier" : "*", "name" : "'Constituents'" }
],
- "capabilities" : [ "LongConstantCompositeINTEL" ],
+ "capabilities" : [ "LongCompositesINTEL" ],
"version" : "None"
},
{
+ "opname" : "OpCompositeConstructContinuedINTEL",
+ "class" : "Composite",
+ "opcode" : 6096,
+ "operands" : [
+ { "kind" : "IdResultType" },
+ { "kind" : "IdResult" },
+ { "kind" : "IdRef", "quantifier" : "*", "name" : "'Constituents'" }
+ ],
+ "capabilities" : [ "LongCompositesINTEL" ],
+ "version": "None"
+ },
+ {
"opname" : "OpConvertFToBF16INTEL",
"class" : "Conversion",
"opcode" : 6116,
@@ -13568,6 +13580,12 @@
"version" : "None"
},
{
+ "enumerant" : "StallFreeINTEL",
+ "value" : 6151,
+ "capabilities" : [ "FPGAClusterAttributesV2INTEL" ],
+ "version" : "None"
+ },
+ {
"enumerant" : "FPMaxErrorDecorationINTEL",
"value" : 6170,
"parameters" : [
@@ -16224,9 +16242,9 @@
"version" : "None"
},
{
- "enumerant" : "LongConstantCompositeINTEL",
+ "enumerant" : "LongCompositesINTEL",
"value" : 6089,
- "extensions" : [ "SPV_INTEL_long_constant_composite" ],
+ "extensions" : [ "SPV_INTEL_long_composites" ],
"version" : "None"
},
{
@@ -16260,6 +16278,13 @@
"version" : "None"
},
{
+ "enumerant" : "FPGAClusterAttributesV2INTEL",
+ "value" : 6150,
+ "capabilities" : [ "FPGAClusterAttributesINTEL" ],
+ "extensions" : [ "SPV_INTEL_fpga_cluster_attributes" ],
+ "version" : "None"
+ },
+ {
"enumerant" : "FPGAKernelAttributesv2INTEL",
"value" : 6161,
"capabilities" : [ "FPGAKernelAttributesINTEL" ],
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.cs b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.cs
index 4465628260..686a588f4c 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.cs
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.cs
@@ -602,6 +602,7 @@ namespace Spv
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140,
+ StallFreeINTEL = 6151,
FPMaxErrorDecorationINTEL = 6170,
LatencyControlLabelINTEL = 6172,
LatencyControlConstraintINTEL = 6173,
@@ -1196,12 +1197,13 @@ namespace Spv
GroupNonUniformRotateKHR = 6026,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
- LongConstantCompositeINTEL = 6089,
+ LongCompositesINTEL = 6089,
OptNoneINTEL = 6094,
AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114,
BFloat16ConversionINTEL = 6115,
SplitBarrierINTEL = 6141,
+ FPGAClusterAttributesV2INTEL = 6150,
FPGAKernelAttributesv2INTEL = 6161,
FPMaxErrorINTEL = 6169,
FPGALatencyControlINTEL = 6171,
@@ -2093,6 +2095,7 @@ namespace Spv
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
+ OpCompositeConstructContinuedINTEL = 6096,
OpConvertFToBF16INTEL = 6116,
OpConvertBF16ToFINTEL = 6117,
OpControlBarrierArriveINTEL = 6142,
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.h b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.h
index a1718715df..58b1932687 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.h
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.h
@@ -608,6 +608,7 @@ typedef enum SpvDecoration_ {
SpvDecorationSingleElementVectorINTEL = 6085,
SpvDecorationVectorComputeCallableFunctionINTEL = 6087,
SpvDecorationMediaBlockIOINTEL = 6140,
+ SpvDecorationStallFreeINTEL = 6151,
SpvDecorationFPMaxErrorDecorationINTEL = 6170,
SpvDecorationLatencyControlLabelINTEL = 6172,
SpvDecorationLatencyControlConstraintINTEL = 6173,
@@ -1196,12 +1197,13 @@ typedef enum SpvCapability_ {
SpvCapabilityGroupNonUniformRotateKHR = 6026,
SpvCapabilityAtomicFloat32AddEXT = 6033,
SpvCapabilityAtomicFloat64AddEXT = 6034,
- SpvCapabilityLongConstantCompositeINTEL = 6089,
+ SpvCapabilityLongCompositesINTEL = 6089,
SpvCapabilityOptNoneINTEL = 6094,
SpvCapabilityAtomicFloat16AddEXT = 6095,
SpvCapabilityDebugInfoModuleINTEL = 6114,
SpvCapabilityBFloat16ConversionINTEL = 6115,
SpvCapabilitySplitBarrierINTEL = 6141,
+ SpvCapabilityFPGAClusterAttributesV2INTEL = 6150,
SpvCapabilityFPGAKernelAttributesv2INTEL = 6161,
SpvCapabilityFPMaxErrorINTEL = 6169,
SpvCapabilityFPGALatencyControlINTEL = 6171,
@@ -2090,6 +2092,7 @@ typedef enum SpvOp_ {
SpvOpTypeStructContinuedINTEL = 6090,
SpvOpConstantCompositeContinuedINTEL = 6091,
SpvOpSpecConstantCompositeContinuedINTEL = 6092,
+ SpvOpCompositeConstructContinuedINTEL = 6096,
SpvOpConvertFToBF16INTEL = 6116,
SpvOpConvertBF16ToFINTEL = 6117,
SpvOpControlBarrierArriveINTEL = 6142,
@@ -2813,6 +2816,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
case SpvOpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case SpvOpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
+ case SpvOpCompositeConstructContinuedINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpConvertFToBF16INTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpConvertBF16ToFINTEL: *hasResult = true; *hasResultType = true; break;
case SpvOpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp
index 5507f47b8c..188e2f16e7 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp
@@ -604,6 +604,7 @@ enum Decoration {
DecorationSingleElementVectorINTEL = 6085,
DecorationVectorComputeCallableFunctionINTEL = 6087,
DecorationMediaBlockIOINTEL = 6140,
+ DecorationStallFreeINTEL = 6151,
DecorationFPMaxErrorDecorationINTEL = 6170,
DecorationLatencyControlLabelINTEL = 6172,
DecorationLatencyControlConstraintINTEL = 6173,
@@ -1192,12 +1193,13 @@ enum Capability {
CapabilityGroupNonUniformRotateKHR = 6026,
CapabilityAtomicFloat32AddEXT = 6033,
CapabilityAtomicFloat64AddEXT = 6034,
- CapabilityLongConstantCompositeINTEL = 6089,
+ CapabilityLongCompositesINTEL = 6089,
CapabilityOptNoneINTEL = 6094,
CapabilityAtomicFloat16AddEXT = 6095,
CapabilityDebugInfoModuleINTEL = 6114,
CapabilityBFloat16ConversionINTEL = 6115,
CapabilitySplitBarrierINTEL = 6141,
+ CapabilityFPGAClusterAttributesV2INTEL = 6150,
CapabilityFPGAKernelAttributesv2INTEL = 6161,
CapabilityFPMaxErrorINTEL = 6169,
CapabilityFPGALatencyControlINTEL = 6171,
@@ -2086,6 +2088,7 @@ enum Op {
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
+ OpCompositeConstructContinuedINTEL = 6096,
OpConvertFToBF16INTEL = 6116,
OpConvertBF16ToFINTEL = 6117,
OpControlBarrierArriveINTEL = 6142,
@@ -2809,6 +2812,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
+ case OpCompositeConstructContinuedINTEL: *hasResult = true; *hasResultType = true; break;
case OpConvertFToBF16INTEL: *hasResult = true; *hasResultType = true; break;
case OpConvertBF16ToFINTEL: *hasResult = true; *hasResultType = true; break;
case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp11 b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp11
index e49e491e38..cc2590c77c 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp11
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.hpp11
@@ -604,6 +604,7 @@ enum class Decoration : unsigned {
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140,
+ StallFreeINTEL = 6151,
FPMaxErrorDecorationINTEL = 6170,
LatencyControlLabelINTEL = 6172,
LatencyControlConstraintINTEL = 6173,
@@ -1192,12 +1193,13 @@ enum class Capability : unsigned {
GroupNonUniformRotateKHR = 6026,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
- LongConstantCompositeINTEL = 6089,
+ LongCompositesINTEL = 6089,
OptNoneINTEL = 6094,
AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114,
BFloat16ConversionINTEL = 6115,
SplitBarrierINTEL = 6141,
+ FPGAClusterAttributesV2INTEL = 6150,
FPGAKernelAttributesv2INTEL = 6161,
FPMaxErrorINTEL = 6169,
FPGALatencyControlINTEL = 6171,
@@ -2086,6 +2088,7 @@ enum class Op : unsigned {
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
+ OpCompositeConstructContinuedINTEL = 6096,
OpConvertFToBF16INTEL = 6116,
OpConvertBF16ToFINTEL = 6117,
OpControlBarrierArriveINTEL = 6142,
@@ -2809,6 +2812,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
+ case Op::OpCompositeConstructContinuedINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpConvertFToBF16INTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpConvertBF16ToFINTEL: *hasResult = true; *hasResultType = true; break;
case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.json b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.json
index f1ad055aaa..505db1fcdd 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.json
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.json
@@ -630,6 +630,7 @@
"SingleElementVectorINTEL": 6085,
"VectorComputeCallableFunctionINTEL": 6087,
"MediaBlockIOINTEL": 6140,
+ "StallFreeINTEL": 6151,
"FPMaxErrorDecorationINTEL": 6170,
"LatencyControlLabelINTEL": 6172,
"LatencyControlConstraintINTEL": 6173,
@@ -1172,12 +1173,13 @@
"GroupNonUniformRotateKHR": 6026,
"AtomicFloat32AddEXT": 6033,
"AtomicFloat64AddEXT": 6034,
- "LongConstantCompositeINTEL": 6089,
+ "LongCompositesINTEL": 6089,
"OptNoneINTEL": 6094,
"AtomicFloat16AddEXT": 6095,
"DebugInfoModuleINTEL": 6114,
"BFloat16ConversionINTEL": 6115,
"SplitBarrierINTEL": 6141,
+ "FPGAClusterAttributesV2INTEL": 6150,
"FPGAKernelAttributesv2INTEL": 6161,
"FPMaxErrorINTEL": 6169,
"FPGALatencyControlINTEL": 6171,
@@ -2088,6 +2090,7 @@
"OpTypeStructContinuedINTEL": 6090,
"OpConstantCompositeContinuedINTEL": 6091,
"OpSpecConstantCompositeContinuedINTEL": 6092,
+ "OpCompositeConstructContinuedINTEL": 6096,
"OpConvertFToBF16INTEL": 6116,
"OpConvertBF16ToFINTEL": 6117,
"OpControlBarrierArriveINTEL": 6142,
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.lua b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.lua
index d4ca2fa98d..fb8646067c 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.lua
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.lua
@@ -577,6 +577,7 @@ spv = {
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140,
+ StallFreeINTEL = 6151,
FPMaxErrorDecorationINTEL = 6170,
LatencyControlLabelINTEL = 6172,
LatencyControlConstraintINTEL = 6173,
@@ -1154,12 +1155,13 @@ spv = {
GroupNonUniformRotateKHR = 6026,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
- LongConstantCompositeINTEL = 6089,
+ LongCompositesINTEL = 6089,
OptNoneINTEL = 6094,
AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114,
BFloat16ConversionINTEL = 6115,
SplitBarrierINTEL = 6141,
+ FPGAClusterAttributesV2INTEL = 6150,
FPGAKernelAttributesv2INTEL = 6161,
FPMaxErrorINTEL = 6169,
FPGALatencyControlINTEL = 6171,
@@ -2030,6 +2032,7 @@ spv = {
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
+ OpCompositeConstructContinuedINTEL = 6096,
OpConvertFToBF16INTEL = 6116,
OpConvertBF16ToFINTEL = 6117,
OpControlBarrierArriveINTEL = 6142,
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.py b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.py
index c842bbfd1c..fd86faef51 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.py
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spirv.py
@@ -577,6 +577,7 @@ spv = {
'SingleElementVectorINTEL' : 6085,
'VectorComputeCallableFunctionINTEL' : 6087,
'MediaBlockIOINTEL' : 6140,
+ 'StallFreeINTEL' : 6151,
'FPMaxErrorDecorationINTEL' : 6170,
'LatencyControlLabelINTEL' : 6172,
'LatencyControlConstraintINTEL' : 6173,
@@ -1154,12 +1155,13 @@ spv = {
'GroupNonUniformRotateKHR' : 6026,
'AtomicFloat32AddEXT' : 6033,
'AtomicFloat64AddEXT' : 6034,
- 'LongConstantCompositeINTEL' : 6089,
+ 'LongCompositesINTEL' : 6089,
'OptNoneINTEL' : 6094,
'AtomicFloat16AddEXT' : 6095,
'DebugInfoModuleINTEL' : 6114,
'BFloat16ConversionINTEL' : 6115,
'SplitBarrierINTEL' : 6141,
+ 'FPGAClusterAttributesV2INTEL' : 6150,
'FPGAKernelAttributesv2INTEL' : 6161,
'FPMaxErrorINTEL' : 6169,
'FPGALatencyControlINTEL' : 6171,
@@ -2030,6 +2032,7 @@ spv = {
'OpTypeStructContinuedINTEL' : 6090,
'OpConstantCompositeContinuedINTEL' : 6091,
'OpSpecConstantCompositeContinuedINTEL' : 6092,
+ 'OpCompositeConstructContinuedINTEL' : 6096,
'OpConvertFToBF16INTEL' : 6116,
'OpConvertBF16ToFINTEL' : 6117,
'OpControlBarrierArriveINTEL' : 6142,
diff --git a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spv.d b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spv.d
index 238caacbdb..1f5663048d 100644
--- a/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spv.d
+++ b/third_party/vulkan-deps/spirv-headers/src/include/spirv/unified1/spv.d
@@ -605,6 +605,7 @@ enum Decoration : uint
SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140,
+ StallFreeINTEL = 6151,
FPMaxErrorDecorationINTEL = 6170,
LatencyControlLabelINTEL = 6172,
LatencyControlConstraintINTEL = 6173,
@@ -1199,12 +1200,13 @@ enum Capability : uint
GroupNonUniformRotateKHR = 6026,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
- LongConstantCompositeINTEL = 6089,
+ LongCompositesINTEL = 6089,
OptNoneINTEL = 6094,
AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114,
BFloat16ConversionINTEL = 6115,
SplitBarrierINTEL = 6141,
+ FPGAClusterAttributesV2INTEL = 6150,
FPGAKernelAttributesv2INTEL = 6161,
FPMaxErrorINTEL = 6169,
FPGALatencyControlINTEL = 6171,
@@ -2096,6 +2098,7 @@ enum Op : uint
OpTypeStructContinuedINTEL = 6090,
OpConstantCompositeContinuedINTEL = 6091,
OpSpecConstantCompositeContinuedINTEL = 6092,
+ OpCompositeConstructContinuedINTEL = 6096,
OpConvertFToBF16INTEL = 6116,
OpConvertBF16ToFINTEL = 6117,
OpControlBarrierArriveINTEL = 6142,
diff --git a/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/jsonToSpirv.cpp b/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/jsonToSpirv.cpp
index 04f8079afe..ee396f01ad 100644
--- a/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/jsonToSpirv.cpp
+++ b/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/jsonToSpirv.cpp
@@ -528,8 +528,10 @@ void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders)
for (const auto& printingClass : printingClasses) {
if (printingClass["tag"].asString().size() > 0)
tags.insert(printingClass["tag"].asString()); // just for error checking
- else
+ else {
std::cerr << "Error: each instruction_printing_class requires a non-empty \"tag\"" << std::endl;
+ std::exit(1);
+ }
if (buildingHeaders || printingClass["tag"].asString() != "@exclude") {
InstructionPrintingClasses.push_back({printingClass["tag"].asString(),
printingClass["heading"].asString()});
@@ -545,6 +547,7 @@ void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders)
if (printingClass.size() == 0) {
std::cerr << "Error: " << inst["opname"].asString()
<< " requires a non-empty printing \"class\" tag" << std::endl;
+ std::exit(1);
}
if (!buildingHeaders && printingClass == "@exclude")
continue;
@@ -552,6 +555,7 @@ void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders)
std::cerr << "Error: " << inst["opname"].asString()
<< " requires a \"class\" declared as a \"tag\" in \"instruction printing_class\""
<< std::endl;
+ std::exit(1);
}
const auto opcode = inst["opcode"].asUInt();
const std::string name = inst["opname"].asString();
diff --git a/tools/flex-bison/README.md b/tools/flex-bison/README.md
index fc5979751e..9fc21bab46 100644
--- a/tools/flex-bison/README.md
+++ b/tools/flex-bison/README.md
@@ -17,7 +17,7 @@ simultaneously. Note that we don't currently support Mac for generating the
lexer and parser files. If we do we should add a flex/bison download for Mac
as well.
-Contact jmadill or syoussefi for any help with updating the binaries.
+Contact syoussefi for any help with updating the binaries.
## Updating flex and bison binaries
diff --git a/tools/glslang/README.md b/tools/glslang/README.md
index d3583f24b0..94aa6aa326 100644
--- a/tools/glslang/README.md
+++ b/tools/glslang/README.md
@@ -17,4 +17,4 @@ Please update both Windows and Linux binaries at the same time. Use two CLs. One
for each platform. Note that we don't currently support Mac on Vulkan. If we do
we should add a glslang download for Mac as well.
-Contact jmadill or syoussefi for any help with the validator or updating the binaries.
+Contact syoussefi for any help with the validator or updating the binaries.