Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Graphics, Gaming, and VR forum
Shader Development tools: syntax checking is useless
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
136 subscribers
Views
5436 views
Users
0 members are here
Mali-GPU
Options
Share
More actions
Cancel
Related
How was your experience today?
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 tools: syntax checking is useless
xun gong
over 11 years ago
Note: This was originally posted on 25th January 2013 at
http://forums.arm.com
Environment:
OS: Windows XP SP3 Build-2600
GPU: GeForce GTX 550 Ti
Shader Development tools: 1.3.0.8592_Beta
Mali Offline Shader Compiler: v4.0.0
Emulator: OpenGL_ES_Emulator_1.3.0.7490_Win32.msi
Eclipse: 3.7.0
Problem:
Enable Offline Shader Compile, but the syntax checking is useless.
First, i run the malisc.exe, an error occur which reported that: " lack msvcr100.dll", then i download the dll and copy to system32-dir. After that, i run malisc.exe in cmd successfully, but the syntax checking is also useless.
Then i checked the path of malisc.exe, i tried something below to make sure the plugin(Shader Development tools) do execute the malisc.exe:
1, Edit malisc.exe, break it;
2, Write some shader in eclipse, the save, and then an error window jump out to show some message like "bad exe format".
3, So, i think the path is correct.
With the same error-shader-file, i use malisc.exe to compile it in cmd, it report the syntax error, but nothing happened in eclipse.
Could i enable debug mode or get a debug-version to check and supply the log?
Parents
xun gong
over 11 years ago
Note: This was originally posted on 25th January 2013 at
http://forums.arm.com
Seems the plugin try to execute the offline compiler but lack the "--core" option.
The log:
Compiling shader effect ShaderEffect:
buildSettings: [CompilerSettings basePath=E:\android\GL;compilerPath=D:\Program Files\ARM\Mali Developer Tools\Mali Offline Shader Compiler v4.0.0\bin\malisc.exe;defines=;revisionTarget=r0p1;]
vertex sources:
assets\shader\vertex.vert
fragment sources:
assets\shader\fragment.frag
com.arm.mali.shaderdevelopmentstudio.compilercontrol.ESSLCompiler processVertexShaders
Processing vertex shaders...
com.arm.mali.shaderdevelopmentstudio.compilercontrol.ESSLCompiler getCompilationString
Compilation String = '"D:\Program Files\ARM\Mali Developer Tools\Mali Offline Shader Compiler v4.0.0\bin\malisc.exe" --revision=r0p1 -v -o nul "E:\android\GL\assets\shader\vertex.vert" --vert '
// omit some info...
Errors:
VertexShader
No core is specified
Cancel
Up
0
Down
Cancel
Reply
xun gong
over 11 years ago
Note: This was originally posted on 25th January 2013 at
http://forums.arm.com
Seems the plugin try to execute the offline compiler but lack the "--core" option.
The log:
Compiling shader effect ShaderEffect:
buildSettings: [CompilerSettings basePath=E:\android\GL;compilerPath=D:\Program Files\ARM\Mali Developer Tools\Mali Offline Shader Compiler v4.0.0\bin\malisc.exe;defines=;revisionTarget=r0p1;]
vertex sources:
assets\shader\vertex.vert
fragment sources:
assets\shader\fragment.frag
com.arm.mali.shaderdevelopmentstudio.compilercontrol.ESSLCompiler processVertexShaders
Processing vertex shaders...
com.arm.mali.shaderdevelopmentstudio.compilercontrol.ESSLCompiler getCompilationString
Compilation String = '"D:\Program Files\ARM\Mali Developer Tools\Mali Offline Shader Compiler v4.0.0\bin\malisc.exe" --revision=r0p1 -v -o nul "E:\android\GL\assets\shader\vertex.vert" --vert '
// omit some info...
Errors:
VertexShader
No core is specified
Cancel
Up
0
Down
Cancel
Children
No data