stanlylee
03-11-2005, 04:53 PM
I have try the MRT in NV3x. but failed .
Anyboy can tell me why?
Here is the problem :
My Card : FX5600
Driver version: FW 76.10 .(surpport GL 2.0)
glGetIntergerv(GL_MAX_DRAW_BUFFERS) can return a number 4.
But in RenderMonkey ,when I change the gl_FragColor to gl_FragData[0] . the Shader can't link with error message like this :
-------------------------------------------------
<stdlib>(10367) : error C5102: semantics attribute "COLOR" has too big of a numeric index (1)
<stdlib>(10367) : error C5102: semantics attribute "COLOR" has too big of a numeric index (2)
<stdlib>(10367) : error C5102: semantics attribute "COLOR" has too big of a numeric index (3)
<stdlib>(10367) : error C5041: cannot locate suitable resource to bind parameter "<null atom>"
<stdlib>(10367) : error C5041: cannot locate suitable resource to bind parameter "<null atom>"
<stdlib>(10367) : error C5041: cannot locate suitable resource to bind parameter "<null atom>"
--------------------------------------------------
so I try a simple example in NVSDK . the same error. I use pbuffer. wglBindTexImageARB(WGL_AUX0_ARB) also return 0 :( ..
Can any one help me ??
Anyboy can tell me why?
Here is the problem :
My Card : FX5600
Driver version: FW 76.10 .(surpport GL 2.0)
glGetIntergerv(GL_MAX_DRAW_BUFFERS) can return a number 4.
But in RenderMonkey ,when I change the gl_FragColor to gl_FragData[0] . the Shader can't link with error message like this :
-------------------------------------------------
<stdlib>(10367) : error C5102: semantics attribute "COLOR" has too big of a numeric index (1)
<stdlib>(10367) : error C5102: semantics attribute "COLOR" has too big of a numeric index (2)
<stdlib>(10367) : error C5102: semantics attribute "COLOR" has too big of a numeric index (3)
<stdlib>(10367) : error C5041: cannot locate suitable resource to bind parameter "<null atom>"
<stdlib>(10367) : error C5041: cannot locate suitable resource to bind parameter "<null atom>"
<stdlib>(10367) : error C5041: cannot locate suitable resource to bind parameter "<null atom>"
--------------------------------------------------
so I try a simple example in NVSDK . the same error. I use pbuffer. wglBindTexImageARB(WGL_AUX0_ARB) also return 0 :( ..
Can any one help me ??