From c92f527a45f85f8f229bb7996e9591a9619c2a9c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 2 Oct 2019 20:36:54 -0700 Subject: HLSL2GLSL converter: implemented automatic assignment of shader storage buffer binding points --- Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index 9e1a8a2b..c04d54ea 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -665,7 +665,8 @@ namespace Diligent LOG_WARNING_MESSAGE_ONCE("glShaderStorageBlockBinding is not available on this device and " "the engine is unable to automatically assign shader storage block bindindg points. " "To make shader storage blocks work properly, all binding points must be explicitly assigned " - "in the shader starting from 0 and proceeding in the storage block declaration order."); + "in the shader starting from 0 and proceeding in the storage block declaration order. " + "Note that the binding points are properly assigned by HLSL->GLSL converter."); } ++StorageBufferBindSlot; -- cgit v1.2.3