diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-09-12 16:56:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-12 16:56:26 +0200 |
| commit | 1a821465f4b6bdeef09e8a964a0d2ce50cf7970d (patch) | |
| tree | 3495fa75bd01d743649a34540d2b8ff3b99ddf28 /Source/Core/VideoCommon/Assets/ShaderAsset.cpp | |
| parent | 308a52a7824e006bb3950c7b168f5bdf9ad1e4c4 (diff) | |
| parent | 589834f56229edc217d9f2bc1805961cabde9028 (diff) | |
Merge pull request #12166 from iwubcode/cubemap_shader_texture_integration
VideoCommon: add cubemap to ShaderAsset and TextureAsset
Diffstat (limited to 'Source/Core/VideoCommon/Assets/ShaderAsset.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/ShaderAsset.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp index af5dad4a93..cbb043095c 100644 --- a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp +++ b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp @@ -49,6 +49,10 @@ bool ParseShaderProperties(const VideoCommon::CustomAssetLibrary::AssetID& asset { property.m_type = ShaderProperty::Type::Type_Sampler2D; } + else if (type == "samplercube") + { + property.m_type = ShaderProperty::Type::Type_SamplerCube; + } else if (type == "samplerarrayshared_main") { property.m_type = ShaderProperty::Type::Type_SamplerArrayShared_Main; |
