nv2a/vk: Only bind clear fragment shader on partial color clear

This commit is contained in:
Matt Borgerson 2024-07-30 20:32:45 -07:00 committed by mborgerson
parent 76e2b779e3
commit a2b994d80d
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ static void create_clear_pipeline(PGRAPHState *pg)
.module = r->quad_vert_module->module,
.pName = "main",
};
if (clear_any_color_channels) {
if (partial_color_clear) {
shader_stages[num_active_shader_stages++] =
(VkPipelineShaderStageCreateInfo){
.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,