Lines Matching refs:gTable
102 static const VkStencilOp gTable[] = { in stencil_op_to_vk_stencil_op() local
112 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kStencilOpCount); in stencil_op_to_vk_stencil_op()
122 return gTable[op]; in stencil_op_to_vk_stencil_op()
126 static const VkCompareOp gTable[] = { in stencil_func_to_vk_compare_op() local
136 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kBasicStencilFuncCount); in stencil_func_to_vk_compare_op()
147 return gTable[basicFunc]; in stencil_func_to_vk_compare_op()
257 static const VkBlendFactor gTable[] = { in blend_coeff_to_vk_blend() local
278 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrBlendCoeffCnt); in blend_coeff_to_vk_blend()
299 return gTable[coeff]; in blend_coeff_to_vk_blend()
304 static const VkBlendOp gTable[] = { in blend_equation_to_vk_blend_op() local
309 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kFirstAdvancedGrBlendEquation); in blend_equation_to_vk_blend_op()
315 return gTable[equation]; in blend_equation_to_vk_blend_op()
386 static const VkCullModeFlags gTable[] = { in draw_face_to_vk_cull_mode() local
396 return gTable[drawFace]; in draw_face_to_vk_cull_mode()