Comments (1)
I can get rid of the problem by splitting up a mat4
into 4 vec4
to pass from vertex to fragment stage and rebuild the mat4
in the fragment-shader again.
It also looks like that this approach will help with other shading languages and thus will likely be my best bet.
Closing this
from krafix.
Related Issues (20)
- [linux + vulkan] using textureSize will create empty shader files HOT 7
- [linux + vulkan] Optimizer error HOT 4
- Compiling compute shader to metal -> texture bindings have the same index HOT 1
- Unable to access uniforms outside of main function in Metal HOT 1
- Unable to use multiple sampler uniforms HOT 3
- Unable to directly access vector uniform component for SPIRV
- Unable to set uniform of type int for SPIRV
- Wrong array lookup for uniform floats on generated HLSL HOT 8
- Unable to compile glsl into version 330 - Unknown identifier 'binding' in layout HOT 1
- Unable to build Kha apps from a system with glibc 2.27 HOT 2
- Vulkan textures broken HOT 3
- gl_VertexID broken on Vulkan HOT 6
- Error when using Krafix as a library on Linux.
- gl_InstanceID-based array-access in SPIR-V
- [HLSL] error X4500: overlapping register semantics not yet implemented
- Vulkan error when trying to compile a pipeline using attached shader HOT 1
- Enable dual shader compilation (high-/low-precision) for Android
- [spirv] Incorrect alignment for vec3 uniforms.
- Metal Shader fails to compile on macos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krafix.