From 8b67c7b3fc163156a02a40430f7038ab2f199924 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 29 May 2018 16:48:04 -0400 Subject: Feature/vulkan texture (#579) * First pass at support for textures in vulkan. * Binding state has first pass support for VkImageView VkSampler. * Split out _calcImageViewType * Fix bug in debug build around constant buffer being added but not part of the binding description for the test. * Offset recalculated for vk texture construction just store the texture size for each mip level. * When outputing a vector type with a size of 1 in GLSL, it needs to be output as the underlying type. For example vector should be output as float in GLSL. * Vulkan render-test produces right output for the test tests/compute/textureSamplingTest.slang -slang -gcompute -o tests/compute/textureSamplingTest.slang.actual.txt -vk * Small improvement around xml encoding a string. * More generalized test synthesis. * Fix image usage flags for Vulkan. * Improvements to what gets synthesized vulkan tests. * Do transition on all mip levels. * Fixing problems appearing from vulkan debug layer. * Disable Vulkan synthesized tests for now. --- tools/slang-test/render-api-util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/slang-test/render-api-util.h') diff --git a/tools/slang-test/render-api-util.h b/tools/slang-test/render-api-util.h index 0f941f05d..eec447af9 100644 --- a/tools/slang-test/render-api-util.h +++ b/tools/slang-test/render-api-util.h @@ -27,6 +27,7 @@ struct RenderApiFlag AllOf = (1 << int(RenderApiType::CountOf)) - 1 ///< All bits set }; }; +typedef uint32_t RenderApiFlags; struct RenderApiUtil { -- cgit v1.2.3