example Atmosphere use pipeline file

This commit is contained in:
hyzboy 2020-09-18 22:39:33 +08:00
parent b3b8de4adb
commit 5eb81f0abb
3 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit b816297b8811a1a078819f02b740c05576ae5daf
Subproject commit 86b124547d03bc221c3f87f7af66794da42fec15

View File

@ -87,10 +87,10 @@ private:
bool InitPipeline()
{
vulkan::VKPipelineData pd;
pd.SetDepthTest(true);
pd.SetDepthWrite(true);
pd.SetCullMode(VK_CULL_MODE_NONE);
if(!vulkan::LoadFromFile(OS_TEXT("res/pipeline/sky.pipeline"),&pd))
return(false);
pd.Set(Prim::Triangles);
pipeline_solid=CreatePipeline(device,&pd,material,sc_render_target);

2
res

@ -1 +1 @@
Subproject commit 6e4f4a9329b440787eb0a92eaa691e989497e9bd
Subproject commit 330af463414de83240bf6290d6f9a52aa5b55af3