OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SKSL_CONTEXT | 8 #ifndef SKSL_CONTEXT |
9 #define SKSL_CONTEXT | 9 #define SKSL_CONTEXT |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 , fDMat2x4_Type(new Type("dmat2x4", *fFloat_Type, 2, 4)) | 53 , fDMat2x4_Type(new Type("dmat2x4", *fFloat_Type, 2, 4)) |
54 , fDMat3x2_Type(new Type("dmat3x2", *fFloat_Type, 3, 2)) | 54 , fDMat3x2_Type(new Type("dmat3x2", *fFloat_Type, 3, 2)) |
55 , fDMat3x3_Type(new Type("dmat3", *fFloat_Type, 3, 3)) | 55 , fDMat3x3_Type(new Type("dmat3", *fFloat_Type, 3, 3)) |
56 , fDMat3x4_Type(new Type("dmat3x4", *fFloat_Type, 3, 4)) | 56 , fDMat3x4_Type(new Type("dmat3x4", *fFloat_Type, 3, 4)) |
57 , fDMat4x2_Type(new Type("dmat4x2", *fFloat_Type, 4, 2)) | 57 , fDMat4x2_Type(new Type("dmat4x2", *fFloat_Type, 4, 2)) |
58 , fDMat4x3_Type(new Type("dmat4x3", *fFloat_Type, 4, 3)) | 58 , fDMat4x3_Type(new Type("dmat4x3", *fFloat_Type, 4, 3)) |
59 , fDMat4x4_Type(new Type("dmat4", *fFloat_Type, 4, 4)) | 59 , fDMat4x4_Type(new Type("dmat4", *fFloat_Type, 4, 4)) |
60 , fSampler1D_Type(new Type("sampler1D", SpvDim1D, false, false, false, true)
) | 60 , fSampler1D_Type(new Type("sampler1D", SpvDim1D, false, false, false, true)
) |
61 , fSampler2D_Type(new Type("sampler2D", SpvDim2D, false, false, false, true)
) | 61 , fSampler2D_Type(new Type("sampler2D", SpvDim2D, false, false, false, true)
) |
62 , fSampler3D_Type(new Type("sampler3D", SpvDim3D, false, false, false, true)
) | 62 , fSampler3D_Type(new Type("sampler3D", SpvDim3D, false, false, false, true)
) |
| 63 , fSamplerExternalOES_Type(new Type("samplerExternalOES", SpvDim2D, false, f
alse, false, true)) |
63 , fSamplerCube_Type(new Type("samplerCube")) | 64 , fSamplerCube_Type(new Type("samplerCube")) |
64 , fSampler2DRect_Type(new Type("sampler2DRect")) | 65 , fSampler2DRect_Type(new Type("sampler2DRect")) |
65 , fSampler1DArray_Type(new Type("sampler1DArray")) | 66 , fSampler1DArray_Type(new Type("sampler1DArray")) |
66 , fSampler2DArray_Type(new Type("sampler2DArray")) | 67 , fSampler2DArray_Type(new Type("sampler2DArray")) |
67 , fSamplerCubeArray_Type(new Type("samplerCubeArray")) | 68 , fSamplerCubeArray_Type(new Type("samplerCubeArray")) |
68 , fSamplerBuffer_Type(new Type("samplerBuffer")) | 69 , fSamplerBuffer_Type(new Type("samplerBuffer")) |
69 , fSampler2DMS_Type(new Type("sampler2DMS")) | 70 , fSampler2DMS_Type(new Type("sampler2DMS")) |
70 , fSampler2DMSArray_Type(new Type("sampler2DMSArray")) | 71 , fSampler2DMSArray_Type(new Type("sampler2DMSArray")) |
71 , fSampler1DShadow_Type(new Type("sampler1DShadow")) | 72 , fSampler1DShadow_Type(new Type("sampler1DShadow")) |
72 , fSampler2DShadow_Type(new Type("sampler2DShadow")) | 73 , fSampler2DShadow_Type(new Type("sampler2DShadow")) |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 const std::unique_ptr<Type> fDMat3x2_Type; | 163 const std::unique_ptr<Type> fDMat3x2_Type; |
163 const std::unique_ptr<Type> fDMat3x3_Type; | 164 const std::unique_ptr<Type> fDMat3x3_Type; |
164 const std::unique_ptr<Type> fDMat3x4_Type; | 165 const std::unique_ptr<Type> fDMat3x4_Type; |
165 const std::unique_ptr<Type> fDMat4x2_Type; | 166 const std::unique_ptr<Type> fDMat4x2_Type; |
166 const std::unique_ptr<Type> fDMat4x3_Type; | 167 const std::unique_ptr<Type> fDMat4x3_Type; |
167 const std::unique_ptr<Type> fDMat4x4_Type; | 168 const std::unique_ptr<Type> fDMat4x4_Type; |
168 | 169 |
169 const std::unique_ptr<Type> fSampler1D_Type; | 170 const std::unique_ptr<Type> fSampler1D_Type; |
170 const std::unique_ptr<Type> fSampler2D_Type; | 171 const std::unique_ptr<Type> fSampler2D_Type; |
171 const std::unique_ptr<Type> fSampler3D_Type; | 172 const std::unique_ptr<Type> fSampler3D_Type; |
| 173 const std::unique_ptr<Type> fSamplerExternalOES_Type; |
172 const std::unique_ptr<Type> fSamplerCube_Type; | 174 const std::unique_ptr<Type> fSamplerCube_Type; |
173 const std::unique_ptr<Type> fSampler2DRect_Type; | 175 const std::unique_ptr<Type> fSampler2DRect_Type; |
174 const std::unique_ptr<Type> fSampler1DArray_Type; | 176 const std::unique_ptr<Type> fSampler1DArray_Type; |
175 const std::unique_ptr<Type> fSampler2DArray_Type; | 177 const std::unique_ptr<Type> fSampler2DArray_Type; |
176 const std::unique_ptr<Type> fSamplerCubeArray_Type; | 178 const std::unique_ptr<Type> fSamplerCubeArray_Type; |
177 const std::unique_ptr<Type> fSamplerBuffer_Type; | 179 const std::unique_ptr<Type> fSamplerBuffer_Type; |
178 const std::unique_ptr<Type> fSampler2DMS_Type; | 180 const std::unique_ptr<Type> fSampler2DMS_Type; |
179 const std::unique_ptr<Type> fSampler2DMSArray_Type; | 181 const std::unique_ptr<Type> fSampler2DMSArray_Type; |
180 const std::unique_ptr<Type> fSampler1DShadow_Type; | 182 const std::unique_ptr<Type> fSampler1DShadow_Type; |
181 const std::unique_ptr<Type> fSampler2DShadow_Type; | 183 const std::unique_ptr<Type> fSampler2DShadow_Type; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 const std::unique_ptr<Type> fUVec_Type; | 220 const std::unique_ptr<Type> fUVec_Type; |
219 | 221 |
220 const std::unique_ptr<Type> fBVec_Type; | 222 const std::unique_ptr<Type> fBVec_Type; |
221 | 223 |
222 const std::unique_ptr<Type> fInvalid_Type; | 224 const std::unique_ptr<Type> fInvalid_Type; |
223 }; | 225 }; |
224 | 226 |
225 } // namespace | 227 } // namespace |
226 | 228 |
227 #endif | 229 #endif |
OLD | NEW |