forked from Dynamitos/Seele
Fixing ray tracing lens
This commit is contained in:
1 parent
8499d418e8
commit
59b73420d6
10 files changed
+44
-39
No files matched your search
@@ -233,9 +233,7 @@ PGraphicsPipeline PipelineCache::createPipeline(Gfx::LegacyPipelineCreateInfo gf
|
||||
|
||||
PGraphicsPipeline PipelineCache::createPipeline(Gfx::MeshPipelineCreateInfo gfxInfo) {
|
||||
uint32 hash = CRC::Calculate(&gfxInfo, sizeof(Gfx::MeshPipelineCreateInfo), CRC::CRC_32());
|
||||
std::cout << hash << std::endl;
|
||||
if (graphicsPipelines.contains(hash)) {
|
||||
std::cout << "found exisiting" << std::endl;
|
||||
return graphicsPipelines[hash];
|
||||
}
|
||||
PPipelineLayout layout = Gfx::PPipelineLayout(gfxInfo.pipelineLayout).cast<PipelineLayout>();
|
||||
|
||||
Reference in new issue
Block a user