mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 20:00:10 +01:00
vk: Remove stale 48 bit addresses FIXMEs
This has worked fine for a long time.
This commit is contained in:
parent
c4802bc44c
commit
b49aaf5de0
1 changed files with 2 additions and 5 deletions
|
|
@ -854,7 +854,7 @@ emit_ps_depth_count(struct anv_batch *batch,
|
||||||
anv_batch_emit(batch, GENX(PIPE_CONTROL),
|
anv_batch_emit(batch, GENX(PIPE_CONTROL),
|
||||||
.DestinationAddressType = DAT_PPGTT,
|
.DestinationAddressType = DAT_PPGTT,
|
||||||
.PostSyncOperation = WritePSDepthCount,
|
.PostSyncOperation = WritePSDepthCount,
|
||||||
.Address = { bo, offset }); /* FIXME: This is only lower 32 bits */
|
.Address = { bo, offset });
|
||||||
}
|
}
|
||||||
|
|
||||||
void genX(CmdBeginQuery)(
|
void genX(CmdBeginQuery)(
|
||||||
|
|
@ -926,8 +926,7 @@ void genX(CmdWriteTimestamp)(
|
||||||
anv_batch_emit(&cmd_buffer->batch, GENX(PIPE_CONTROL),
|
anv_batch_emit(&cmd_buffer->batch, GENX(PIPE_CONTROL),
|
||||||
.DestinationAddressType = DAT_PPGTT,
|
.DestinationAddressType = DAT_PPGTT,
|
||||||
.PostSyncOperation = WriteTimestamp,
|
.PostSyncOperation = WriteTimestamp,
|
||||||
.Address = /* FIXME: This is only lower 32 bits */
|
.Address = { &pool->bo, entry * 8 });
|
||||||
{ &pool->bo, entry * 8 });
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1023,13 +1022,11 @@ void genX(CmdCopyQueryPoolResults)(
|
||||||
|
|
||||||
anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM),
|
anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM),
|
||||||
.RegisterAddress = CS_GPR(2),
|
.RegisterAddress = CS_GPR(2),
|
||||||
/* FIXME: This is only lower 32 bits */
|
|
||||||
.MemoryAddress = { buffer->bo, dst_offset });
|
.MemoryAddress = { buffer->bo, dst_offset });
|
||||||
|
|
||||||
if (flags & VK_QUERY_RESULT_64_BIT)
|
if (flags & VK_QUERY_RESULT_64_BIT)
|
||||||
anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM),
|
anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM),
|
||||||
.RegisterAddress = CS_GPR(2) + 4,
|
.RegisterAddress = CS_GPR(2) + 4,
|
||||||
/* FIXME: This is only lower 32 bits */
|
|
||||||
.MemoryAddress = { buffer->bo, dst_offset + 4 });
|
.MemoryAddress = { buffer->bo, dst_offset + 4 });
|
||||||
|
|
||||||
dst_offset += destStride;
|
dst_offset += destStride;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue