aco: Add storage class for Task Shader payload.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15161>
This commit is contained in:
@@ -613,7 +613,8 @@ perform_hazard_query(hazard_query* query, Instruction* instr, bool upwards)
|
||||
/* Don't move memory accesses to before control barriers. I don't think
|
||||
* this is necessary for the Vulkan memory model, but it might be for GLSL450. */
|
||||
unsigned control_classes =
|
||||
storage_buffer | storage_atomic_counter | storage_image | storage_shared;
|
||||
storage_buffer | storage_atomic_counter | storage_image | storage_shared |
|
||||
storage_task_payload;
|
||||
if (first->has_control_barrier &&
|
||||
((second->access_atomic | second->access_relaxed) & control_classes))
|
||||
return hazard_fail_barrier;
|
||||
|
||||
Reference in New Issue
Block a user