parent
8fe8f702a7
commit
7a0f68e7de
@ -0,0 +1,25 @@
|
||||
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
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue