Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_shader_create_info.hh
| Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | enum class Qualifier { | ||||
| /** Restrict flag is set by default. Unless specified otherwise. */ | /** Restrict flag is set by default. Unless specified otherwise. */ | ||||
| NO_RESTRICT = (1 << 0), | NO_RESTRICT = (1 << 0), | ||||
| READ = (1 << 1), | READ = (1 << 1), | ||||
| WRITE = (1 << 2), | WRITE = (1 << 2), | ||||
| /** Shorthand version of combined flags. */ | /** Shorthand version of combined flags. */ | ||||
| READ_WRITE = READ | WRITE, | READ_WRITE = READ | WRITE, | ||||
| QUALIFIER_MAX = (WRITE << 1) - 1, | QUALIFIER_MAX = (WRITE << 1) - 1, | ||||
| }; | }; | ||||
| ENUM_OPERATORS(Qualifier, Qualifier::QUALIFIER_MAX); | ENUM_OPERATORS(Qualifier, Qualifier::WRITE); | ||||
| enum class Frequency { | enum class Frequency { | ||||
| BATCH = 0, | BATCH = 0, | ||||
| PASS, | PASS, | ||||
| }; | }; | ||||
| /* Dual Source Blending Index. */ | /* Dual Source Blending Index. */ | ||||
| enum class DualBlend { | enum class DualBlend { | ||||
| ▲ Show 20 Lines • Show All 667 Lines • Show Last 20 Lines | |||||