Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_shader.h
| Show First 20 Lines • Show All 366 Lines • ▼ Show 20 Lines | |||||
| typedef struct GPUShaderConfigData { | typedef struct GPUShaderConfigData { | ||||
| const char *lib; | const char *lib; | ||||
| const char *def; | const char *def; | ||||
| } GPUShaderConfigData; | } GPUShaderConfigData; | ||||
| /* gpu_shader.c */ | /* gpu_shader.c */ | ||||
| extern const GPUShaderConfigData GPU_shader_cfg_data[GPU_SHADER_CFG_LEN]; | extern const GPUShaderConfigData GPU_shader_cfg_data[GPU_SHADER_CFG_LEN]; | ||||
| /** Keep these in sync with: | /** | ||||
| * Keep these in sync with: | |||||
| * - `gpu_shader_image_interlace_frag.glsl` | * - `gpu_shader_image_interlace_frag.glsl` | ||||
| * - `gpu_shader_image_rect_interlace_frag.glsl` | * - `gpu_shader_image_rect_interlace_frag.glsl` | ||||
| */ | */ | ||||
| typedef enum eGPUInterlaceShader { | typedef enum eGPUInterlaceShader { | ||||
| GPU_SHADER_INTERLACE_ROW = 0, | GPU_SHADER_INTERLACE_ROW = 0, | ||||
| GPU_SHADER_INTERLACE_COLUMN = 1, | GPU_SHADER_INTERLACE_COLUMN = 1, | ||||
| GPU_SHADER_INTERLACE_CHECKER = 2, | GPU_SHADER_INTERLACE_CHECKER = 2, | ||||
| } eGPUInterlaceShader; | } eGPUInterlaceShader; | ||||
| Show All 34 Lines | |||||