Removed dummy z-only pass fragment shader (null fragment shader is supported now).
This commit is contained in:
parent
2250f45510
commit
628e2fcab7
@ -1,12 +0,0 @@
|
||||
/*
|
||||
* Copyright 2018 Kostas Anagnostou. All rights reserved.
|
||||
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
||||
*/
|
||||
|
||||
#include "../common/common.sh"
|
||||
|
||||
//dummy shader for occlusion buffer pass until bgfx supports rendering with null shader
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = vec4(0, 0, 0, 0);
|
||||
}
|
@ -685,7 +685,7 @@ public:
|
||||
m_indirectBuffer = bgfx::createIndirectBuffer(m_noofProps);
|
||||
|
||||
// Create programs from shaders for occlusion pass.
|
||||
m_programOcclusionPass = loadProgram("vs_gdr_render_occlusion", "fs_gdr_render_occlusion");
|
||||
m_programOcclusionPass = loadProgram("vs_gdr_render_occlusion", NULL);
|
||||
m_programDownscaleHiZ = loadProgram("cs_gdr_downscale_hi_z", NULL);
|
||||
m_programOccludeProps = loadProgram("cs_gdr_occlude_props", NULL);
|
||||
m_programStreamCompaction = loadProgram("cs_gdr_stream_compaction", NULL);
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user