forked from Dynamitos/Seele
Why isnt this working....
This commit is contained in:
1 parent
a545426b32
commit
9a26fd75ca
6 files changed
+8
-10
No files matched your search
@@ -15,12 +15,11 @@ layout(set=2)
|
||||
ParameterBlock<Scene> pScene;
|
||||
|
||||
[shader("vertex")]
|
||||
void vertexMain(
|
||||
FragmentParameter vertexMain(
|
||||
uint vertexId: SV_VertexID,
|
||||
uint instanceId: SV_InstanceID,
|
||||
out FragmentParameter params: PARAMETER,
|
||||
){
|
||||
) : PARAMETER{
|
||||
InstanceData inst = pScene.instances[instanceId];
|
||||
VertexAttributes attr = pVertexData.getAttributes(vertexId, inst.transformMatrix);
|
||||
params = attr.getParameter(inst.transformMatrix);
|
||||
return attr.getParameter(inst.transformMatrix);
|
||||
}
|
||||
Reference in new issue
Block a user