[dxbc] Remove duplicate image type declaration

This commit is contained in:
Philip Rebohle 2018-01-31 11:25:49 +01:00
parent f3ae248f39
commit fb4663fcc8
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 3 deletions

View File

@ -766,9 +766,7 @@ namespace dxvk {
res.sampledType = sampledType;
res.sampledTypeId = sampledTypeId;
res.imageTypeId = imageTypeId;
res.colorTypeId = m_module.defImageType(sampledTypeId,
typeInfo.dim, 0, typeInfo.array, typeInfo.ms, typeInfo.sampled,
spv::ImageFormatUnknown);
res.colorTypeId = imageTypeId;
res.depthTypeId = m_module.defImageType(sampledTypeId,
typeInfo.dim, 1, typeInfo.array, typeInfo.ms, typeInfo.sampled,
spv::ImageFormatUnknown);