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

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

Issue 2371923002: Clamp Vulkan caps to INT_MAX (Closed)
Patch Set: Created 4 years, 2 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 | src/gpu/vk/GrVkCaps.cpp » ('j') | 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 const char* fSecondaryOutputExtensionString; 210 const char* fSecondaryOutputExtensionString;
211 const char* fExternalTextureExtensionString; 211 const char* fExternalTextureExtensionString;
212 const char* fTexelBufferExtensionString; 212 const char* fTexelBufferExtensionString;
213 const char* fNoPerspectiveInterpolationExtensionString; 213 const char* fNoPerspectiveInterpolationExtensionString;
214 const char* fMultisampleInterpolationExtensionString; 214 const char* fMultisampleInterpolationExtensionString;
215 const char* fSampleVariablesExtensionString; 215 const char* fSampleVariablesExtensionString;
216 216
217 const char* fFBFetchColorName; 217 const char* fFBFetchColorName;
218 const char* fFBFetchExtensionString; 218 const char* fFBFetchExtensionString;
219 219
220 uint32_t fMaxVertexSamplers; 220 int fMaxVertexSamplers;
221 uint32_t fMaxGeometrySamplers; 221 int fMaxGeometrySamplers;
222 uint32_t fMaxFragmentSamplers; 222 int fMaxFragmentSamplers;
223 uint32_t fMaxCombinedSamplers; 223 int fMaxCombinedSamplers;
224 224
225 AdvBlendEqInteraction fAdvBlendEqInteraction; 225 AdvBlendEqInteraction fAdvBlendEqInteraction;
226 226
227 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; 227 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt];
228 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt]; 228 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt];
229 229
230 uint8_t fSamplerPrecisions[(1 << kGrShaderTypeCount)][kGrPixelConfigCnt]; 230 uint8_t fSamplerPrecisions[(1 << kGrShaderTypeCount)][kGrPixelConfigCnt];
231 231
232 friend class GrGLCaps; // For initialization. 232 friend class GrGLCaps; // For initialization.
233 friend class GrVkCaps; 233 friend class GrVkCaps;
234 234
235 typedef GrShaderCaps INHERITED; 235 typedef GrShaderCaps INHERITED;
236 }; 236 };
237 237
238 #endif 238 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/vk/GrVkCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698