Giter VIP home page Giter VIP logo

Comments (5)

Darkyenus avatar Darkyenus commented on August 11, 2024

That might be a bug in this plugin. Could you please share a file that causes that problem? If you want, you can do it privately, my e-mail is public. I'd appreciate it if you send a minimal file that still reproduces this problem. I don't have much free time nowadays, so simple repro will massively increase the chance of me fixing it. Thanks!

from glsl4idea.

Darkyenus avatar Darkyenus commented on August 11, 2024

This is caused by the messy reference-handling implementation of the plugin. Fixing it will require a partial rewrite/refactor of the reference handling code. In particular, getReferenceProxy needs to go away and elements that actually are references must create the references from themselves, not through the proxy, because IDE asserts that this exact thing does not happen.

from glsl4idea.

Darkyenus avatar Darkyenus commented on August 11, 2024

Unreliable repro:

attribute highp vec2 aVertPos;
    attribute mediump vec3 aVertCol;

    varying mediump vec3 vVertCol;

    uniform highp mat4 uModelViewProjectionMatrix; // Rename this variable to something else

    void main() {
      vVertCol = aVertCol;
      gl_Position = uModelViewProjectionMatrix * vec4(aVertPos, 0.0, 1.0);
      //gl_Position = vec4(aVertPos, 0.0, 1.0);
    }

from glsl4idea.

HughPH avatar HughPH commented on August 11, 2024

Is there a plan to fix this?

from glsl4idea.

Darkyenus avatar Darkyenus commented on August 11, 2024

Should be fixed by c0a3b30 and following commits.

from glsl4idea.

Related Issues (20)

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.