Bug 57439

Summary: [SNB]Piglit spec/glsl-1.40/execution_textureSize/fs-textureSize-samplerBuffer fails
Product: Mesa Reporter: lu hua <huax.lu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED MOVED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: christophe.prigent, xunx.fang
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2012-11-23 02:33:26 UTC
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
Comment 1 Samuel Iglesias Gonsálvez 2014-10-01 06:28:22 UTC
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
Comment 2 GitLab Migration User 2019-09-25 18:49:28 UTC
-- 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.