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

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

Issue 2321953002: Use 64-bits shader compile options (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « gpu/command_buffer/service/shader_translator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/shader_translator.cc
diff --git a/gpu/command_buffer/service/shader_translator.cc b/gpu/command_buffer/service/shader_translator.cc
index a81a2d0067856162eeaa1506bd8a338add86a255..d24a90d35b793d2bada56f476431f82172d4897a 100644
--- a/gpu/command_buffer/service/shader_translator.cc
+++ b/gpu/command_buffer/service/shader_translator.cc
@@ -205,7 +205,7 @@ bool ShaderTranslator::Init(GLenum shader_type,
return compiler_ != NULL;
}
-int ShaderTranslator::GetCompileOptions() const {
+ShCompileOptions ShaderTranslator::GetCompileOptions() const {
return compile_options_;
}
@@ -261,7 +261,7 @@ std::string ShaderTranslator::GetStringForOptionsThatWouldAffectCompilation()
const {
DCHECK(compiler_ != NULL);
return std::string(":CompileOptions:" +
- base::IntToString(GetCompileOptions())) +
+ base::Uint64ToString(GetCompileOptions())) +
ShGetBuiltInResourcesString(compiler_);
}
« no previous file with comments | « gpu/command_buffer/service/shader_translator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698