View Full Version : is it running in software mode?
My fragment programs seem to run extremely slow. How can I detect whether they run in software mode or not?
05-02-2005, 07:28 AM
You can get the compiler log and linker log by calling certain gl extension functions.
It is very likely that your code is running in software. It happens to me many times, even if the log says the shader is running in hardware. Some common causes are:
1. Unsupported language element, as gl_FragCoord in fragment shader
2. Too many instructions for ALU
3. Number of interpolants exceeded
4. Vertex shader will run in software if fragment is running in software, no matter how simple the vertex shader is. And vice versa
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.