wip
This commit is contained in:
parent
b1b4b4a44a
commit
fd504bad88
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ namespace Crafter {
|
||||||
Update();
|
Update();
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
data.value->stride = stride;
|
data.value->stride = stride*4;
|
||||||
data.value->spacing = spacing;
|
data.value->spacing = spacing;
|
||||||
transform = MatrixRowMajor<float, 4, 4, 1>::Identity();
|
transform = MatrixRowMajor<float, 4, 4, 1>::Identity();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ void main()
|
||||||
{
|
{
|
||||||
SetMeshOutputsEXT(256, 128);
|
SetMeshOutputsEXT(256, 128);
|
||||||
|
|
||||||
uint linearID = gl_LocalInvocationID.x;
|
uint linearID = gl_GlobalInvocationID.x;
|
||||||
uint quadX = linearID % ubo.stride;
|
uint quadX = linearID % ubo.stride;
|
||||||
uint quadZ = linearID / ubo.stride;
|
uint quadZ = linearID / ubo.stride;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue