summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_cmd_buffer.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-22 10:58:34 -0700
committerJason Ekstrand <[email protected]>2015-09-24 08:42:38 -0700
commitbc17f9c9d76dbf2cdc657cfb6861b887dbca3046 (patch)
tree6037b9e66eaeb10f1d875a7c688ac2fb7fc3d56e /src/vulkan/gen7_cmd_buffer.c
parente1a7c721d34158f94f6b6dee94a211d32e9f5752 (diff)
anv/cmd_buffer: Add a helper for getting the surface state base address
Diffstat (limited to 'src/vulkan/gen7_cmd_buffer.c')
-rw-r--r--src/vulkan/gen7_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/gen7_cmd_buffer.c b/src/vulkan/gen7_cmd_buffer.c
index b149673f405..95d1e28698f 100644
--- a/src/vulkan/gen7_cmd_buffer.c
+++ b/src/vulkan/gen7_cmd_buffer.c
@@ -48,7 +48,7 @@ gen7_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer)
.GeneralStateAccessUpperBound = { scratch_bo, scratch_bo->size },
.GeneralStateAccessUpperBoundModifyEnable = true,
- .SurfaceStateBaseAddress = { anv_cmd_buffer_current_surface_bo(cmd_buffer), 0 },
+ .SurfaceStateBaseAddress = anv_cmd_buffer_surface_base_address(cmd_buffer),
.SurfaceStateMemoryObjectControlState = GEN7_MOCS,
.SurfaceStateBaseAddressModifyEnable = true,