This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Shader Development Studio Problem

Note: This was originally posted on 12th May 2011 at http://forums.arm.com

Hello,
Recently I decided to try out Mali Developer Tools, which look very promising.

Unfortunately I have a problem with Shader Development Studio.
When trying to make SimpleTest Project (from the User Guide) while rendering the shader effect
the Shader Preview shows a triangle instead of a square shown in the Guide.
In general, it is not surprising, since the option VERTICES in Shader Attributes View has by default  three
vertices:
-1.0 -1.0,0.0,1.0,
1.0 -1.0,0.0,1.0,
1.0,1.0,0.0,1.0,

The problem however is that there is no possibility to add additional vertices
(when choosing the option USER_DEFINED). You can only change the three given.
Changing the geometry in Shader Control View do not bring any effect, always showing three vertices.
Even when using a Shader Examples from Mali GPU Shader Library shaders are applied to that triangle.
The shaders themselves are working (changing color, texturing, etc).

Plugin has been tested on the following configurations:
Eclipse 3.6.2
  • GeForce 9600M GT Windows 7 64bit
  • GeForce GTS 250 Windows 7 32bit

All necessary OpenGL extensions are present, Emulator and Offline Shader Compiler are installed and work.

[font=arial, sans-serif]Had someone the same problem and is there a solution?[/font]
[font=arial, sans-serif]Thanks.[/font]
Parents
  • Note: This was originally posted on 15th August 2011 at http://forums.arm.com

    Hi all,

    I've just been trying to reproduce this issue with a Windows 7 machine, but still can't seem to make the bug appear :( For reference, the steps I took were:

    1. Open Eclipse
    2. Create a new 'General' project
    3. Add a new vertex and fragment shader
    4. Add a shader configuration and add the appropriate shaders. Save the shader configuration.
    5. Select the 'New Effect' in the Shader Control view
    6. I see that the default geometry is "PLANE"
    7. Set up the attributes ('coord' to 'VERTICES') and ('camera' to 'CAMERA_MATRIX')
    8. Select the built-in renderer from "Manage Renderers"
    9. Render a single frame

    I see at this point a coloured square. I can then select a new geometry (say, "SPHERE") and the geometry changes for me. Am I doing anything different to you? My platform is Eclipse 3.7, OpenGL ES 2.0 Emulator 1.3.0 M1, Windows 7 Professional and an NVIDIA GeForce 210.
Reply
  • Note: This was originally posted on 15th August 2011 at http://forums.arm.com

    Hi all,

    I've just been trying to reproduce this issue with a Windows 7 machine, but still can't seem to make the bug appear :( For reference, the steps I took were:

    1. Open Eclipse
    2. Create a new 'General' project
    3. Add a new vertex and fragment shader
    4. Add a shader configuration and add the appropriate shaders. Save the shader configuration.
    5. Select the 'New Effect' in the Shader Control view
    6. I see that the default geometry is "PLANE"
    7. Set up the attributes ('coord' to 'VERTICES') and ('camera' to 'CAMERA_MATRIX')
    8. Select the built-in renderer from "Manage Renderers"
    9. Render a single frame

    I see at this point a coloured square. I can then select a new geometry (say, "SPHERE") and the geometry changes for me. Am I doing anything different to you? My platform is Eclipse 3.7, OpenGL ES 2.0 Emulator 1.3.0 M1, Windows 7 Professional and an NVIDIA GeForce 210.
Children
No data