error: if a fragment input is (or contains) an integer, then it must be qualified with 'flat'
See original GitHub issueHi, I’m also trying to preprocess the data but am getting a different OpenGL error:
OpenGL Error: XX (500) In: /usr/local/include/pangolin/gl/gl.hpp, line 203 Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.GLSL Shader compilation failed: <string>: 0:8(1): error: if a fragment input is (or contains) an integer, then it must be qualified with ‘flat’ 0:8(8): error: `gl_PrimitiveID’ redeclared
Zero samples are successfully being generated. I’m trying to generate the chairs training dataset from ShapeNet Core v2.
I am running this code on a fresh VMWare VM of Ubuntu 18.04 64-bit on VMWare Workstation Player 15. I have an NVIDIA GTX 1060 Mobile.
Some previous things I’ve tried were:
- Running in a Docker contain (but Pangolin required a display)
- Running in a VirtualBox VM of Ubuntu 18.04 (but it did not support OpenGL 3.3)
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
"flat" qualifier in glsl? - opengl - Stack Overflow
Using the flat keyword, no interpolation is done, so every fragment generated during the rasterization of that particular primitive will get ...
Read more >Preprocessing Error: 0:8(1): error: if a fragment input is (or ...
Preprocessing Error: 0:8(1): error: if a fragment input is (or contains) an integer, then it must be qualified with 'flat' 0:8(8): error: `gl_PrimitiveID' ......
Read more >Passing integer from vertex to fragment shader? - OpenGL
When I tried to pass an integer from a vertex shader to a fragment shader, i get “invalid ... “error C5215: Integer varying...
Read more >Can't pass integer variables between shaders : r/opengl - Reddit
I'm trying to pass an integer variable from vertex to fragment shader. But the shaders won't compile. Does glsl not accept integer types?...
Read more >GLSL_NV_fragment_shader_bar...
Like tessellation and geometry shader inputs, such variables or blocks ... integer and double-precision fragment shader inputs if qualified ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
I met the same problem. Is there any solution?
Same issue here.