Blender V4.5
GPU_pass.hh File Reference
#include "GPU_material.hh"
#include "GPU_shader.hh"

Go to the source code of this file.

Enumerations

enum  eGPUPassStatus { GPU_PASS_FAILED = 0 , GPU_PASS_QUEUED , GPU_PASS_SUCCESS }

Functions

GPUPassGPU_generate_pass (GPUMaterial *material, GPUNodeGraph *graph, const char *debug_name, eGPUMaterialEngine engine, bool deferred_compilation, GPUCodegenCallbackFn finalize_source_cb, void *thunk, bool optimize_graph)
eGPUPassStatus GPU_pass_status (GPUPass *pass)
bool GPU_pass_should_optimize (GPUPass *pass)
void GPU_pass_ensure_its_ready (GPUPass *pass)
GPUShader * GPU_pass_shader_get (GPUPass *pass)
void GPU_pass_acquire (GPUPass *pass)
void GPU_pass_release (GPUPass *pass)
uint64_t GPU_pass_global_compilation_count ()
uint64_t GPU_pass_compilation_timestamp (GPUPass *pass)
void GPU_pass_cache_init ()
void GPU_pass_cache_update ()
void GPU_pass_cache_wait_for_all ()
void GPU_pass_cache_free ()

Detailed Description

Generate and cache shaders generated from the intermediate node graph.

Definition in file GPU_pass.hh.

Enumeration Type Documentation

◆ eGPUPassStatus

Enumerator
GPU_PASS_FAILED 
GPU_PASS_QUEUED 
GPU_PASS_SUCCESS 

Definition at line 20 of file GPU_pass.hh.

Function Documentation

◆ GPU_generate_pass()

◆ GPU_pass_acquire()

void GPU_pass_acquire ( GPUPass * pass)

◆ GPU_pass_cache_free()

void GPU_pass_cache_free ( )

Definition at line 337 of file gpu_pass.cc.

References g_cache, and GPU_pass_cache_free().

Referenced by GPU_exit(), and GPU_pass_cache_free().

◆ GPU_pass_cache_init()

void GPU_pass_cache_init ( )

Definition at line 321 of file gpu_pass.cc.

References g_cache, and GPU_pass_cache_init().

Referenced by GPU_init(), and GPU_pass_cache_init().

◆ GPU_pass_cache_update()

void GPU_pass_cache_update ( )

Definition at line 326 of file gpu_pass.cc.

References g_cache, GPU_pass_cache_update(), and GPUPassCache::update().

Referenced by GPU_pass_cache_update(), and GPU_render_step().

◆ GPU_pass_cache_wait_for_all()

◆ GPU_pass_compilation_timestamp()

uint64_t GPU_pass_compilation_timestamp ( GPUPass * pass)

◆ GPU_pass_ensure_its_ready()

◆ GPU_pass_global_compilation_count()

uint64_t GPU_pass_global_compilation_count ( )

◆ GPU_pass_release()

void GPU_pass_release ( GPUPass * pass)

◆ GPU_pass_shader_get()

◆ GPU_pass_should_optimize()

◆ GPU_pass_status()

eGPUPassStatus GPU_pass_status ( GPUPass * pass)