mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
VideoCommon: add additional texture sampler types to ShaderAsset
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user