diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-14 16:20:35 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-18 22:30:09 +0300 |
commit | 216d78687d2b9468b05fb598d1cef0b8424a40d2 (patch) | |
tree | b6d53ddf17e27c2cc0805c46fe76764004109f81 /source/blender/gpu/intern/gpu_vertex_format.cc | |
parent | df28d2c27e2bef54e5b4fc33d663125ac5ec83f7 (diff) |
GPUShader: GL backend isolation
Diffstat (limited to 'source/blender/gpu/intern/gpu_vertex_format.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_vertex_format.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_vertex_format.cc b/source/blender/gpu/intern/gpu_vertex_format.cc index 2e8017660d0..a25b2b67e2e 100644 --- a/source/blender/gpu/intern/gpu_vertex_format.cc +++ b/source/blender/gpu/intern/gpu_vertex_format.cc @@ -33,7 +33,6 @@ #include "BLI_utildefines.h" #include "GPU_shader.h" -#include "gpu_shader_private.h" #define PACK_DEBUG 0 @@ -480,6 +479,8 @@ static void get_fetch_mode_and_comp_type(int gl_type, void GPU_vertformat_from_shader(GPUVertFormat *format, const GPUShader *shader) { + UNUSED_VARS(format, shader); +#if 0 /* TODO (fclem) port to GLShader */ GPU_vertformat_clear(format); GPUVertAttr *attr = &format->attrs[0]; @@ -512,4 +513,5 @@ void GPU_vertformat_from_shader(GPUVertFormat *format, const GPUShader *shader) attr->comp_type = comp_type; attr += 1; } +#endif } |