Blender V5.3
svm.cpp File Reference
#include <algorithm>
#include <functional>
#include "device/device.h"
#include "scene/background.h"
#include "scene/light.h"
#include "scene/mesh.h"
#include "scene/scene.h"
#include "scene/shader.h"
#include "scene/shader_graph.h"
#include "scene/shader_nodes.h"
#include "scene/stats.h"
#include "scene/svm.h"
#include "kernel/svm/node_types.h"
#include "util/log.h"
#include "util/map.h"
#include "util/math_float3.h"
#include "util/progress.h"
#include "util/queue.h"
#include "util/task.h"
#include "kernel/svm/node_types_template.h"

Go to the source code of this file.

Macros

#define SHADER_NODE_TYPE_DERIVATIVE(name)
#define SHADER_NODE_TYPE(name)

Functions

static ShaderNodeType svm_node_type_with_derivatives (ShaderNodeType type)
static void mark_nodes_requiring_derivatives (const SVMCompiler &compiler, ShaderGraph *graph, const ShaderType type)

Macro Definition Documentation

◆ SHADER_NODE_TYPE

#define SHADER_NODE_TYPE ( name)

◆ SHADER_NODE_TYPE_DERIVATIVE

#define SHADER_NODE_TYPE_DERIVATIVE ( name)
Value:
case name: \
return name##_DERIVATIVE;

Function Documentation

◆ mark_nodes_requiring_derivatives()

void mark_nodes_requiring_derivatives ( const SVMCompiler & compiler,
ShaderGraph * graph,
const ShaderType type )
static

◆ svm_node_type_with_derivatives()

ShaderNodeType svm_node_type_with_derivatives ( ShaderNodeType type)
static