Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-swiftshader: Commit

external/swiftshader


Commit MetaInfo

Revisione8d42ae19d9c8433a728fb1b1382a3ff0258926c (tree)
Time2017-08-15 04:24:44
AuthorRobert Liao <robliao@chro...>
CommiterRobert Liao

Log Message

Remove /RTC1 for Windows Debug Builds

SwiftShader requests the optimized flags for debug buidls for
performance. This leads to an incompatible use of /O1 and /RTC1.

BUG=chromium:755195

Change-Id: I53b6f99a67d0b8d5fc5932b677ee278aca300702
Reviewed-on: https://swiftshader-review.googlesource.com/11594
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Robert Liao <robliao@chromium.org>

Change Summary

Incremental Difference

--- a/BUILD.gn
+++ b/BUILD.gn
@@ -33,9 +33,7 @@ config("swiftshader_config") {
3333 "NO_SANITIZE_FUNCTION=",
3434 ]
3535
36- if (is_debug) {
37- cflags += [ "/RTC1" ] # Run-Time Error Checks
38- } else {
36+ if (!is_debug) {
3937 defines += [ "ANGLE_DISABLE_TRACE" ]
4038 }
4139 } else {
Show on old repository browser