From d11b4c3c75d9d742490d53cc33b3f1b3fcd7c9e9 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Sat, 5 Sep 2020 08:17:12 +0100 Subject: [PATCH] Updated to use cpp raw literal strings --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e6f19a0e..7999fc4d5 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,8 @@ int main() { auto tensorA = std::make_shared(kp::Tensor({ 0, 1, 2 })); auto tensorRhs = std::make_shared(kp::Tensor({ 2, 4, 6 })); - // Define your shader as a string, or directly pass the compiled bytes + // Define your shader as a string (using string literals for simplicity) + // Or pass the raw bytes of the compiled shader as uint32_t std::string shader(R"( #version 450