mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
shader: separate depth comparison and regular image descriptors
Co-authored-by: Lordix <lordix253634@gmail.com> Co-authored-by: fxpw <fxpw@outlook.com> Co-authored-by: Mac <me@itsmemac.com>
This commit is contained in:
@@ -158,7 +158,8 @@ uint32_t ImageType(EmitterState& state, const IR::ImageResource& image) {
|
||||
}
|
||||
const auto& info = ImageDimensionInfoFor(image.dimension);
|
||||
return state.builder.Type(OpTypeImage,
|
||||
{ImageScalarType(state, image.numeric_class), info.spirv_dimension, 0,
|
||||
{ImageScalarType(state, image.numeric_class), info.spirv_dimension,
|
||||
image.depth_compare ? 1u : 0u,
|
||||
info.arrayed, info.multisampled, sampled, format});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user