Giter VIP home page Giter VIP logo

lima_compiler's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lima_compiler's Issues

Matrix multiplication problems

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)

A link of interest

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.