Add samples 16_Vulkan_1_1, CopyBlitImage, CreateDebugReportCallback, DrawTexturedCube (#304)

+ slightly adjust some other samples.
This commit is contained in:
Andreas Süßenbach
2019-03-26 12:24:36 +01:00
committed by Markus Tavenrath
parent 7905145361
commit 2d8483e06f
22 changed files with 1209 additions and 237 deletions

View File

@@ -13,13 +13,13 @@
// limitations under the License.
//
struct Vertex
struct VertexPC
{
float x, y, z, w; // Position
float r, g, b, a; // Color
};
static const Vertex coloredCubeData[] =
static const VertexPC coloredCubeData[] =
{
// red face
{ -1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 1.0f },