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

Unified Diff: cc/output/shader.cc

Issue 1419393005: command_buffer: Make inactive bound uniforms reserve the location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a cc bug exposed by the implementation Created 5 years, 1 month 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
« no previous file with comments | « no previous file | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_bind_uniform_location.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/shader.cc
diff --git a/cc/output/shader.cc b/cc/output/shader.cc
index f356c7c8f8ab30036f31737b4170b0c85a4b74ba..de1ddd4d0a6226060adf5cc4789eb6842bc005e0 100644
--- a/cc/output/shader.cc
+++ b/cc/output/shader.cc
@@ -2105,15 +2105,8 @@ void FragmentShaderYUVAVideo::Init(GLES2Interface* context,
unsigned program,
int* base_uniform_index) {
static const char* uniforms[] = {
- "y_texture",
- "u_texture",
- "v_texture",
- "a_texture",
- "alpha",
- "cc_matrix",
enne (OOO) 2015/11/20 18:26:15 Oops!
- "yuv_adj",
- "ya_clamp_rect",
- "uv_clamp_rect",
+ "y_texture", "u_texture", "v_texture", "a_texture", "alpha",
+ "yuv_matrix", "yuv_adj", "ya_clamp_rect", "uv_clamp_rect",
};
int locations[arraysize(uniforms)];
« no previous file with comments | « no previous file | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_bind_uniform_location.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698