mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
VideoCommon: add cubemap as a sampler target for shaders, add cubemap as a valid texture asset
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user