procedural-3d-engine/examples/pipelines
Matt Coster 1e57057798
Fixes to dynamic state behavior in pipelines demo
This patch includes three fixes:
 - Allow wideLines to be enabled when fillModeNotSolid isn't,
 - Check against enabledFeatures for runtime conditionals instead
   of the theoretical values in deviceFeatures, and
 - Always call vkCmdSetLineWidth() before any draw command occurs.
   This is required by the spec, since any state declared as dynamic
   is explicitly not initialized by VkPipeline*StateCreateInfo.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
2022-09-14 15:06:17 +01:00
..
pipelines.cpp Fixes to dynamic state behavior in pipelines demo 2022-09-14 15:06:17 +01:00