Displaying 2 results from an estimated 2 matches for "emitvertex".
Did you mean:
emit_vertex
2014 Jun 23
1
[PATCH v3] nv50/ir: make ARB_viewport_array behave like it does with other drivers
previously, if we had something like:
gl_ViewportIndex = idx;
for(int i = 0; i < gl_in.length(); i++) {
gl_Position = gl_in[i].gl_Position;
EmitVertex();
}
EndPrimitive();
we failed to set the right ViewportIndex.
To resolve this, save the ViewportIndex and store it to the right register on each emit.
This fixes the remaining piglit tests in ARB_viewport_array for nvc0.
Note: Not tested on nv50
Signed-off-by: Tobias Klausmann <tobias.johan...
2014 Jun 23
1
[PATCH v2] nv50/ir: make ARB_viewport_array behave like it does with other drivers
previously, if we had something like:
gl_ViewportIndex = idx;
for(int i = 0; i < gl_in.length(); i++) {
gl_Position = gl_in[i].gl_Position;
EmitVertex();
}
EndPrimitive();
we failed to set the right ViewportIndex.
To resolve this, save the ViewportIndex and store it to the right register on each emit.
This fixes the remaining piglit tests in ARB_viewport_array for nvc0.
Note: Not tested on nv50
Signed-off-by: Tobias Klausmann <tobias.johan...