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

Unified Diff: gpu/command_buffer/service/program_manager.cc

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/program_manager.cc
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
index d866504c5e950120760bd2d5707d8bd764a8aa29..1f6b2d49fc95933ade0c24e9c6dc0506d1a1e177 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -562,12 +562,12 @@ bool Program::Link(ShaderManager* manager,
bool link = true;
ProgramCache* cache = manager_->program_cache_;
if (cache) {
- DCHECK(!attached_shaders_[0]->signature_source().empty() &&
- !attached_shaders_[1]->signature_source().empty());
+ DCHECK(!attached_shaders_[0]->last_compiled_source().empty() &&
+ !attached_shaders_[1]->last_compiled_source().empty());
ProgramCache::LinkedProgramStatus status = cache->GetLinkedProgramStatus(
- attached_shaders_[0]->signature_source(),
+ attached_shaders_[0]->last_compiled_source(),
vertex_translator,
- attached_shaders_[1]->signature_source(),
+ attached_shaders_[1]->last_compiled_source(),
fragment_translator,
&bind_attrib_location_map_);
« no previous file with comments | « gpu/command_buffer/service/memory_program_cache_unittest.cc ('k') | gpu/command_buffer/service/shader_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698