diff options
author | Jason Ekstrand <[email protected]> | 2018-11-21 17:19:37 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-11-22 09:17:28 -0600 |
commit | a24654b49d36609b43a5ef6f04453ab284a6ea4f (patch) | |
tree | 7c5e61788a74ed7b30b5ea303de4a3fa8a27b80b /src/intel/vulkan/anv_pipeline.c | |
parent | 617e402b3d1be185f200b1667540096d9a8b2aec (diff) |
anv/nir: Rework arguments to apply_pipeline_layout
Instead of taking a whole pipeline (which could be anything!), just take
a physical device and robust_buffer_access boolean. This makes it
easier to verify that only the things in the hash actually affect
pipeline compilation.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index f170366d030..ee37685fccf 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -532,7 +532,9 @@ anv_pipeline_lower_nir(struct anv_pipeline *pipeline, /* Apply the actual pipeline layout to UBOs, SSBOs, and textures */ if (layout) { - anv_nir_apply_pipeline_layout(pipeline, layout, nir, prog_data, + anv_nir_apply_pipeline_layout(&pipeline->device->instance->physicalDevice, + pipeline->device->robust_buffer_access, + layout, nir, prog_data, &stage->bind_map); } |