First rendering using Spir-V generated shaders \o/

This commit is contained in:
Jérôme Leclercq
2020-08-09 00:24:07 +02:00
parent 3829f0a002
commit 0da2ee6c99
25 changed files with 1117 additions and 373 deletions

View File

@@ -1,5 +1,6 @@
#include <Nazara/Utility.hpp>
#include <Nazara/Renderer.hpp>
#include <Nazara/Renderer/ShaderAstCloner.hpp>
#include <Nazara/Renderer/SpirvWriter.hpp>
#include <array>
#include <iostream>
@@ -7,8 +8,8 @@
#define SPIRV 0
int main()
{
{
{
/*{
Nz::File file("frag.shader");
if (!file.Open(Nz::OpenMode_ReadOnly))
return __LINE__;
@@ -39,7 +40,7 @@ int main()
return 0;
}
*/
Nz::Initializer<Nz::Renderer> loader;
if (!loader)
{

Binary file not shown.

BIN
examples/bin/test.spirv Normal file

Binary file not shown.

Binary file not shown.