forked from Dynamitos/Seele
Provisional light culling
This commit is contained in:
1 parent
0cf13bcff5
commit
e00b382d4a
41 files changed
+1072
-330
No files matched your search
@@ -120,6 +120,7 @@ void Shader::create(const ShaderCreateInfo& createInfo)
|
||||
char const* diagnostics = spGetDiagnosticOutput(request);
|
||||
std::cout << "Compile error for shader " << createInfo.name << std::endl;
|
||||
std::cout << diagnostics << std::endl;
|
||||
return;
|
||||
}
|
||||
size_t dataSize = 0;
|
||||
const uint32* data = reinterpret_cast<const uint32*>(spGetEntryPointCode(request, entryPointIndex, &dataSize));
|
||||
|
||||
Reference in new issue
Block a user