[gtk+/wip/otte/shader: 42/71] gskspv: Claim to support the same source extensions as glslc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/shader: 42/71] gskspv: Claim to support the same source extensions as glslc
- Date: Thu, 12 Oct 2017 23:42:18 +0000 (UTC)
commit 0fba807f9fc73bf4d4f555921192f830b550cfb9
Author: Benjamin Otte <otte redhat com>
Date: Sat Oct 7 23:16:26 2017 +0200
gskspv: Claim to support the same source extensions as glslc
Makes it easier to compare disassembler output and hurts nobody.
gsk/gskspvwriter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskspvwriter.c b/gsk/gskspvwriter.c
index 8edce41..8c10737 100644
--- a/gsk/gskspvwriter.c
+++ b/gsk/gskspvwriter.c
@@ -181,6 +181,8 @@ gsk_spv_writer_do_write (GskSpvWriter *writer,
440,
0,
NULL);
+ gsk_spv_writer_source_extension (writer, "GL_GOOGLE_cpp_style_line_directive");
+ gsk_spv_writer_source_extension (writer, "GL_GOOGLE_include_directive");
gsk_spv_writer_memory_model (writer,
GSK_SPV_ADDRESSING_MODEL_LOGICAL,
GSK_SPV_MEMORY_MODEL_GLSL450);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]