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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong>Figure 3-4 New Vertex <strong>Shader</strong> dialog box10. Enter a name for the shader, for example simple.vert, in the Filename edit field11. To add the shader to an effect, check the Add file to shader effect box.12. Click Finish.The vertex shader is created in the src directory.13. Right-click on the src directory again and select New → Fragment <strong>Shader</strong>. TheFragment <strong>Shader</strong> dialog box is displayed.14. Enter a name for the shader, for example simple.frag, in the Filename edit field.15. Click Finish.The fragment shader is created in the src directory.16. Two files are created in the src directory that contain the source code for a trivial shadereffect. See Figure 3-5 on page 3-6:DUI0504C Copyright © 2009-2011 <strong>ARM</strong>. All rights reserved. 3-5ID011412Non-Confidential - Beta

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

Saved successfully!

Ooh no, something went wrong!