summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-02-21 11:46:59 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commitbec0abf294d704c8a5d555ef0548cdc7a100a7d0 (patch)
tree74338a665a5a7737d7e9ac95542d409624a3c935 /src/freedreno/vulkan/tu_private.h
parent9496b377ffe05c0e2abd79fd8158f2ef0d81eb9a (diff)
turnip: parse VkPipelineDepthStencilStateCreateInfo
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 31f5364774e..e8c0e91a877 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -1002,6 +1002,11 @@ struct tu_pipeline
uint32_t gras_su_cntl;
struct tu_cs_entry state_ib;
} rast;
+
+ struct
+ {
+ struct tu_cs_entry state_ib;
+ } ds;
};
void
@@ -1021,6 +1026,17 @@ tu6_emit_depth_bias(struct tu_cs *cs,
float clamp,
float slope_factor);
+void
+tu6_emit_stencil_compare_mask(struct tu_cs *cs,
+ uint32_t front,
+ uint32_t back);
+
+void
+tu6_emit_stencil_write_mask(struct tu_cs *cs, uint32_t front, uint32_t back);
+
+void
+tu6_emit_stencil_reference(struct tu_cs *cs, uint32_t front, uint32_t back);
+
struct tu_userdata_info *
tu_lookup_user_sgpr(struct tu_pipeline *pipeline,
gl_shader_stage stage,