diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-08-26 12:12:37 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-08-26 12:12:37 -0500 |
| commit | f982c556b5d7779d2c16f91be9c7683f59939fa3 (patch) | |
| tree | 135d7c99841bd42e987ae72de377de152eee5160 /Source/Core/VideoCommon/Assets/ShaderAsset.cpp | |
| parent | cd31da97d6362922e3eb63e58ef4d099928fdab7 (diff) | |
VideoCommon: add additional texture sampler types to ShaderAsset
Diffstat (limited to 'Source/Core/VideoCommon/Assets/ShaderAsset.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/ShaderAsset.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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, |
