summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/genX_pipeline.c
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2020-03-03 10:09:29 -0800
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2020-03-12 13:18:54 -0700
commit613c9b78e3a9fa08bda2c671543d2ef0caba9dc2 (patch)
tree2bd6a38428f577b1afe160791ed4ba2d17183874 /src/intel/vulkan/genX_pipeline.c
parentd0a52432b19f1d3e61b20a5dd4ba1a1e5546bd7d (diff)
anv: Add a new enum to identify the pipeline type
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4040>
Diffstat (limited to 'src/intel/vulkan/genX_pipeline.c')
-rw-r--r--src/intel/vulkan/genX_pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c
index 52a363fc075..c5c5e73874e 100644
--- a/src/intel/vulkan/genX_pipeline.c
+++ b/src/intel/vulkan/genX_pipeline.c
@@ -2231,6 +2231,7 @@ compute_pipeline_create(
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
pipeline->device = device;
+ pipeline->type = ANV_PIPELINE_COMPUTE;
pipeline->blend_state.map = NULL;