mirror of https://github.com/doitsujin/dxvk
[dxbc] Remove duplicate image type declaration
This commit is contained in:
parent
f3ae248f39
commit
fb4663fcc8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue