mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 11:58:10 +02:00
Don't build passthrough shader on <NV40
This commit is contained in:
parent
de947e8a5b
commit
53d40646bd
1 changed files with 2 additions and 1 deletions
|
|
@ -245,7 +245,8 @@ nouveauShaderInitFuncs(GLcontext * ctx)
|
|||
/* Build a vertex program that simply passes through all attribs.
|
||||
* Needed to do swtcl on nv40
|
||||
*/
|
||||
nvsBuildPassthroughVP(ctx);
|
||||
if (nmesa->screen->card->type >= NV_40)
|
||||
nvsBuildPassthroughVP(ctx);
|
||||
|
||||
ctx->Const.VertexProgram.MaxNativeInstructions = nmesa->VPfunc.MaxInst;
|
||||
ctx->Const.VertexProgram.MaxNativeAluInstructions = nmesa->VPfunc.MaxInst;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue