projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
radv: only enable the GS copy shader stage if GS is enabled
[mesa.git]
/
src
/
amd
/
vulkan
/
radv_pipeline.c
diff --git
a/src/amd/vulkan/radv_pipeline.c
b/src/amd/vulkan/radv_pipeline.c
index 5c97aae39a853d4e14d5ec0d87dc7e63e59e34bf..9b68650fd36bab859edea100ccacb5d69962bf15 100644
(file)
--- a/
src/amd/vulkan/radv_pipeline.c
+++ b/
src/amd/vulkan/radv_pipeline.c
@@
-3884,7
+3884,7
@@
radv_compute_vgt_shader_stages_en(const struct radv_pipeline *pipeline)
if (radv_pipeline_has_ngg(pipeline)) {
stages |= S_028B54_PRIMGEN_EN(1);
- } else {
+ } else
if (radv_pipeline_has_gs(pipeline))
{
stages |= S_028B54_VS_EN(V_028B54_VS_STAGE_COPY_SHADER);
}