Bug 89490 - sampler3D in shader silently fails
Summary: sampler3D in shader silently fails
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 10.4
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-08 19:02 UTC by Dale Weiler
Modified: 2015-03-08 21:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Dale Weiler 2015-03-08 19:02:56 UTC
The use of sampler3D in GLSL silently fails (no info log) yet the compile status
says otherwise. Offending shader source that causes this.

sampler3D gColorGradingMap;
out vec4 fragColor;
...
fragColor = vec4(texture(gColorGradingMap, fragColor.rgb).rbg, 1.0f);
Comment 1 Dale Weiler 2015-03-08 21:05:13 UTC
This turns out to be my fault. glValidateProgram was complaining about "active samplers with a different type refer to the same texture image unit". This was ignored however. Marking this as closed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.