aco: use nir_intrinsic_has_access
[mesa.git] / src / amd / vulkan / radv_meta.h
index cd4d1d64f6337693642ed71e8eea2c9db8993c92..c6f63f76e44e6de69403649ae518d7065489b838 100644 (file)
@@ -63,6 +63,28 @@ struct radv_meta_saved_state {
        VkFrontFace front_face;
 
        unsigned primitive_topology;
+
+       bool depth_test_enable;
+       bool depth_write_enable;
+       unsigned depth_compare_op;
+       bool depth_bounds_test_enable;
+       bool stencil_test_enable;
+
+       struct {
+               struct {
+                       VkStencilOp fail_op;
+                       VkStencilOp pass_op;
+                       VkStencilOp depth_fail_op;
+                       VkCompareOp compare_op;
+               } front;
+
+               struct {
+                       VkStencilOp fail_op;
+                       VkStencilOp pass_op;
+                       VkStencilOp depth_fail_op;
+                       VkCompareOp compare_op;
+               } back;
+       } stencil_op;
 };
 
 VkResult radv_device_init_meta_clear_state(struct radv_device *device, bool on_demand);