vk: Remove stale 48 bit addresses FIXMEs
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sun, 20 Dec 2015 06:18:12 +0000 (22:18 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sun, 20 Dec 2015 06:20:45 +0000 (22:20 -0800)
This has worked fine for a long time.

src/vulkan/gen8_cmd_buffer.c

index 1a1efed670d064bfb7b48481527657901ec0c53f..d571f9c97e36dd8e920510ceda18c7ab1a99b419 100644 (file)
@@ -854,7 +854,7 @@ emit_ps_depth_count(struct anv_batch *batch,
    anv_batch_emit(batch, GENX(PIPE_CONTROL),
                   .DestinationAddressType = DAT_PPGTT,
                   .PostSyncOperation = WritePSDepthCount,
-                  .Address = { bo, offset });  /* FIXME: This is only lower 32 bits */
+                  .Address = { bo, offset });
 }
 
 void genX(CmdBeginQuery)(
@@ -926,8 +926,7 @@ void genX(CmdWriteTimestamp)(
       anv_batch_emit(&cmd_buffer->batch, GENX(PIPE_CONTROL),
                      .DestinationAddressType = DAT_PPGTT,
                      .PostSyncOperation = WriteTimestamp,
-                     .Address = /* FIXME: This is only lower 32 bits */
-                        { &pool->bo, entry * 8 });
+                     .Address = { &pool->bo, entry * 8 });
       break;
    }
 }
@@ -1023,13 +1022,11 @@ void genX(CmdCopyQueryPoolResults)(
 
       anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM),
                      .RegisterAddress = CS_GPR(2),
-                     /* FIXME: This is only lower 32 bits */
                      .MemoryAddress = { buffer->bo, dst_offset });
 
       if (flags & VK_QUERY_RESULT_64_BIT)
          anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_REGISTER_MEM),
                         .RegisterAddress = CS_GPR(2) + 4,
-                        /* FIXME: This is only lower 32 bits */
                         .MemoryAddress = { buffer->bo, dst_offset + 4 });
 
       dst_offset += destStride;