8#ifndef skgpu_graphite_DrawTypes_DEFINED
9#define skgpu_graphite_DrawTypes_DEFINED
82 return 2 *
sizeof(
float);
84 return 3 *
sizeof(
float);
86 return 4 *
sizeof(
float);
88 return sizeof(uint16_t);
90 return 2 *
sizeof(uint16_t);
92 return 4 *
sizeof(uint16_t);
94 return 2 *
sizeof(int32_t);
96 return 3 *
sizeof(int32_t);
98 return 4 *
sizeof(int32_t);
100 return 1 *
sizeof(char);
102 return 2 *
sizeof(char);
104 return 4 *
sizeof(char);
106 return 1 *
sizeof(char);
108 return 2 *
sizeof(char);
110 return 4 *
sizeof(char);
112 return 1 *
sizeof(char);
114 return 4 *
sizeof(char);
116 return 2 *
sizeof(int16_t);
118 return 4 *
sizeof(int16_t);
121 return 2 *
sizeof(uint16_t);
123 return sizeof(int32_t);
125 return sizeof(uint32_t);
127 return sizeof(uint16_t);
129 return 4 *
sizeof(uint16_t);
static constexpr int kCompareOpCount
static constexpr size_t VertexAttribTypeSize(VertexAttribType type)
static constexpr int kStencilOpCount
static const int kVertexAttribTypeCount
int compare(const void *untyped_lhs, const void *untyped_rhs)
constexpr Face(StencilOp stencilFail, StencilOp depthFail, StencilOp dsPass, CompareOp compare, uint32_t readMask, uint32_t writeMask)
constexpr bool operator==(const Face &that) const
StencilOp fDepthStencilPassOp
uint32_t fStencilReferenceValue
constexpr bool operator==(const DepthStencilSettings &that) const
constexpr DepthStencilSettings(Face front, Face back, uint32_t stencilRef, bool stencilTest, CompareOp depthCompare, bool depthTest, bool depthWrite)
CompareOp fDepthCompareOp
constexpr DepthStencilSettings()=default