mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
VideoCommon: add cubemap as a sampler target for shaders, add cubemap as a valid texture asset
This commit is contained in:
parent
9419d92446
commit
589834f562
4 changed files with 17 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue