Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: src/gpu/glsl/GrGLSLCaps.h

Issue 2061123003: Store GLSL max samplers using uint32_t rather than uint8_t (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 8
9 #ifndef GrGLSLCaps_DEFINED 9 #ifndef GrGLSLCaps_DEFINED
10 #define GrGLSLCaps_DEFINED 10 #define GrGLSLCaps_DEFINED
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 const char* fSecondaryOutputExtensionString; 207 const char* fSecondaryOutputExtensionString;
208 const char* fExternalTextureExtensionString; 208 const char* fExternalTextureExtensionString;
209 const char* fTexelBufferExtensionString; 209 const char* fTexelBufferExtensionString;
210 const char* fNoPerspectiveInterpolationExtensionString; 210 const char* fNoPerspectiveInterpolationExtensionString;
211 const char* fMultisampleInterpolationExtensionString; 211 const char* fMultisampleInterpolationExtensionString;
212 const char* fSampleVariablesExtensionString; 212 const char* fSampleVariablesExtensionString;
213 213
214 const char* fFBFetchColorName; 214 const char* fFBFetchColorName;
215 const char* fFBFetchExtensionString; 215 const char* fFBFetchExtensionString;
216 216
217 uint8_t fMaxVertexSamplers; 217 uint32_t fMaxVertexSamplers;
218 uint8_t fMaxGeometrySamplers; 218 uint32_t fMaxGeometrySamplers;
219 uint8_t fMaxFragmentSamplers; 219 uint32_t fMaxFragmentSamplers;
220 uint8_t fMaxCombinedSamplers; 220 uint32_t fMaxCombinedSamplers;
221 221
222 AdvBlendEqInteraction fAdvBlendEqInteraction; 222 AdvBlendEqInteraction fAdvBlendEqInteraction;
223 223
224 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; 224 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt];
225 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt]; 225 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt];
226 226
227 uint8_t fSamplerPrecisions[(1 << kGrShaderTypeCount)][kGrPixelConfigCnt]; 227 uint8_t fSamplerPrecisions[(1 << kGrShaderTypeCount)][kGrPixelConfigCnt];
228 228
229 friend class GrGLCaps; // For initialization. 229 friend class GrGLCaps; // For initialization.
230 friend class GrVkCaps; 230 friend class GrVkCaps;
231 231
232 typedef GrShaderCaps INHERITED; 232 typedef GrShaderCaps INHERITED;
233 }; 233 };
234 234
235 #endif 235 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698