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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 189133004: WebGL TexParameterf and GetTexParameterf needs to handle float param correctly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/build_gles2_cmd_buffer.py
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 0acd6a3ddca53b31de1074b159be6f8b6487b3d9..5437bdbd49336f2f1493f9816f78fac2870295ac 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -2029,7 +2029,6 @@ _FUNCTION_INFO = {
},
'TexParameterf': {
'decoder_func': 'DoTexParameterf',
- 'gl_test_func': 'glTexParameteri',
'valid_args': {
'2': 'GL_NEAREST'
},
@@ -2046,7 +2045,7 @@ _FUNCTION_INFO = {
'data_value': 'GL_NEAREST',
'count': 1,
'decoder_func': 'DoTexParameterfv',
- 'gl_test_func': 'glTexParameteri',
+ 'gl_test_func': 'glTexParameterf',
'first_element_only': True,
},
'TexParameteriv': {

Powered by Google App Engine
This is Rietveld 408576698