mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
VideoCommon: add additional texture sampler types to ShaderAsset
This commit is contained in:
@ -14,9 +14,17 @@ namespace VideoCommon
|
||||
{
|
||||
struct ShaderProperty
|
||||
{
|
||||
// "SamplerShared" denotes that the sampler
|
||||
// already exists outside of the shader source
|
||||
// (ex: in the Dolphin defined pixel shader)
|
||||
// "Main" is the first entry in a shared sampler array
|
||||
// and "Additional" denotes a subsequent entry
|
||||
// in the array
|
||||
enum class Type
|
||||
{
|
||||
Type_Undefined,
|
||||
Type_SamplerArrayShared_Main,
|
||||
Type_SamplerArrayShared_Additional,
|
||||
Type_Sampler2D,
|
||||
Type_Max = Type_Sampler2D
|
||||
};
|
||||
|
Reference in New Issue
Block a user