mirror of
https://github.com/Inori/GPCS4.git
synced 2024-06-01 10:58:05 -04:00
fix zero spirv id
This commit is contained in:
parent
3e2034ed1b
commit
e643efa965
|
@ -714,8 +714,7 @@ namespace sce::gcn
|
|||
tex.colorTypeId = imageTypeId;
|
||||
tex.depthTypeId = 0;
|
||||
|
||||
if (textureInfo.isDepth &&
|
||||
(sampledType == GcnScalarType::Float32) &&
|
||||
if ((sampledType == GcnScalarType::Float32) &&
|
||||
(textureType == Gnm::kTextureType2d ||
|
||||
textureType == Gnm::kTextureType2dArray ||
|
||||
textureType == Gnm::kTextureTypeCubemap))
|
||||
|
|
Loading…
Reference in a new issue