Program Binary Selection

Applications use this option to load the pre-compiled shader program binary from its current execution path. The program binaries are generated for all supported architectures when the make command is run. These binaries are generated into separate directories, each with the supported architecture name. The correct directory name needs to be specified when running the sample app.

If the program binaries are not present, the application creates the program binary from shader source and saves the created program binary in the current execution path. The application can then use these saved program binaries on the next run. The flag to control use of program binary is:

-useprogbin <boolean>

Where <boolean> is either 0 or 1.