projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de947e8
)
Don't build passthrough shader on <NV40
author
Ben Skeggs
<darktama@iinet.net.au>
Sun, 17 Dec 2006 03:38:21 +0000
(
03:38
+0000)
committer
Ben Skeggs
<darktama@iinet.net.au>
Sun, 17 Dec 2006 03:38:21 +0000
(
03:38
+0000)
src/mesa/drivers/dri/nouveau/nouveau_shader.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_shader.c
b/src/mesa/drivers/dri/nouveau/nouveau_shader.c
index 9a09f43d5819fd8a41b78b2304d61e9c93e054ff..dc366b36c09683590c1a4a083fa6f0f8ea655a56 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nouveau_shader.c
+++ b/
src/mesa/drivers/dri/nouveau/nouveau_shader.c
@@
-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;