Hi
Is NSight (the latest one) is able to debug app based on opengl 3.3 (glsl 1.5) ?
If i hit ‘start graphics debugging’ in vc, the app runs (btw. how to select ‘working directory’ since the option from vc project debugging tabs seems to not work (vc2010)), then the hud is displayed, but when i want to capture frame for analysis it says that glTexParameteri is called with texture ‘0’ and that this is not supported …
since i have only one place where glTexParameteri is called in whole engine i’v verified that it is NOT the case (verification code below)
uint32_t TID = 0;
uint32_t BID = 0;
if (Target == GL_TEXTURE_1D)
BID = GL_TEXTURE_BINDING_1D;
else
if (Target == GL_TEXTURE_2D)
BID = GL_TEXTURE_BINDING_2D;
else
if (Target == GL_TEXTURE_2D_ARRAY)
BID = GL_TEXTURE_BINDING_2D_ARRAY;
else
if (Target == GL_TEXTURE_CUBE_MAP)
BID = GL_TEXTURE_BINDING_CUBE_MAP;
else
if (Target == GL_TEXTURE_3D)
BID = GL_TEXTURE_BINDING_3D;
else
Trace(error, "DAL-GLSL - Unknown target type !");
glGetIntegerv(BID, (GLint *)&TID);
if (TID == 0)
Trace(error, "DAL-GLSL - Texture '0' cannot be used !");
glTexParameteri(Target, Parameter, Value);
and it never hits any trace
if I run app with the verifier:
Nvda.Launcher.100.exe -compatlog Compat.txt app.exe
then the out is:
glTexImage2D (Zero texture object not supported): 0x0000000A
glTexParameteri (Zero texture object not supported): 0x00000001
but since I never call glTexParameteri for texture ‘0’ I dont know what this is all about … any ideas ?
THANKS!