From 5603164a2dc0c43774f712b362e482ce1bc62665 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 6 Mar 2016 17:09:46 -1000 Subject: [PATCH] Update LICENSE date and Vulkan tweaks --- LICENSE | 2 +- include/boo/graphicsdev/Vulkan.hpp | 2 +- lib/graphicsdev/Vulkan.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index b7dd654..1a052ee 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2015 libBoo Contributors +Copyright (c) 2015-2016 Boo Contributors Original Authors: Jack Andersen and Phillip "Antidote" Stephens Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/include/boo/graphicsdev/Vulkan.hpp b/include/boo/graphicsdev/Vulkan.hpp index 192ec7a..8accb63 100644 --- a/include/boo/graphicsdev/Vulkan.hpp +++ b/include/boo/graphicsdev/Vulkan.hpp @@ -100,7 +100,7 @@ public: ITextureR* newRenderTexture(size_t width, size_t height, bool enableShaderColorBinding, bool enableShaderDepthBinding); - bool bindingNeedsVertexFormat() const {return true;} + bool bindingNeedsVertexFormat() const {return false;} IVertexFormat* newVertexFormat(size_t elementCount, const VertexElementDescriptor* elements); IShaderPipeline* newShaderPipeline(const char* vertSource, const char* fragSource, diff --git a/lib/graphicsdev/Vulkan.cpp b/lib/graphicsdev/Vulkan.cpp index 96fffdf..d0fc468 100644 --- a/lib/graphicsdev/Vulkan.cpp +++ b/lib/graphicsdev/Vulkan.cpp @@ -458,7 +458,7 @@ void VulkanContext::initVulkan(const char* appName) appInfo.pNext = nullptr; appInfo.pApplicationName = appName; appInfo.applicationVersion = 1; - appInfo.pEngineName = "libBoo"; + appInfo.pEngineName = "Boo"; appInfo.engineVersion = 1; appInfo.apiVersion = VK_API_VERSION; @@ -3078,7 +3078,7 @@ IVertexFormat* VulkanDataFactory::newVertexFormat(size_t elementCount, const Ver } IShaderDataBinding* VulkanDataFactory::newShaderDataBinding(IShaderPipeline* pipeline, - IVertexFormat* vtxFormat, + IVertexFormat* /*vtxFormat*/, IGraphicsBuffer* vbuf, IGraphicsBuffer* instVbuf, IGraphicsBuffer* ibuf, size_t ubufCount, IGraphicsBuffer** ubufs, size_t texCount, ITexture** texs)