LLVM API Documentation

Defines | Typedefs | Enumerations
cl_common_defines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CLK_LOCAL_MEM_FENCE   (1 << 0)
#define CLK_GLOBAL_MEM_FENCE   (1 << 1)

Typedefs

typedef enum clk_channel_type clk_channel_type
typedef enum clk_sampler_type clk_sampler_type

Enumerations

enum  {
  CLK_R = 0x10B0, CLK_A = 0x10B1, CLK_RG = 0x10B2, CLK_RA = 0x10B3,
  CLK_RGB = 0x10B4, CLK_RGBA = 0x10B5, CLK_BGRA = 0x10B6, CLK_ARGB = 0x10B7,
  CLK_xRGB = 0x10B7, CLK_INTENSITY = 0x10B8, CLK_LUMINANCE = 0x10B9, CLK_Rx = 0x10BA,
  CLK_RGx = 0x10BB, CLK_RGBx = 0x10BC
}
enum  clk_channel_type {
  CLK_SNORM_INT8 = 0x10D0, CLK_SNORM_INT16 = 0x10D1, CLK_UNORM_INT8 = 0x10D2, CLK_UNORM_INT16 = 0x10D3,
  CLK_HALF_FLOAT = 0x10DD, CLK_FLOAT = 0x10DE, CLK_UNORM_SHORT_565 = 0x10D4, CLK_UNORM_SHORT_555 = 0x10D5,
  CLK_UNORM_INT_101010 = 0x10D6, CLK_SIGNED_INT8 = 0x10D7, CLK_SIGNED_INT16 = 0x10D8, CLK_SIGNED_INT32 = 0x10D9,
  CLK_UNSIGNED_INT8 = 0x10DA, CLK_UNSIGNED_INT16 = 0x10DB, CLK_UNSIGNED_INT32 = 0x10DC, __CLK_UNORM_INT8888,
  __CLK_UNORM_INT8888R, __CLK_VALID_IMAGE_TYPE_COUNT, __CLK_INVALID_IMAGE_TYPE = __CLK_VALID_IMAGE_TYPE_COUNT, __CLK_VALID_IMAGE_TYPE_MASK_BITS = 4,
  __CLK_VALID_IMAGE_TYPE_MASK = (1 << __CLK_VALID_IMAGE_TYPE_MASK_BITS) - 1
}
enum  clk_sampler_type {
  __CLK_ADDRESS_BASE = 0, CLK_ADDRESS_NONE = 0 << __CLK_ADDRESS_BASE, CLK_ADDRESS_CLAMP = 1 << __CLK_ADDRESS_BASE, CLK_ADDRESS_CLAMP_TO_EDGE = 2 << __CLK_ADDRESS_BASE,
  CLK_ADDRESS_REPEAT = 3 << __CLK_ADDRESS_BASE, CLK_ADDRESS_MIRROR = 4 << __CLK_ADDRESS_BASE, CLK_ADDRESS_MIRRORED_REPEAT = CLK_ADDRESS_MIRROR, __CLK_ADDRESS_MASK,
  __CLK_ADDRESS_BITS = 3, __CLK_NORMALIZED_BASE = __CLK_ADDRESS_BITS, CLK_NORMALIZED_COORDS_FALSE = 0, CLK_NORMALIZED_COORDS_TRUE = 1 << __CLK_NORMALIZED_BASE,
  __CLK_NORMALIZED_MASK, __CLK_NORMALIZED_BITS = 1, __CLK_FILTER_BASE = __CLK_NORMALIZED_BASE + __CLK_NORMALIZED_BITS, CLK_FILTER_NEAREST = 0 << __CLK_FILTER_BASE,
  CLK_FILTER_LINEAR = 1 << __CLK_FILTER_BASE, CLK_FILTER_ANISOTROPIC = 2 << __CLK_FILTER_BASE, __CLK_FILTER_MASK, __CLK_FILTER_BITS = 2,
  __CLK_MIP_BASE = __CLK_FILTER_BASE + __CLK_FILTER_BITS, CLK_MIP_NEAREST = 0 << __CLK_MIP_BASE, CLK_MIP_LINEAR = 1 << __CLK_MIP_BASE, CLK_MIP_ANISOTROPIC = 2 << __CLK_MIP_BASE,
  __CLK_MIP_MASK = CLK_MIP_NEAREST | CLK_MIP_LINEAR | CLK_MIP_ANISOTROPIC, __CLK_MIP_BITS = 2, __CLK_SAMPLER_BITS = __CLK_MIP_BASE + __CLK_MIP_BITS, __CLK_SAMPLER_MASK,
  __CLK_ANISOTROPIC_RATIO_BITS = 5, __CLK_ANISOTROPIC_RATIO_MASK
}

Define Documentation

#define CLK_GLOBAL_MEM_FENCE   (1 << 1)

Definition at line 120 of file cl_common_defines.h.

#define CLK_LOCAL_MEM_FENCE   (1 << 0)

Definition at line 119 of file cl_common_defines.h.


Typedef Documentation


Enumeration Type Documentation

anonymous enum
Enumerator:
CLK_R 
CLK_A 
CLK_RG 
CLK_RA 
CLK_RGB 
CLK_RGBA 
CLK_BGRA 
CLK_ARGB 
CLK_xRGB 
CLK_INTENSITY 
CLK_LUMINANCE 
CLK_Rx 
CLK_RGx 
CLK_RGBx 

Definition at line 9 of file cl_common_defines.h.

Enumerator:
CLK_SNORM_INT8 
CLK_SNORM_INT16 
CLK_UNORM_INT8 
CLK_UNORM_INT16 
CLK_HALF_FLOAT 
CLK_FLOAT 
CLK_UNORM_SHORT_565 
CLK_UNORM_SHORT_555 
CLK_UNORM_INT_101010 
CLK_SIGNED_INT8 
CLK_SIGNED_INT16 
CLK_SIGNED_INT32 
CLK_UNSIGNED_INT8 
CLK_UNSIGNED_INT16 
CLK_UNSIGNED_INT32 
__CLK_UNORM_INT8888 
__CLK_UNORM_INT8888R 
__CLK_VALID_IMAGE_TYPE_COUNT 
__CLK_INVALID_IMAGE_TYPE 
__CLK_VALID_IMAGE_TYPE_MASK_BITS 
__CLK_VALID_IMAGE_TYPE_MASK 

Definition at line 34 of file cl_common_defines.h.

Enumerator:
__CLK_ADDRESS_BASE 
CLK_ADDRESS_NONE 
CLK_ADDRESS_CLAMP 
CLK_ADDRESS_CLAMP_TO_EDGE 
CLK_ADDRESS_REPEAT 
CLK_ADDRESS_MIRROR 
CLK_ADDRESS_MIRRORED_REPEAT 
__CLK_ADDRESS_MASK 
__CLK_ADDRESS_BITS 
__CLK_NORMALIZED_BASE 
CLK_NORMALIZED_COORDS_FALSE 
CLK_NORMALIZED_COORDS_TRUE 
__CLK_NORMALIZED_MASK 
__CLK_NORMALIZED_BITS 
__CLK_FILTER_BASE 
CLK_FILTER_NEAREST 
CLK_FILTER_LINEAR 
CLK_FILTER_ANISOTROPIC 
__CLK_FILTER_MASK 
__CLK_FILTER_BITS 
__CLK_MIP_BASE 
CLK_MIP_NEAREST 
CLK_MIP_LINEAR 
CLK_MIP_ANISOTROPIC 
__CLK_MIP_MASK 
__CLK_MIP_BITS 
__CLK_SAMPLER_BITS 
__CLK_SAMPLER_MASK 
__CLK_ANISOTROPIC_RATIO_BITS 
__CLK_ANISOTROPIC_RATIO_MASK 

Definition at line 68 of file cl_common_defines.h.