aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
AgeCommit message (Collapse)Author
2018-11-19cube: Update cube/vkcube namingLenny Komow
Change-Id: I633c97e9b82a6b5069cc2e7a83106f5d17600c6b
2018-10-31demos: Fix cubepp with latest vulkan.hppMike Schuchardt
Add explicit casts for nullptr values passed to vulkan.hpp so the correct function overload is selected.
2018-10-26repo: Remove MIR specific code.Tony-LunarG
Still need to remove MIR from scripts/common_codegen.py and from the Vulkan wrapper. Change-Id: Ib00cbe10b3e80878fb5e15c1e628685f33d31331
2018-10-04Ignore window erasesAaron Hagan
2018-09-24cube: Use staging buffer instead of staging imageTony-LunarG
There is no guarantee that linear images are supported Change-Id: Ie59f3bf7bfc1d77e17f1d06ffc524e886dca46a6
2018-09-12cube: Fix new validation errorKarl Schultz
As of Vulkan-ValidationLayers commit 2872f4a, the layers now check that image layouts specified in descriptors match the current image layout state. LAYOUT_GENERAL is not a wildcard for this matching. Change the image layouts for the combined image sampler descriptors from LAYOUT_GENERAL to LAYOUT_SHADER_READ_ONLY_OPTIMAL.
2018-06-05cube: Fix separate present queue validation errorsTony-LunarG
From the spec: Whilst it is not invalid to provide destination or source access masks for memory barriers used for release or acquire operations, respectively, they have no practical effect. Access after a release operation has undefined results, and so visibility for those accesses has no practical effect. Similarly, write access before an acquire operation will produce undefined results for future access, so availability of those writes has no practical use. In an earlier version of the specification, these were required to match on both sides - but this was subsequently relaxed. These masks should be set to 0. Change-Id: I495dc86ad62c0651fbc6acbfb0dfbb8245a324be
2018-05-31cube: Explicitly set QueueFamilyIndex(s) to QUEUE_FAMILY_IGNOREDTony-LunarG
The QueueFamilyIndex fields only come into play when you want to use an image in two or more queues from different queue families, which cube does not do. Change-Id: I610aa8899539eeb25ca06254b88e6a6d0a2ffc97
2018-05-30build: Add cube(pp) to install targetKarl Schultz
- Modify cube and cubepp to obtain the texture image data from an include file instead of reading a PPM file at runtime. (This is the way it works for Android) This removes the need to install an image file or otherwise make an image file available in a repo build. - Add cube and cubepp to the install target. Note: The file handling code is left in place to make it easy to add a "-texture_file <file>" option so a user can pass in a texture file. Fixes #5
2018-05-11cube: Move cube directory up to top level dirMark Lobodzinski
Change-Id: Ie1116b0b6de742b4f85834a4c9d1927dd641e19b