From f982c556b5d7779d2c16f91be9c7683f59939fa3 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 26 Aug 2023 12:12:37 -0500 Subject: VideoCommon: add additional texture sampler types to ShaderAsset --- Source/Core/VideoCommon/Assets/ShaderAsset.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/Core/VideoCommon/Assets/ShaderAsset.cpp') diff --git a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp index d09e572bab..af5dad4a93 100644 --- a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp +++ b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp @@ -49,6 +49,14 @@ bool ParseShaderProperties(const VideoCommon::CustomAssetLibrary::AssetID& asset { property.m_type = ShaderProperty::Type::Type_Sampler2D; } + else if (type == "samplerarrayshared_main") + { + property.m_type = ShaderProperty::Type::Type_SamplerArrayShared_Main; + } + else if (type == "samplerarrayshared_additional") + { + property.m_type = ShaderProperty::Type::Type_SamplerArrayShared_Additional; + } else { ERROR_LOG_FMT(VIDEO, -- cgit v1.2.3