diff options
author | Kristian Høgsberg <[email protected]> | 2015-05-08 22:32:37 -0700 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2015-05-09 11:38:32 -0700 |
commit | 769785c497aaa60c629e0299e3ebfff53a8e393e (patch) | |
tree | 0388971be6de7a75e2bfe0ac0fa3cc7d1bd7679d /src/glsl/ir.h | |
parent | d6fb155f30ac2bd7853da32ddf99e9f7840a8f01 (diff) |
Add vulkan driver for BDW
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index fab1cd2d291..fdb595106c2 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -683,6 +683,11 @@ public: unsigned explicit_index:1; /** + * Do we have a Vulkan (group, index) qualifier for this variable? + */ + unsigned vk_set:1; + + /** * Was an initial binding explicitly set in the shader? * * If so, constant_value contains an integer ir_constant representing the @@ -751,8 +756,10 @@ public: * \note * The GLSL spec only allows the values 0 or 1 for the index in \b dual * source blending. + * + * This is now also used for the Vulkan descriptor set index. */ - unsigned index:1; + int16_t index; /** * \brief Layout qualifier for gl_FragDepth. @@ -801,6 +808,11 @@ public: int16_t binding; /** + * Vulkan descriptor set for the resource. + */ + int16_t set; + + /** * Storage location of the base of this variable * * The precise meaning of this field depends on the nature of the variable. |