cwabbott0 / lima_compiler Goto Github PK
View Code? Open in Web Editor NEWstandalone GLSL ES compiler for lima
License: Other
standalone GLSL ES compiler for lima
License: Other
Division by zero trying to compile the following simple vertex shader:
uniform mat4 modelviewprojectionMatrix;
attribute vec4 in_position;
attribute vec2 in_coord;
varying vec2 coord;
void main()
{
gl_Position = modelviewprojectionMatrix * in_position;
coord = in_coord;
}
==27873== Process terminating with default action of signal 8 (SIGFPE)
==27873== Integer divide by zero at address 0x4049E9641
==27873== at 0x40346B: get_hash (ptrset.c:41)
==27873== by 0x40376D: ptrset_add (ptrset.c:114)
==27873== by 0x412DDF: lima_gp_ir_node_link (node.c:674)
==27873== by 0x454432: (anonymous namespace)::gp_ir_visitor::emit_uniform_load(ir_dereference_, bool) (from_glsl.cpp:1222)
==27873== by 0x453CAC: (anonymous namespace)::gp_ir_visitor::handle_deref(ir_dereference_) (from_glsl.cpp:1001)
==27873== by 0x453AC8: (anonymous namespace)::gp_ir_visitor::visit_enter(ir_dereference_array_) (from_glsl.cpp:950)
==27873== by 0x485436: ir_dereference_array::accept(ir_hierarchical_visitor_) (ir_hv_accept.cpp:272)
==27873== by 0x45368C: (anonymous namespace)::gp_ir_visitor::emit_expression(lima_gp_ir_op_e, ir_rvalue**, unsigned int) (from_glsl.cpp:855)
==27873== by 0x452D42: (anonymous namespace)::gp_ir_visitor::visit_enter(ir_expression_) (from_glsl.cpp:616)
==27873== by 0x485249: ir_expression::accept(ir_hierarchical_visitor_) (ir_hv_accept.cpp:150)
==27873== by 0x45368C: (anonymous namespace)::gp_ir_visitor::emit_expression(lima_gp_ir_op_e, ir_rvalue**, unsigned int) (from_glsl.cpp:855)
==27873== by 0x452D1F: (anonymous namespace)::gp_ir_visitor::visit_enter(ir_expression*) (from_glsl.cpp:612)
I don't know if you still do anything with Lima, but with a SDK release from a Chinese company happening today, I found some code of interest concerning Mali400-r4p0.
Drop me an email, I'll sent you the archive of source code that might worth your time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.