Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_state.h
| Show All 33 Lines | |||||
| } eGPUWriteMask; | } eGPUWriteMask; | ||||
| ENUM_OPERATORS(eGPUWriteMask, GPU_WRITE_COLOR) | ENUM_OPERATORS(eGPUWriteMask, GPU_WRITE_COLOR) | ||||
| typedef enum eGPUBarrier { | typedef enum eGPUBarrier { | ||||
| GPU_BARRIER_NONE = 0, | GPU_BARRIER_NONE = 0, | ||||
| GPU_BARRIER_SHADER_IMAGE_ACCESS = (1 << 0), | GPU_BARRIER_SHADER_IMAGE_ACCESS = (1 << 0), | ||||
| GPU_BARRIER_TEXTURE_FETCH = (1 << 1), | GPU_BARRIER_TEXTURE_FETCH = (1 << 1), | ||||
| GPU_BARRIER_VERTEX_ATTRIB_ARRAY = (1 << 2), | |||||
| } eGPUBarrier; | } eGPUBarrier; | ||||
| ENUM_OPERATORS(eGPUBarrier, GPU_BARRIER_TEXTURE_FETCH) | ENUM_OPERATORS(eGPUBarrier, GPU_BARRIER_TEXTURE_FETCH) | ||||
| /** | /** | ||||
| * Defines the fixed pipeline blending equation. | * Defines the fixed pipeline blending equation. | ||||
| * SRC is the output color from the shader. | * SRC is the output color from the shader. | ||||
| * DST is the color from the frame-buffer. | * DST is the color from the frame-buffer. | ||||
| ▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines | |||||