[Mesa-dev] [PATCH 1/5] anv/cmd_buffer: Simplify transition_depth_buffer

2018-02-20 Thread Jason Ekstrand
If we don't have HiZ, then anv_layout_to_aux_usage will return NONE for both layouts. If the two layouts are the same, they will get the aux usage. In either case, the code below will give us ISL_AUX_OP_NONE and we'll return without doing anything. --- src/intel/vulkan/genX_cmd_buffer.c | 12 ---

[Mesa-dev] [PATCH 1/5] anv/cmd_buffer: Simplify transition_depth_buffer

2018-02-05 Thread Jason Ekstrand
If we don't have HiZ, then anv_layout_to_aux_usage will return NONE for both layouts. If the two layouts are the same, they will get the aux usage. In either case, the code below will give us ISL_AUX_OP_NONE and we'll return without doing anything. --- src/intel/vulkan/genX_cmd_buffer.c | 12 ---