mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
VideoCommon: add additional texture sampler types to ShaderAsset
This commit is contained in:
parent
cd31da97d6
commit
f982c556b5
2 changed files with 16 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue