[GPU] Remove implicit bool cast in memexport checks

This commit is contained in:
Triang3l
2023-05-05 21:38:45 +03:00
parent 0e81293b02
commit ed64e3072b
2 changed files with 3 additions and 3 deletions

View File

@@ -2175,7 +2175,7 @@ bool VulkanCommandProcessor::IssueDraw(xenos::PrimitiveType prim_type,
return false;
}
pipeline_cache_->AnalyzeShaderUcode(*vertex_shader);
bool memexport_used_vertex = vertex_shader->memexport_eM_written();
bool memexport_used_vertex = vertex_shader->memexport_eM_written() != 0;
// Pixel shader analysis.
bool primitive_polygonal = draw_util::IsPrimitivePolygonal(regs);