diff options
author | Jason Ekstrand <[email protected]> | 2020-01-15 08:34:06 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2020-01-15 08:34:57 -0600 |
commit | 75755e0eba17f850036798ee7ed46db5e49c4513 (patch) | |
tree | aeca4e1e6485acce4b48cf77dfe07394cee56d5e /src/freedreno/vulkan | |
parent | ac0c7ad2c23e7e91c404e9cf4434eac65e1551cb (diff) |
turnip: Pretend to support Vulkan 1.2
It doesn't really support any Vulkan properly yet so why not claim 1.2?
This was an easier way of fixing the build than trying to roll it
forward to a later version of ANV's entrypoint generator scripts.
Diffstat (limited to 'src/freedreno/vulkan')
-rw-r--r-- | src/freedreno/vulkan/tu_cmd_buffer.c | 16 | ||||
-rw-r--r-- | src/freedreno/vulkan/tu_extensions.py | 2 | ||||
-rw-r--r-- | src/freedreno/vulkan/tu_pass.c | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c index 73045783891..516133def56 100644 --- a/src/freedreno/vulkan/tu_cmd_buffer.c +++ b/src/freedreno/vulkan/tu_cmd_buffer.c @@ -2351,9 +2351,9 @@ tu_CmdBeginRenderPass(VkCommandBuffer commandBuffer, } void -tu_CmdBeginRenderPass2KHR(VkCommandBuffer commandBuffer, - const VkRenderPassBeginInfo *pRenderPassBeginInfo, - const VkSubpassBeginInfoKHR *pSubpassBeginInfo) +tu_CmdBeginRenderPass2(VkCommandBuffer commandBuffer, + const VkRenderPassBeginInfo *pRenderPassBeginInfo, + const VkSubpassBeginInfoKHR *pSubpassBeginInfo) { tu_CmdBeginRenderPass(commandBuffer, pRenderPassBeginInfo, pSubpassBeginInfo->contents); @@ -2419,9 +2419,9 @@ tu_CmdNextSubpass(VkCommandBuffer commandBuffer, VkSubpassContents contents) } void -tu_CmdNextSubpass2KHR(VkCommandBuffer commandBuffer, - const VkSubpassBeginInfoKHR *pSubpassBeginInfo, - const VkSubpassEndInfoKHR *pSubpassEndInfo) +tu_CmdNextSubpass2(VkCommandBuffer commandBuffer, + const VkSubpassBeginInfoKHR *pSubpassBeginInfo, + const VkSubpassEndInfoKHR *pSubpassEndInfo) { tu_CmdNextSubpass(commandBuffer, pSubpassBeginInfo->contents); } @@ -3792,8 +3792,8 @@ tu_CmdEndRenderPass(VkCommandBuffer commandBuffer) } void -tu_CmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, - const VkSubpassEndInfoKHR *pSubpassEndInfo) +tu_CmdEndRenderPass2(VkCommandBuffer commandBuffer, + const VkSubpassEndInfoKHR *pSubpassEndInfo) { tu_CmdEndRenderPass(commandBuffer); } diff --git a/src/freedreno/vulkan/tu_extensions.py b/src/freedreno/vulkan/tu_extensions.py index ca69ba7f119..0856d6d2d62 100644 --- a/src/freedreno/vulkan/tu_extensions.py +++ b/src/freedreno/vulkan/tu_extensions.py @@ -31,7 +31,7 @@ import xml.etree.cElementTree as et from mako.template import Template -MAX_API_VERSION = '1.1.82' +MAX_API_VERSION = '1.2.131' class Extension: def __init__(self, name, ext_version, enable): diff --git a/src/freedreno/vulkan/tu_pass.c b/src/freedreno/vulkan/tu_pass.c index 72fe1bf06e6..02c113bcc59 100644 --- a/src/freedreno/vulkan/tu_pass.c +++ b/src/freedreno/vulkan/tu_pass.c @@ -213,10 +213,10 @@ tu_CreateRenderPass(VkDevice _device, } VkResult -tu_CreateRenderPass2KHR(VkDevice _device, - const VkRenderPassCreateInfo2KHR *pCreateInfo, - const VkAllocationCallbacks *pAllocator, - VkRenderPass *pRenderPass) +tu_CreateRenderPass2(VkDevice _device, + const VkRenderPassCreateInfo2KHR *pCreateInfo, + const VkAllocationCallbacks *pAllocator, + VkRenderPass *pRenderPass) { TU_FROM_HANDLE(tu_device, device, _device); struct tu_render_pass *pass; |