ARM Launches v.4.2 of the Offline Shader Compiler
This latest version is capable of compiling OpenGL ES 3.0 shaders and supporting the Mali-T600 series r3p0-00rel0 driver.
For example, the new Mali GPU Offline Shader Compiler can be used to get statistics for the shaders in the Skybox tutorial:
For the vertex shader, saved on disk as skybox.vert:
#version 300 es out vec3 texCoord; uniform mat4 viewMat; void main(void) { const vec3 vertices[4] = vec3[4](vec3(-1.0f, -1.0f, 1.0f), vec3( 1.0f, -1.0f, 1.0f), vec3(-1.0f, 1.0f, 1.0f), vec3( 1.0f, 1.0f, 1.0f)); texCoord = mat3(viewMat) * vertices[gl_VertexID]; gl_Position = vec4(vertices[gl_VertexID], 1.0f); }
We can run the compiler in verbose mode:
malisc -v skybox.vert -V
A
And we will get the following output:
ARM Mali Offline Shader Compiler v4.2.0
(C) Copyright 2007-2014
ARM Limited.
All rights reserved.
No driver specified, using "Mali-T600_r3p0-00rel0" as default.
No core specified, using "Mali-T670" as default.
No core revision specified, using "r1p0" as default.
Compilation successful. 3 work registers used, 6 uniform registers used, spilling not used.
A L/S T Total Bound Cycles: 9 9 0 18 A, L/S
Shortest Path: 2 9 0 11 L/S
Longest Path: 2 9 0 11 L/S
Note: The cycles counts do not include possible stalls due to cache misses.
For more information, visit the tool page.
Samsung Galaxy S5: Powered by Exynos
A great blog by the folk at Samsung Exynos covering the Exynos 5 Octa (5422) which was announced at MWC in 2014. With its big.LITTLE processing technology and ARM Mali-T628 GPU, it is a great SoC which offers both high performance and extended battery life.
Read the full blog here.
Android TV boxes: Tronsmart Vega S89 vs. Rikomagic M902
The Android STB market is a strong one for ARM with many SiPs choosing to implement our GPU IP in their designs. This week Liliputing delivered an in-depth comparison of two such implementations, that of the Tronsmart Vega S89 with its Amlogic S802 and ARM Mali-450 GPU and that of the Rikomagic M902 with its Rockchip RK3188 SoC and ARM Mali-400 GPU.
Read the full article here.
Xiaomi unveils a 4K, 3D Android-powered TV
Xiaomi is one of China's biggest producers of consumer electronics. The big news around their latest announcement of the Mi TV 2 is the pricetag: a 4K TV for $640 featuring an ARM Mali-450 MP GPU.
Read more about this release here.