Fix nvidia crash (API version). Fix linux builds

Properly set up vulkan API version when creating instance

Fix gcc error about passing function result by reference

Fix alot of warnings in VKGSRender project

More fixes for gcc

Fix texture create function
This commit is contained in:
kd-11 2016-03-07 17:55:02 +03:00
parent d58bd1c916
commit bd52bcf8d4
11 changed files with 40 additions and 44 deletions

View file

@ -725,7 +725,7 @@ namespace vk
uniform.domain == domain)
{
VkBuffer buf = _buffer;
u32 size = _buffer.size();
u64 size = _buffer.size();
if (uniform.as_buffer.buffer != buf ||
uniform.as_buffer.size != size)
@ -760,7 +760,7 @@ namespace vk
{
VkBuffer buf = _buffer;
VkBufferView view = _buffer;
u32 size = _buffer.size();
u64 size = _buffer.size();
if (uniform.as_buffer.buffer != buf ||
uniform.as_buffer.buffer_view != view ||