顶点着色器'v_gradient'的输出未被片段着色器读取 [英] Output of vertex shader 'v_gradient' not read by fragment shader
问题描述
当我在ios 10设备和xcode 8上运行我的应用程序时,我在调试控制台中收到以下消息。任何人都可以知道为什么会这样吗
When i run my app on ios 10 device and xcode 8 i'm getting the following message in debug console. Can any one know why this is happening
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit- 1230.32.8.29.9 / GeoGL / GeoGL / GLCoreContext.cpp 1763:InfoLog SolidRibbonShader:
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit-1230.32.8.29.9/GeoGL/ GeoGL / GLCoreContext.cpp 1764:警告:片段着色器无法读取顶点着色器'v_gradient'的输出
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit-1230.32.8.29.9/GeoGL/GeoGL/GLCoreContext.cpp 1763: InfoLog SolidRibbonShader: ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit-1230.32.8.29.9/GeoGL/GeoGL/GLCoreContext.cpp 1764: WARNING: Output of vertex shader 'v_gradient' not read by fragment shader
推荐答案
该错误与模拟器的渲染方法有关。框架,而不是真实设备的框架。
The error is related to the Simulator's rendering methods & framework, as opposed to those of a real device.
问题不应在真实设备上重现。
请参阅此处完整答案
这篇关于顶点着色器'v_gradient'的输出未被片段着色器读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!