projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760c4b8
)
anv/pipeline: Use separate-shader
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 23 Oct 2015 17:53:00 +0000
(10:53 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 23 Oct 2015 17:53:00 +0000
(10:53 -0700)
src/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_pipeline.c
b/src/vulkan/anv_pipeline.c
index da492d9ee7ab8a67cd8f374105763cc9df3b83d6..c6d2395cdc45e25b6576b60c52abb1456d41cd93 100644
(file)
--- a/
src/vulkan/anv_pipeline.c
+++ b/
src/vulkan/anv_pipeline.c
@@
-170,6
+170,9
@@
anv_shader_compile_to_nir(struct anv_device *device,
}
nir_validate_shader(nir);
+ /* Vulkan uses the separate-shader linking model */
+ nir->info.separate_shader = true;
+
/* Make sure the provided shader has exactly one entrypoint and that the
* name matches the name that came in from the VkShader.
*/