Optimizer: update extension whitelists

Add two new extensions:
- SPV_NV_shader_subgroup_partitioned
- SPV_EXT_descriptor_indexing
This commit is contained in:
David Neto 2018-04-06 10:18:34 -04:00
parent 6fbfe1c016
commit a91cbfbf75
6 changed files with 12 additions and 0 deletions

View File

@ -712,6 +712,8 @@ void AggressiveDCEPass::InitExtensions() {
"SPV_AMD_gpu_shader_half_float_fetch",
"SPV_GOOGLE_decorate_string",
"SPV_GOOGLE_hlsl_functionality1",
"SPV_NV_shader_subgroup_partitioned",
"SPV_EXT_descriptor_indexing",
});
}

View File

@ -572,6 +572,8 @@ void CommonUniformElimPass::InitExtensions() {
"SPV_AMD_gpu_shader_half_float_fetch",
"SPV_GOOGLE_decorate_string",
"SPV_GOOGLE_hlsl_functionality1",
"SPV_NV_shader_subgroup_partitioned",
"SPV_EXT_descriptor_indexing",
});
}

View File

@ -332,6 +332,8 @@ void LocalAccessChainConvertPass::InitExtensions() {
"SPV_AMD_gpu_shader_half_float_fetch",
"SPV_GOOGLE_decorate_string",
"SPV_GOOGLE_hlsl_functionality1",
"SPV_NV_shader_subgroup_partitioned",
"SPV_EXT_descriptor_indexing",
});
}

View File

@ -212,6 +212,8 @@ void LocalSingleBlockLoadStoreElimPass::InitExtensions() {
"SPV_AMD_gpu_shader_half_float_fetch",
"SPV_GOOGLE_decorate_string",
"SPV_GOOGLE_hlsl_functionality1",
"SPV_NV_shader_subgroup_partitioned",
"SPV_EXT_descriptor_indexing",
});
}

View File

@ -315,6 +315,8 @@ void LocalSingleStoreElimPass::InitExtensions() {
"SPV_AMD_gpu_shader_half_float_fetch",
"SPV_GOOGLE_decorate_string",
"SPV_GOOGLE_hlsl_functionality1",
"SPV_NV_shader_subgroup_partitioned",
"SPV_EXT_descriptor_indexing",
});
}

View File

@ -102,6 +102,8 @@ void LocalMultiStoreElimPass::InitExtensions() {
"SPV_AMD_gpu_shader_half_float_fetch",
"SPV_GOOGLE_decorate_string",
"SPV_GOOGLE_hlsl_functionality1",
"SPV_NV_shader_subgroup_partitioned",
"SPV_EXT_descriptor_indexing",
});
}