Fix: GPU: GLSL-C++ stubs GPU_SHADER_INTERFACE_INFO macro error

The macro should take only one parameter.
This commit is contained in:
Clément Foucault
2024-10-07 12:56:45 +02:00
parent 3cd0e0ab5e
commit 597388a65e

View File

@@ -50,8 +50,7 @@ namespace blender::gpu::shader {
_inst_name; \
}
# define GPU_SHADER_INTERFACE_INFO(_interface, _inst_name) \
namespace create_info::interface::_interface {
# define GPU_SHADER_INTERFACE_INFO(_interface) namespace create_info::interface::_interface {
# define GPU_SHADER_INTERFACE_END() }
# define GPU_SHADER_CREATE_INFO(_info) \