redo shader mapping

This commit is contained in:
Gregory Wells
2025-08-19 22:15:24 -04:00
parent 01de997df5
commit 0c0988b75a
5 changed files with 50 additions and 42 deletions

View File

@@ -3,9 +3,10 @@
#include "opengl_shader_compiler.h"
typedef struct gnPlatformShaderModule_t {
glShader shader;
GLuint id;
glCompiler compiler;
} gnPlatformShaderModule;
GLenum gnShaderTypeToGLEnum(gnShaderModuleStage stage);
gnReturnCode openglCreateShaderModule(gnShaderModule module, gnDevice device, gnShaderModuleInfo shaderModuleInfo);
void openglDestroyShaderModule(gnShaderModule module);