isl: Take a devinfo in lower_storage_image_format instead of an isl_device
We want to call this function from the shader compiler and having a full isl_device available at that point isn't practical. Reviewed-by: Chad Versace <chad.versace@intel.com>
This commit is contained in:
@@ -678,7 +678,7 @@ void anv_buffer_view_init(struct anv_buffer_view *view,
|
||||
|
||||
enum isl_format storage_format =
|
||||
has_matching_storage_typed_format(device, view->format) ?
|
||||
isl_lower_storage_image_format(&device->isl_dev, view->format) :
|
||||
isl_lower_storage_image_format(&device->info, view->format) :
|
||||
ISL_FORMAT_RAW;
|
||||
|
||||
anv_fill_buffer_surface_state(device, view->storage_surface_state,
|
||||
|
Reference in New Issue
Block a user