-
Notifications
You must be signed in to change notification settings - Fork 560
Open
Description
Trying to compile the simple compute shader
[numthreads(256, 1, 1)]
void test(uint GI: SV_GroupIndex)
{
groupshared float tmp[256];
}
via
ComputePass::create(
mpDevice,
ProgramDesc().addShaderLibrary("RenderPasses/MyRenderPass/test.slang").csEntry("test").setShaderModel(ShaderModel::SM6_7),
defines,
false
);
I end up with the error
Falcor\Source\RenderPasses\MyRenderPass\test.slang(4): error 31201: modifier 'groupshared' is not allowed here.
groupshared float tmp[256];
^~~~~~~~~~~
Is groupshared not supported yet? Or am I missing something?
Metadata
Metadata
Assignees
Labels
No labels