diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2015-06-13 23:12:58 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-06-17 21:42:29 -0700 |
commit | aedd3c957940f9fd062495494ff6991a8eb4b548 (patch) | |
tree | 1a0ed46493a52f095660781843d3f5719aa87180 /src/vulkan/gen75_pack.h | |
parent | fa8a07748d96525b208146065b5264821a9ef338 (diff) |
vk: Add missing gen7 RENDER_SURFACE_STATE struct
Diffstat (limited to 'src/vulkan/gen75_pack.h')
-rw-r--r-- | src/vulkan/gen75_pack.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/vulkan/gen75_pack.h b/src/vulkan/gen75_pack.h index 3796d89967d..1653cb11ae3 100644 --- a/src/vulkan/gen75_pack.h +++ b/src/vulkan/gen75_pack.h @@ -7472,6 +7472,24 @@ GEN75_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst, #define GEN75_PALETTE_ENTRY_length 0x00000001 +#define GEN75_BINDING_TABLE_STATE_length 0x00000001 + +struct GEN75_BINDING_TABLE_STATE { + uint32_t SurfaceStatePointer; +}; + +static inline void +GEN75_BINDING_TABLE_STATE_pack(__gen_user_data *data, void * restrict dst, + const struct GEN75_BINDING_TABLE_STATE * restrict values) +{ + uint32_t *dw = (uint32_t * restrict) dst; + + dw[0] = + __gen_offset(values->SurfaceStatePointer, 5, 31) | + 0; + +} + #define GEN75_RENDER_SURFACE_STATE_length 0x00000008 struct GEN75_RENDER_SURFACE_STATE { |