diff options
author | Jason Ekstrand <[email protected]> | 2015-12-12 16:11:23 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-12 16:11:23 -0800 |
commit | c56186026fce7a28db2fe7cabf58a11328877123 (patch) | |
tree | 126126ebfb54e697a4fa0d16dd26598a2fdfd9a1 /src/vulkan/anv_cmd_buffer.c | |
parent | fd944197f27ff428f2599eb03bc0c4085c9fbc6a (diff) |
anv: Add initial support for texel buffers
Diffstat (limited to 'src/vulkan/anv_cmd_buffer.c')
-rw-r--r-- | src/vulkan/anv_cmd_buffer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index 8ade08ea746..0531cd80f4f 100644 --- a/src/vulkan/anv_cmd_buffer.c +++ b/src/vulkan/anv_cmd_buffer.c @@ -730,6 +730,11 @@ anv_cmd_buffer_emit_binding_table(struct anv_cmd_buffer *cmd_buffer, } case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: + surface_state = desc->buffer_view->surface_state; + bo = desc->buffer_view->buffer->bo; + bo_offset = desc->buffer_view->buffer->offset; + break; + case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: assert(!"Unsupported descriptor type"); break; |