projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b9abf
)
radv: don't create dummy fs when compiling compute stage
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 18 Oct 2017 02:58:36 +0000
(13:58 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 18 Oct 2017 11:47:53 +0000
(22:47 +1100)
Fixes: d1c9f30d7ff7 "radv: add radv_create_shaders() helper"
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_pipeline.c
b/src/amd/vulkan/radv_pipeline.c
index 559862678e7e225ac1f729053a2d7971e5b607cc..0b95d008c07d0551b3ab9f2dfab85088781ce385 100644
(file)
--- a/
src/amd/vulkan/radv_pipeline.c
+++ b/
src/amd/vulkan/radv_pipeline.c
@@
-1600,7
+1600,7
@@
void radv_create_shaders(struct radv_pipeline *pipeline,
(!modules[MESA_SHADER_GEOMETRY] || pipeline->gs_copy_shader))
return;
- if (!modules[MESA_SHADER_FRAGMENT]) {
+ if (!modules[MESA_SHADER_FRAGMENT]
&& !modules[MESA_SHADER_COMPUTE]
) {
nir_builder fs_b;
nir_builder_init_simple_shader(&fs_b, NULL, MESA_SHADER_FRAGMENT, NULL);
fs_b.shader->info.name = ralloc_strdup(fs_b.shader, "noop_fs");