12.07.2015 Views

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring the <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong>4.2 WizardsThis section describes the wizards that are provided by the <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong>.4.2.1 New Vertex <strong>Shader</strong>The New Vertex <strong>Shader</strong> wizard (accessed from File → New → Vertex <strong>Shader</strong>) creates a new,trivial vertex shader in the selected parent folder. The file name can be any file name acceptedby the host operating system. The <strong>Shader</strong> automaticallyadds a .vert extension to the file name.For more information about using the New Vertex <strong>Shader</strong> wizard, see Creating a new <strong>Shader</strong>effect on page 3-3.4.2.2 New Fragment <strong>Shader</strong>The New Fragment <strong>Shader</strong> wizard (accessed from File → New → Fragment <strong>Shader</strong>) createsa new, trivial fragment shader in the selected parent folder. The file name can be any file nameaccepted by the host operating system. The <strong>Shader</strong> automaticallyadds a .frag extension to thefile name.For more information about using the New Fragment <strong>Shader</strong> wizard, see Creating a new <strong>Shader</strong>effect on page 3-3.4.2.3 New ESSL FileThe new ESSL File wizard (accessed from File → New → ESSL File) creates a new genericshader file that can be included alongside vertex and fragment shaders in a shader effect. ESSLfiles are useful for creating #define values for use in vertex and fragment shaders.When using additional ESSL files, you must place them before the vertex and fragment shadersin the shader effect configuration, or the values created in the ESSL file might not be visible inthe other files. The compiler concatenates each of these files together, including the availablevertex and fragment shaders, before compiling the source.4.2.4 New <strong>Shader</strong> ConfigurationThe New <strong>Shader</strong> Configuration wizard creates a new shader configuration file in the selectedproject. No other shader configuration file can exist in the project. The wizard creates a shaderconfiguration with a default shader effect, named New Effect, that has no shader sources definedin it.For more information about using the New <strong>Shader</strong> Configuration wizard, see Creating a new<strong>Shader</strong> Configuration File on page 3-6.DUI0504C Copyright © 2009-2011 <strong>ARM</strong>. All rights reserved. 4-5ID011412Non-Confidential - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!