diff options
| author | JMC47 <JMC4789@gmail.com> | 2023-09-04 22:45:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-04 22:45:56 -0400 |
| commit | 9419d92446f4bb47c2192dc0bd3da7c23c611a4f (patch) | |
| tree | 5c991a2ec581ccb378b5015e683b6ad76d9d364a /Source/Core/VideoCommon/Assets/ShaderAsset.cpp | |
| parent | 82ea4f4c70de3921d0668833a6ec1e34b8a22e4c (diff) | |
| parent | f982c556b5d7779d2c16f91be9c7683f59939fa3 (diff) | |
Merge pull request #12139 from iwubcode/more_shader_texture_properties
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, |
