Lines Matching refs:gTable
175 static const VkStencilOp gTable[] = { in stencil_op_to_vk_stencil_op() local
185 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrStencilOpCount); in stencil_op_to_vk_stencil_op()
195 return gTable[(int)op]; in stencil_op_to_vk_stencil_op()
199 static const VkCompareOp gTable[] = { in stencil_func_to_vk_compare_op() local
209 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrStencilTestCount); in stencil_func_to_vk_compare_op()
220 return gTable[(int)test]; in stencil_func_to_vk_compare_op()
298 static const VkBlendFactor gTable[] = { in blend_coeff_to_vk_blend() local
319 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrBlendCoeffCnt); in blend_coeff_to_vk_blend()
340 return gTable[coeff]; in blend_coeff_to_vk_blend()
345 static const VkBlendOp gTable[] = { in blend_equation_to_vk_blend_op() local
389 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrBlendEquationCnt); in blend_equation_to_vk_blend_op()
392 return gTable[equation]; in blend_equation_to_vk_blend_op()