projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6493df
)
anv: Strip trailing whitespace from anv_device.c
author
Chad Versace
<chad.versace@intel.com>
Fri, 13 Nov 2015 18:12:18 +0000
(10:12 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Fri, 13 Nov 2015 18:27:40 +0000
(10:27 -0800)
src/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_device.c
b/src/vulkan/anv_device.c
index 1328516c48e325495267b26151b876c7e695d217..af27711d9a4ce081d53b94d31410ed693b6c085c 100644
(file)
--- a/
src/vulkan/anv_device.c
+++ b/
src/vulkan/anv_device.c
@@
-115,7
+115,7
@@
anv_physical_device_init(struct anv_physical_device *device,
"non-llc gpu");
goto fail;
}
-
+
close(fd);
brw_process_intel_debug_variable();
@@
-129,7
+129,7
@@
anv_physical_device_init(struct anv_physical_device *device,
device->compiler->shader_perf_log = compiler_perf_log;
return VK_SUCCESS;
-
+
fail:
close(fd);
return result;
@@
-647,7
+647,7
@@
VkResult anv_CreateDevice(
device->fd = open(physical_device->path, O_RDWR | O_CLOEXEC);
if (device->fd == -1)
goto fail_device;
-
+
device->context_id = anv_gem_create_context(device);
if (device->context_id == -1)
goto fail_fd;
@@
-1020,7
+1020,7
@@
VkResult anv_MapMemory(
mem->map_size = size;
*ppData = mem->map;
-
+
return VK_SUCCESS;
}