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 <itoral@igalia.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user