slang doesnt support mesh shading yet, exploring later

This commit is contained in:
Dynamitos
2024-04-21 10:37:15 +02:00
parent d09dcb3a33
commit 16c7fb5159
7 changed files with 20 additions and 214 deletions
Binary file not shown.
-19
View File
@@ -1,19 +0,0 @@
#version 450
#extension GL_EXT_mesh_shader : require
layout(row_major) uniform;
layout(row_major) buffer;
#line 27 0
layout(local_size_x = 3, local_size_y = 1, local_size_z = 1) in;
layout(max_vertices = 12) out;
layout(max_primitives = 4) out;
layout(triangles) out;
void main()
{
SetMeshOutputsEXT(12U, 4U);
#line 46
return;
}
-77
View File
@@ -1,77 +0,0 @@
{
"EntryPoint": "taskMain",
"FunctionConstants": [],
"NeedsFunctionConstants": false,
"Resources": [
{
"abIndex": 0,
"slot": 0,
"type": "SRV"
},
{
"abIndex": 1,
"slot": 1,
"type": "SRV"
},
{
"abIndex": 2,
"slot": 2,
"type": "SRV"
},
{
"abIndex": 3,
"slot": 3,
"type": "SRV"
},
{
"abIndex": 4,
"slot": 0,
"type": "CBV"
}
],
"ShaderID": "2266638404583382645",
"ShaderType": "Amplification",
"TopLevelArgumentBuffer": [
{
"EltOffset": 0,
"Size": 24,
"Slot": 0,
"Space": 2,
"Type": "SRV"
},
{
"EltOffset": 24,
"Size": 24,
"Slot": 1,
"Space": 2,
"Type": "SRV"
},
{
"EltOffset": 48,
"Size": 24,
"Slot": 2,
"Space": 2,
"Type": "SRV"
},
{
"EltOffset": 72,
"Size": 24,
"Slot": 3,
"Space": 2,
"Type": "SRV"
},
{
"EltOffset": 96,
"Size": 24,
"Slot": 0,
"Space": 1,
"Type": "CBV"
}
],
"max_payload_size_in_bytes": 4096,
"num_threads": [
128,
1,
1
]
}
Binary file not shown.