Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_shader_interface.cc
| Show All 26 Lines | |||||
| #include "BLI_span.hh" | #include "BLI_span.hh" | ||||
| #include "BLI_vector.hh" | #include "BLI_vector.hh" | ||||
| #include "gpu_shader_interface.hh" | #include "gpu_shader_interface.hh" | ||||
| namespace blender::gpu { | namespace blender::gpu { | ||||
| ShaderInterface::ShaderInterface() | |||||
| { | |||||
| /* TODO(fclem): add unique ID for debugging. */ | /* TODO(fclem): add unique ID for debugging. */ | ||||
| } | ShaderInterface::ShaderInterface() = default; | ||||
| ShaderInterface::~ShaderInterface() | ShaderInterface::~ShaderInterface() | ||||
| { | { | ||||
| /* Free memory used by name_buffer. */ | /* Free memory used by name_buffer. */ | ||||
| MEM_freeN(name_buffer_); | MEM_freeN(name_buffer_); | ||||
| MEM_freeN(inputs_); | MEM_freeN(inputs_); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines | |||||