Change routine names to be strings of char
Routine names were passed as wide strings for the integration with
CodeAnalyst, which no longer exists.
- Rip out the remnants of the CodeAnalyst support
- Change Reactor interface to take routine names as const char *
Bug: b/123193048
Change-Id: I919ce3a55c59c3a08057f85cac994fbffad37614
Reviewed-on: https://swiftshader-review.googlesource.com/c/23908
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Chris Forbes <chrisforbes@google.com>
diff --git a/src/Renderer/PixelProcessor.cpp b/src/Renderer/PixelProcessor.cpp
index a1cafde..1a158a7 100644
--- a/src/Renderer/PixelProcessor.cpp
+++ b/src/Renderer/PixelProcessor.cpp
@@ -1201,7 +1201,7 @@
}
generator->generate();
- routine = (*generator)(L"PixelRoutine_%0.8X", state.shaderID);
+ routine = (*generator)("PixelRoutine_%0.8X", state.shaderID);
delete generator;
routineCache->add(state, routine);