From 17a2820da8ad8ea23d336129f32e060e5746b047 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 19 Sep 2020 14:32:41 +1000 Subject: Cleanup: consistent TODO/FIXME formatting for names Following the most widely used convention for including todo's in the code, that is: `TODO(name):`, `FIXME(name)` ... etc. --- source/blender/gpu/intern/gpu_codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu/intern/gpu_codegen.c') diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index f10fd8cd137..2d76e793fc0 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -421,7 +421,7 @@ static void codegen_call_functions(DynStr *ds, GPUNodeGraph *graph, GPUOutput *f ds, input->link->output->type, input->type, "tmp", input->link->output->id); } else if (input->source == GPU_SOURCE_BUILTIN) { - /* TODO(fclem) get rid of that. */ + /* TODO(fclem): get rid of that. */ if (input->builtin == GPU_INVERSE_VIEW_MATRIX) { BLI_dynstr_append(ds, "viewinv"); } @@ -527,7 +527,7 @@ static char *code_generate_fragment(GPUMaterial *material, if (builtins & GPU_BARYCENTRIC_TEXCO) { BLI_dynstr_append(ds, " vec2 barytexco = barycentric_resolve(barycentricTexCo);\n"); } - /* TODO(fclem) get rid of that. */ + /* TODO(fclem): get rid of that. */ if (builtins & GPU_VIEW_MATRIX) { BLI_dynstr_append(ds, " #define viewmat ViewMatrix\n"); } -- cgit v1.2.3