parent
7a0f68e7de
commit
67d5d856ce
@ -1,25 +0,0 @@
|
|||||||
From 72a8c1c547a8f40eb8a84485ab26a01b16f14fcd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Nicolas Chauvet <kwizart@gmail.com>
|
|
||||||
Date: Wed, 3 Oct 2018 12:28:48 +0200
|
|
||||||
Subject: [PATCH 2/2] WAR older shaderc
|
|
||||||
|
|
||||||
---
|
|
||||||
src/spirv_shaderc.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/spirv_shaderc.c b/src/spirv_shaderc.c
|
|
||||||
index c86679a..910d76c 100644
|
|
||||||
--- a/src/spirv_shaderc.c
|
|
||||||
+++ b/src/spirv_shaderc.c
|
|
||||||
@@ -46,7 +46,7 @@ static bool shaderc_init(struct spirv_compiler *spirv)
|
|
||||||
goto error;
|
|
||||||
|
|
||||||
shaderc_compile_options_set_optimization_level(p->opts,
|
|
||||||
- shaderc_optimization_level_performance);
|
|
||||||
+ shaderc_optimization_level_zero);
|
|
||||||
|
|
||||||
int ver, rev;
|
|
||||||
shaderc_get_spv_version(&ver, &rev);
|
|
||||||
--
|
|
||||||
2.17.1
|
|
||||||
|
|
Loading…
Reference in new issue