GPUShader: Add back vertformat_from_shader()

This commit is contained in:
2020-08-14 23:50:51 +02:00
parent e8c48ce075
commit ba3c18f4b2
4 changed files with 119 additions and 112 deletions

View File

@@ -67,6 +67,8 @@ class GLShader : public Shader {
void uniform_float(int location, int comp_len, int array_size, const float *data) override;
void uniform_int(int location, int comp_len, int array_size, const int *data) override;
void vertformat_from_shader(GPUVertFormat *format) const override;
private:
char *glsl_patch_get(void);