Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (revision 35431) |
+++ gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (working copy) |
@@ -1,5 +1,11 @@ |
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
// This file is auto-generated. DO NOT EDIT! |
+#ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_ |
+#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_ |
bool ValidateGLenumBufferParameter(GLenum value) { |
switch (value) { |
@@ -303,8 +309,17 @@ |
} |
} |
-bool ValidateGLenumPixelStoreAlignment(GLenum value) { |
+bool ValidateGLbooleanFalse(GLenum value) { |
switch (value) { |
+ case false: |
+ return true; |
+ default: |
+ return false; |
+ } |
+} |
+ |
+bool ValidateGLintPixelStoreAlignment(GLenum value) { |
+ switch (value) { |
case 1: |
case 2: |
case 4: |
@@ -415,7 +430,7 @@ |
} |
} |
-bool ValidateGLenumVertexAttribSize(GLenum value) { |
+bool ValidateGLintVertexAttribSize(GLenum value) { |
switch (value) { |
case 1: |
case 2: |
@@ -485,3 +500,5 @@ |
} |
} |
+#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_ |
+ |