1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-06-07 21:57:46 +00:00

Add dummy shader for testing purposes

This is used to make sure the vertex stage successfully completed, thats
it.
This commit is contained in:
Joshua Goins 2024-04-21 11:50:35 -04:00
parent 81bdef14ca
commit 0d303f0e6e
4 changed files with 13 additions and 1 deletions

View file

@ -19,6 +19,7 @@ qt_add_resources(renderer
"shaders"
PREFIX "/"
FILES
shaders/dummy.frag.spv
shaders/imgui.frag.spv
shaders/imgui.vert.spv
shaders/mesh.frag.spv

View file

@ -6,4 +6,5 @@ glslc mesh.vert -o mesh.vert.spv &&
glslc skinned.vert -o skinned.vert.spv &&
glslc mesh.frag -o mesh.frag.spv &&
glslc imgui.vert -o imgui.vert.spv &&
glslc imgui.frag -o imgui.frag.spv
glslc imgui.frag -o imgui.frag.spv &&
glslc dummy.frag -o dummy.frag.spv

View file

@ -0,0 +1,10 @@
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: CC0-1.0
#version 450
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(1.0);
}

Binary file not shown.