PDA

View Full Version : NVShaderPerf ASM output w. GLSL vertex shaders buggy?



speedy
09-06-2006, 08:32 PM
I can't get NVShaderPerf 81.95 to output assembly for glsl vertex shaders. :(
Pixel shaders are working correctly with .glsl file extension but not with -type glsl_ps.

Is this a bug in nvshaderperf or I am doing something wrong? :confused:


Repro steps:

1. create simple.glslvp with:
void main()
{
gl_Position = ftransform();
}

2. in command prompt type:
prompt> nvshaderperf.exe -type glsl_vs simple.glslvp
--------------------------------------------------------------------------------

Running performance on file simple.glslvp
prompt>

Brolingstanz
09-07-2006, 05:39 AM
Yep, I have the same problem (just tried it, same version). Perhaps we're just missing an elusive command switch.

I tried all sorts of permutations on the basic theme.

nvshaderperf.exe -type glsl{_vs|_ps} test.vsh

No error reports of any kind.

The *.fx stuff works fine.

speedy
09-07-2006, 06:41 AM
@leghorn: Thanks for confirming the bug! :)

I've found a "workaround" - NVEmulate Build: Feb 17, 2005 is working properly with Nvidia ForceWare 91.31 - so I'm able to dump VP assembly through that.

NVShaderPerf working would still be nicer, though. I'll send a bug report to SDKFeedback@nvidia.com.