mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 03:35:59 +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
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue