cancel
Showing results for 
Search instead for 
Did you mean: 

Newcomers Start Here

Try
Journeyman III

Driver crash, when using VK_EXT_mesh_shader

Hi,

I'm owner of open-source game project that uses mesh-shader as default rendering mechanism. On commercial AMD, we have an driver issue, resulting into crash at pipeline creation time (`vkCreateGraphicsPipelines`).

In out local investigation, user hwnde, pointed out that crash occurs only if shader uses vec3 varying output:

 

// crash
shOut[laneID].normal = var.normal; 

// works
shOut[laneID].normal.x = var.normal.x;
shOut[laneID].normal.y = var.normal.y;
shOut[laneID].normal.z = var.normal.z;

 

Original ticket in game-engine repository: https://github.com/Try/OpenGothic/issues/577

Shader: https://github.com/Try/OpenGothic/blob/master/shader/materials/main.vert

GPU: AMD Radeon RX 6800 XT

Note, that shader source has .vert and .mesh variants - don't be confused, by looking into file extension.

Note2: on NVidia, Mesa, and Apple same shader works correct, without any crashes.

 

Please, let me know, if you need more information on the subject.

0 Likes
0 Replies