System Environment: -------------------------- Arch: i386 Platform: Sandybridge Libdrm: (master)libdrm-2.4.40-2-g171666e4b8127c17c68ea0d44cf4e81ec342f2d0 Mesa: (master)f8840057710041e2d43fddfe4ef9f392c475e129 Xserver:(master)xorg-server-1.13.0-143-g6a6c3afe71ac82a93d9fd0034dd5bbdcf0eae1ea Xf86_video_intel:(master)2.20.13-33-gd3a49f36395d737698616fe8ba9da7b74cd2d89a Cairo: (master)62b795fe52c73ad58101c101aa77449f4b61a576 Libva: (staging)38c94cd922473095814ed9a9f99ad98fcc9c285d Libva_intel_driver:(staging)c0ef9d99df37ae45589fecb898727be495e50304 Kernel: (drm-intel-nightly) ea33b66e9cc2332decab09870054fa99f2a16f6f Bug detailed description: ------------------------- It fails on sandybridge.It passes on ivybridge and haswell. Following cases also fail on sandybridge: spec_glsl-1.40_execution_textureSize_fs-textureSize-isamplerBuffer spec_glsl-1.40_execution_textureSize_fs-textureSize-usamplerBuffer spec_glsl-1.40_execution_textureSize_vs-textureSize-isamplerBuffer spec_glsl-1.40_execution_textureSize_vs-textureSize-samplerBuffer spec_glsl-1.40_execution_textureSize_vs-textureSize-usamplerBuffer output: Probe at (10,10) Expected: 0.650000 0.000000 0.000000 1.000000 Observed: 0.011765 0.000000 0.000000 1.000000 PIGLIT: {'result': 'fail' } Reproduce steps: ---------------------------- 1. xinit 2. ./bin/textureSize 140 fs samplerBuffer -auto -fbo
The textureSize() call with samplerBuffer sampler type returns undefined results in SandyBridge. In the source code, this is translated to a 'resinfo' message type for SURFTYPE_BUFFER but it's undefined in SNB (see SNB's PRM documentation vol4_part1, page 141). It has been confirmed in the mailing list by an Intel engineer: http://lists.freedesktop.org/archives/mesa-dev/2014-September/068803.html
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1391.
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.