Skip to content

Commit bd0c088

Browse files
Disable GLSL compute blit.
1 parent 43bff17 commit bd0c088

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

include/nbl/video/utilities/CComputeBlitGLSL.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
#include "nbl/asset/filters/CBlitUtilities.h"
44

5+
// TODO: Port to vk1.3 or delete?
6+
#if 0
7+
58
namespace nbl::video
69
{
710
class NBL_API2 CComputeBlitGLSL : public core::IReferenceCounted
@@ -889,5 +892,7 @@ namespace nbl::video
889892
};
890893
}
891894

895+
#endif
896+
892897
#define _NBL_VIDEO_C_COMPUTE_BLIT_GLSL_H_INCLUDED_
893898
#endif

src/nbl/video/utilities/CComputeBlitGLSL.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using namespace nbl;
44
using namespace video;
55

6+
// TODO: Port to vk 1.3 or delete?
7+
#if 0
68
core::smart_refctd_ptr<video::IGPUSpecializedShader> CComputeBlitGLSL::createAlphaTestSpecializedShader(const asset::IImage::E_TYPE imageType, const uint32_t alphaBinCount)
79
{
810
const auto workgroupDims = getDefaultWorkgroupDims(imageType);
@@ -50,4 +52,6 @@ core::smart_refctd_ptr<video::IGPUSpecializedShader> CComputeBlitGLSL::createNor
5052
auto gpuUnspecShader = m_device->createShader(std::move(cpuShader));
5153

5254
return m_device->createSpecializedShader(gpuUnspecShader.get(), { nullptr, nullptr, "main" });
53-
}
55+
}
56+
57+
#endif

0 commit comments

Comments
 (0)