#define ENUM_OPERATORS(_type, _max)
void GPU_program_point_size(bool enable)
GPUStencilTest GPU_stencil_test_get()
@ GPU_BARRIER_SHADER_STORAGE
@ GPU_BARRIER_TEXTURE_FETCH
@ GPU_BARRIER_BUFFER_UPDATE
@ GPU_BARRIER_ELEMENT_ARRAY
@ GPU_BARRIER_SHADER_IMAGE_ACCESS
@ GPU_BARRIER_VERTEX_ATTRIB_ARRAY
@ GPU_BARRIER_TEXTURE_UPDATE
@ GPU_BARRIER_FRAMEBUFFER
@ GPU_BARRIER_STAGE_COMPUTE
@ GPU_BARRIER_STAGE_FRAGMENT
@ GPU_BARRIER_STAGE_VERTEX
@ GPU_BARRIER_STAGE_ANY_GRAPHICS
void GPU_scissor_test(bool enable)
@ GPU_DEPTH_GREATER_EQUAL
bool GPU_line_smooth_get()
void GPU_line_width(float width)
void GPU_provoking_vertex(GPUProvokingVertex vert)
void GPU_line_smooth(bool enable)
@ GPU_BLEND_ADDITIVE_PREMULT
@ GPU_BLEND_ALPHA_UNDER_PREMUL
@ GPU_BLEND_ALPHA_PREMULT
@ GPU_BLEND_OVERLAY_MASK_FROM_ALPHA
void GPU_logic_op_xor_set(bool enable)
void GPU_depth_mask(bool depth)
void GPU_face_culling(GPUFaceCullTest culling)
void GPU_blend(GPUBlend blend)
void GPU_stencil_write_mask_set(uint write_mask)
void GPU_depth_test(GPUDepthTest test)
void GPU_stencil_test(GPUStencilTest test)
bool GPU_mipmap_enabled()
void GPU_color_mask(bool r, bool g, bool b, bool a)
GPUFence * GPU_fence_create()
void GPU_depth_range(float near, float far)
void GPU_viewport_size_get_i(int coords[4])
void GPU_state_set(GPUWriteMask write_mask, GPUBlend blend, GPUFaceCullTest culling_test, GPUDepthTest depth_test, GPUStencilTest stencil_test, GPUStencilOp stencil_op, GPUProvokingVertex provoking_vert)
void GPU_stencil_reference_set(uint reference)
void GPU_scissor(int x, int y, int width, int height)
GPUDepthTest GPU_depth_test_get()
float GPU_line_width_get()
void GPU_stencil_compare_mask_set(uint compare_mask)
GPUFaceCullTest GPU_face_culling_get()
void GPU_memory_barrier(GPUBarrier barrier)
void GPU_front_facing(bool invert)
void GPU_viewport(int x, int y, int width, int height)
void GPU_fence_wait(GPUFence *fence)
void GPU_point_size(float size)
void GPU_write_mask(GPUWriteMask mask)
GPUWriteMask GPU_write_mask_get()
uint GPU_stencil_mask_get()
void GPU_fence_signal(GPUFence *fence)
void GPU_viewport_size_get_f(float coords[4])
bool GPU_depth_mask_get()
void GPU_clip_control_unit_range(bool enable)
@ GPU_STENCIL_OP_COUNT_DEPTH_FAIL
@ GPU_STENCIL_OP_COUNT_DEPTH_PASS
void GPU_scissor_get(int coords[4])
void GPU_clip_distances(int distances_enabled)
void GPU_fence_free(GPUFence *fence)
void GPU_polygon_smooth(bool enable)
void GPU_shadow_offset(bool enable)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
CCL_NAMESPACE_BEGIN ccl_device float invert(const float color, const float factor)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
static int blend(const Tex *tex, const float texvec[3], TexResult *texres)