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

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_autogen.h

Issue 1605323004: Check if internal_format is valid for GenerateMipmap(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_validation_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
index e98aa2cd9d5734b0f04c067201c9753ac0b8eb11..c3a7b39cd4ab1a24e21c288db2c8886159d9a146 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
@@ -346,7 +346,10 @@ class TextureMinFilterModeValidator {
TextureMinFilterModeValidator texture_min_filter_mode;
ValueValidator<GLenum> texture_parameter;
+ValueValidator<GLenum> texture_sized_color_renderable_internal_format;
+ValueValidator<GLenum> texture_sized_texture_filterable_internal_format;
ValueValidator<GLenum> texture_target;
+ValueValidator<GLenum> texture_unsized_internal_format;
class TextureUsageValidator {
public:
bool IsValid(const GLenum value) const;

Powered by Google App Engine
This is Rietveld 408576698