DiligentGraphics / DiligentEngine

A modern cross-platform low-level graphics library and rendering framework
http://diligentgraphics.com/diligent-engine/
Apache License 2.0
3.63k stars 331 forks source link

Vulkan validation warnings #175

Closed TheMostDiligent closed 2 years ago

TheMostDiligent commented 2 years ago

Many applications started to generate validation warnings. For example, Atmosphere sample:

Diligent Engine: Warning: Vulkan debug message (performance): UNASSIGNED-CoreValidation-Shader-OutputNotConsumed
                 Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0xb2bff2000000038c, name = FullScreenTriangleVS, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | vertex shader writes to output location 0.0 which is not consumed by fragment shader
                 Object[0] (shader module): Handle 0xb2bff2000000038c, Name: 'FullScreenTriangleVS'
Diligent Engine: Warning: Vulkan debug message (performance): UNASSIGNED-CoreValidation-Shader-OutputNotConsumed
                 Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0xb2bff2000000038c, name = FullScreenTriangleVS, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | vertex shader writes to output location 1.0 which is not consumed by fragment shader
                 Object[0] (shader module): Handle 0xb2bff2000000038c, Name: 'FullScreenTriangleVS'

It is unclear if these warnings are legitimate or false positives.