diff --git a/examples/37-gpudrivenrendering/fs_gdr_render_occlusion.sc b/examples/37-gpudrivenrendering/fs_gdr_render_occlusion.sc deleted file mode 100644 index 5f61f4c9b..000000000 --- a/examples/37-gpudrivenrendering/fs_gdr_render_occlusion.sc +++ /dev/null @@ -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); -} diff --git a/examples/37-gpudrivenrendering/gpudrivenrendering.cpp b/examples/37-gpudrivenrendering/gpudrivenrendering.cpp index 51e97da97..d332609e0 100644 --- a/examples/37-gpudrivenrendering/gpudrivenrendering.cpp +++ b/examples/37-gpudrivenrendering/gpudrivenrendering.cpp @@ -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); diff --git a/examples/runtime/shaders/dx11/fs_gdr_render_occlusion.bin b/examples/runtime/shaders/dx11/fs_gdr_render_occlusion.bin deleted file mode 100644 index 3c8438df3..000000000 Binary files a/examples/runtime/shaders/dx11/fs_gdr_render_occlusion.bin and /dev/null differ diff --git a/examples/runtime/shaders/glsl/fs_gdr_render_occlusion.bin b/examples/runtime/shaders/glsl/fs_gdr_render_occlusion.bin deleted file mode 100644 index 29069e6cb..000000000 Binary files a/examples/runtime/shaders/glsl/fs_gdr_render_occlusion.bin and /dev/null differ