projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
anv: pass the fd directly to anv_gem_reg_read()
[mesa.git]
/
src
/
intel
/
vulkan
/
anv_device.c
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index e3e3d755d813e1355cc1ec5ab15860cf245690f9..8004b0fbc5b345b2d618946c8ce73c4fa2496579 100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-4448,7
+4448,7
@@
VkResult anv_GetCalibratedTimestampsEXT(
for (d = 0; d < timestampCount; d++) {
switch (pTimestampInfos[d].timeDomain) {
case VK_TIME_DOMAIN_DEVICE_EXT:
- ret = anv_gem_reg_read(device, TIMESTAMP | 1,
+ ret = anv_gem_reg_read(device
->fd
, TIMESTAMP | 1,
&pTimestamps[d]);
if (ret != 0) {