[gtk+/wip/otte/shader: 42/52] 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/52] gskspv: Claim to support the same source extensions as glslc
- Date: Mon, 9 Oct 2017 16:55:36 +0000 (UTC)
commit 36af3e1bd42a8f27a77ff8ee9b48e46e17374a6c
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 0bb4c0b..c1cb7ac 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]