igl icon indicating copy to clipboard operation
igl copied to clipboard

sample Tiny_MeshLarge error.

Open yangyagami opened this issue 2 years ago • 4 comments

[IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texSkyboxIrradiance) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texAlpha) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texDiffuse) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texAmbient) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texShadow) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). uniform block (MeshMaterials) not found in shader. [IGL] Error in (igl::Result igl::opengl::ShaderModule::create(const igl::ShaderModuleDesc&)). failed to compile vertex shader: 0:1(1): error: syntax error, unexpected NEW_IDENTIFIER

yangyagami avatar Jul 10 '23 05:07 yangyagami

Source precision mediump float;attribute vec2 position; attribute vec2 texCoords; attribute vec4 color; uniform mat4 projectionMatrix; varying vec2 Frag_UV; varying vec4 Frag_Color; void main() { Frag_UV = texCoords; Frag_Color = color; gl_Position = projectionMatrix * vec4(position.xy, 0, 1); }[IGL] Assert failed in 'Ptr igl::opengl::{anonymous}::createResource(const Desc&, igl::Result*, Params&& ...) [with Ptr = std::shared_ptrigl::opengl::ShaderModule; Desc = igl::ShaderModuleDesc; Params = {igl::opengl::IContext&, const igl::ShaderModuleInfo&}]' (/home/jiale/Workspace/igl/src/igl/opengl/Device.cpp:68): 0:1(1): error: syntax error, unexpected NEW_IDENTIFIER

yangyagami avatar Jul 10 '23 05:07 yangyagami

Thanks for the bug report!

Could you please tell us more about how to reproduce this issue?

corporateshark avatar Jul 10 '23 05:07 corporateshark

Thanks for the bug report!

Could you please tell us more about how to reproduce this issue?

When I start program It will reproduce the issue. I started it by opengl backend.

yangyagami avatar Jul 10 '23 07:07 yangyagami

image My system is arch linux.

yangyagami avatar Jul 10 '23 07:07 yangyagami

7d90f29e3542e5efa372ba18acdcd7359da4f375

corporateshark avatar Jul 10 '23 20:07 corporateshark