forked from Dynamitos/Seele
It finally works
This commit is contained in:
1 parent
80963edfd4
commit
72336aa64f
15 files changed
+31
-74
No files matched your search
@@ -65,12 +65,6 @@ struct PrimitiveAttributes
|
||||
uint cull: SV_CullPrimitive;
|
||||
};
|
||||
|
||||
uint unpackPrimitiveIndices(uint index)
|
||||
{
|
||||
uint32_t packed = pScene.primitiveIndices[index / 4];
|
||||
return (packed >> (index % 4)) & 0xff;
|
||||
}
|
||||
|
||||
[numthreads(MESH_GROUP_SIZE, 1, 1)]
|
||||
[outputtopology("triangle")]
|
||||
[shader("mesh")]
|
||||
|
||||
Reference in new issue
Block a user