summaryrefslogtreecommitdiff
path: root/src/broadcom/vulkan/v3dv_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom/vulkan/v3dv_private.h')
-rw-r--r--src/broadcom/vulkan/v3dv_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/broadcom/vulkan/v3dv_private.h b/src/broadcom/vulkan/v3dv_private.h
index 0cd0c528ccc..22ab9a9c4f2 100644
--- a/src/broadcom/vulkan/v3dv_private.h
+++ b/src/broadcom/vulkan/v3dv_private.h
@@ -688,6 +688,10 @@ struct v3dv_pipeline {
struct vpm_config vpm_cfg;
struct vpm_config vpm_cfg_bin;
+
+ /* If the pipeline should emit any of the stencil configuration packets */
+ bool emit_stencil_cfg[2];
+
/* Packets prepacked during pipeline creation
*/
uint8_t cfg_bits[cl_packet_length(CFG_BITS)];
@@ -695,6 +699,7 @@ struct v3dv_pipeline {
uint8_t vcm_cache_size[cl_packet_length(VCM_CACHE_SIZE)];
uint8_t vertex_attrs[cl_packet_length(GL_SHADER_STATE_ATTRIBUTE_RECORD) *
(MAX_VBS / 4)];
+ uint8_t stencil_cfg[2][cl_packet_length(STENCIL_CFG)];
};
uint32_t v3dv_physical_device_api_version(struct v3dv_physical_device *dev);