aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/glsl/GrGLSLPLSPathRendering.h
blob: 9a1625d43e733ebdc0f7488c72e6de70c0a81e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#define GR_GL_PLS_DSTCOLOR_NAME  "pls.dstColor"
#define GR_GL_PLS_PATH_DATA_DECL "__pixel_localEXT PLSData {\n"\
                                 "    layout(rgba8i) ivec4 windings;\n"\
                                 "    layout(rgba8) vec4 dstColor;\n"\
                                 "} pls;\n"