mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
asahi: clang-format
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34326>
This commit is contained in:
parent
28dbdf2549
commit
bfca178e27
3 changed files with 9 additions and 8 deletions
|
|
@ -3873,9 +3873,10 @@ agx_compile_shader_nir(nir_shader *nir, struct agx_shader_key *key,
|
|||
nir->info.outputs_written & (VARYING_BIT_LAYER | VARYING_BIT_VIEWPORT);
|
||||
|
||||
} else if (nir->info.stage == MESA_SHADER_FRAGMENT) {
|
||||
info->disable_tri_merging = nir->info.uses_wide_subgroup_intrinsics ||
|
||||
nir->info.fs.needs_coarse_quad_helper_invocations ||
|
||||
nir->info.writes_memory;
|
||||
info->disable_tri_merging =
|
||||
nir->info.uses_wide_subgroup_intrinsics ||
|
||||
nir->info.fs.needs_coarse_quad_helper_invocations ||
|
||||
nir->info.writes_memory;
|
||||
|
||||
/* Writing the sample mask requires tag writes */
|
||||
info->tag_write_disable &= !info->writes_sample_mask;
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@ struct libagx_imm_write {
|
|||
uint32_t value;
|
||||
};
|
||||
|
||||
#define LIBAGX_QUERY_UNAVAILABLE (uint64_t)((int64_t) - 1)
|
||||
#define LIBAGX_QUERY_UNAVAILABLE (uint64_t)((int64_t)-1)
|
||||
|
|
|
|||
|
|
@ -253,10 +253,10 @@ hk_BindBufferMemory2(VkDevice device, uint32_t bindInfoCount,
|
|||
if (buffer->va) {
|
||||
VK_FROM_HANDLE(hk_device, dev, device);
|
||||
size_t size = MIN2(mem->bo->size, buffer->va->size_B);
|
||||
int ret = dev->dev.ops.bo_bind(
|
||||
&dev->dev, mem->bo, buffer->vk.device_address, size,
|
||||
pBindInfos[i].memoryOffset,
|
||||
ASAHI_BIND_READ | ASAHI_BIND_WRITE, false);
|
||||
int ret =
|
||||
dev->dev.ops.bo_bind(&dev->dev, mem->bo, buffer->vk.device_address,
|
||||
size, pBindInfos[i].memoryOffset,
|
||||
ASAHI_BIND_READ | ASAHI_BIND_WRITE, false);
|
||||
|
||||
if (ret)
|
||||
return VK_ERROR_UNKNOWN;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue