Vulkan: Autogen mandatory texture caps

* This commit includes a JS file to execute on the spec and
generate the JSON output of all the mandatory texture caps.

Bug: angleproject:2348

Change-Id: I57e969915bdd0e7104e00a73fd3743ff1ecf0a6d
Reviewed-on: https://chromium-review.googlesource.com/911615
Commit-Queue: Luc Ferron <lucferron@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
diff --git a/scripts/run_code_generation.py b/scripts/run_code_generation.py
index a0cded0..ac7887b 100755
--- a/scripts/run_code_generation.py
+++ b/scripts/run_code_generation.py
@@ -136,6 +136,17 @@
         ],
         'script': 'src/libANGLE/renderer/vulkan/gen_vk_format_table.py',
     },
+    'Vulkan mandatory format support table': {
+        'inputs': [
+            'src/libANGLE/renderer/angle_format.py',
+            'third_party/vulkan-validation-layers/src/scripts/vk.xml',
+            'src/libANGLE/renderer/vulkan/vk_mandatory_format_support_data.json',
+        ],
+        'outputs': [
+            'src/libANGLE/renderer/vulkan/vk_mandatory_format_support_table_autogen.cpp',
+        ],
+        'script': 'src/libANGLE/renderer/vulkan/gen_vk_mandatory_format_support_table.py',
+    },
 }
 
 root_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))