summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-02-21 22:31:36 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commit1cdbab016ec7a47bcde6361920bfc26c366a6a46 (patch)
treef6e7e9f7460ec1856b39bab7153d6a8519cb1d81 /src/freedreno/vulkan/tu_private.h
parentd17096b9b1282d2205d1fc34c5331cdd0260c96a (diff)
turnip: parse VkPipelineVertexInputStateCreateInfo
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index f7db726ecdc..416731a45a4 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -1047,6 +1047,22 @@ struct tu_pipeline
struct
{
+ uint8_t bindings[MAX_VERTEX_ATTRIBS];
+ uint16_t strides[MAX_VERTEX_ATTRIBS];
+ uint16_t offsets[MAX_VERTEX_ATTRIBS];
+ uint32_t count;
+
+ uint8_t binning_bindings[MAX_VERTEX_ATTRIBS];
+ uint16_t binning_strides[MAX_VERTEX_ATTRIBS];
+ uint16_t binning_offsets[MAX_VERTEX_ATTRIBS];
+ uint32_t binning_count;
+
+ struct tu_cs_entry state_ib;
+ struct tu_cs_entry binning_state_ib;
+ } vi;
+
+ struct
+ {
enum pc_di_primtype primtype;
bool primitive_restart;
} ia;