mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
r600: for position invariant programs reading vert_pos is not always known at this point
This commit is contained in:
parent
da253319f9
commit
738b394769
1 changed files with 5 additions and 0 deletions
|
|
@ -515,6 +515,11 @@ void r700SetVertexFormat(GLcontext *ctx, const struct gl_client_array *arrays[],
|
||||||
unsigned int unBit = mesa_vp->Base.InputsRead;
|
unsigned int unBit = mesa_vp->Base.InputsRead;
|
||||||
context->nNumActiveAos = 0;
|
context->nNumActiveAos = 0;
|
||||||
|
|
||||||
|
if (mesa_vp->IsPositionInvariant)
|
||||||
|
{
|
||||||
|
unBit |= VERT_BIT_POS;
|
||||||
|
}
|
||||||
|
|
||||||
while(unBit)
|
while(unBit)
|
||||||
{
|
{
|
||||||
if(unBit & 1)
|
if(unBit & 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue