[gtk+/wip/otte/shader: 35/98] 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: 35/98] gskspv: Claim to support the same source extensions as glslc
- Date: Mon, 23 Oct 2017 03:12:57 +0000 (UTC)
commit fe7bb988a4c472a9bfdf2e6d33606d565746819d
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 b698ef7..bd0d510 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]