summaryrefslogtreecommitdiff
path: root/src/broadcom
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/compiler/v3d_compiler.h1
-rw-r--r--src/broadcom/vulkan/v3dv_pipeline.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/broadcom/compiler/v3d_compiler.h b/src/broadcom/compiler/v3d_compiler.h
index 748035cfb94..8d78bb4f183 100644
--- a/src/broadcom/compiler/v3d_compiler.h
+++ b/src/broadcom/compiler/v3d_compiler.h
@@ -360,7 +360,6 @@ struct v3d_key {
struct v3d_fs_key {
struct v3d_key base;
- bool depth_enabled;
bool is_points;
bool is_lines;
bool line_smoothing;
diff --git a/src/broadcom/vulkan/v3dv_pipeline.c b/src/broadcom/vulkan/v3dv_pipeline.c
index 74eb9bf057c..14e46291374 100644
--- a/src/broadcom/vulkan/v3dv_pipeline.c
+++ b/src/broadcom/vulkan/v3dv_pipeline.c
@@ -1145,11 +1145,6 @@ pipeline_populate_v3d_fs_key(struct v3d_fs_key *key,
}
}
- const VkPipelineDepthStencilStateCreateInfo *ds_info =
- pCreateInfo->pDepthStencilState;
-
- key->depth_enabled = (ds_info == NULL ? false : ds_info->depthTestEnable);
-
/* Vulkan doesn't support alpha test */
key->alpha_test = false;
key->alpha_test_func = COMPARE_FUNC_NEVER;