diff options
author | Chia-I Wu <[email protected]> | 2019-02-26 23:29:51 -0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:02:13 -0700 |
commit | 9496b377ffe05c0e2abd79fd8158f2ef0d81eb9a (patch) | |
tree | f6f1a6a80d3015e51b655dc428698b9fad9dc6a5 /src/freedreno/vulkan/tu_private.h | |
parent | b4884761e8d85225bcf53d87e6d3bf2572af30c8 (diff) |
turnip: parse VkPipelineRasterizationStateCreateInfo
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r-- | src/freedreno/vulkan/tu_private.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index 2828228184a..31f5364774e 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -996,6 +996,12 @@ struct tu_pipeline { struct tu_cs_entry state_ib; } vp; + + struct + { + uint32_t gras_su_cntl; + struct tu_cs_entry state_ib; + } rast; }; void @@ -1004,6 +1010,17 @@ tu6_emit_viewport(struct tu_cs *cs, const VkViewport *viewport); void tu6_emit_scissor(struct tu_cs *cs, const VkRect2D *scissor); +void +tu6_emit_gras_su_cntl(struct tu_cs *cs, + uint32_t gras_su_cntl, + float line_width); + +void +tu6_emit_depth_bias(struct tu_cs *cs, + float constant_factor, + float clamp, + float slope_factor); + struct tu_userdata_info * tu_lookup_user_sgpr(struct tu_pipeline *pipeline, gl_shader_stage stage, |