Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2019-02-14 21:42:35 +0300
committerGitHub <noreply@github.com>2019-02-14 21:42:35 +0300
commit1b0047f210174a66e38fdfafa5eb6982211ae23b (patch)
tree1a872cdc4b266348aec86d8bcae3df321193d4e2 /Android.mk
parent0167a20b0af8b8237787506611f17cd9bec4c872 (diff)
Add pass to remove dead members. (#2379)
Add a pass that looks for members of structs whose values do not affects the output of the shader. Those members are then removed and just treated like padding in the struct.
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 986f39cad..8f4f5fea7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -99,6 +99,7 @@ SPVTOOLS_OPT_SRC_FILES := \
source/opt/eliminate_dead_constant_pass.cpp \
source/opt/eliminate_dead_functions_pass.cpp \
source/opt/eliminate_dead_functions_util.cpp \
+ source/opt/eliminate_dead_members_pass.cpp \
source/opt/feature_manager.cpp \
source/opt/flatten_decoration_pass.cpp \
source/opt/fold.cpp \