Bug 57439 - [SNB]Piglit spec/glsl-1.40/execution_textureSize/fs-textureSize-samplerBuffer fails
Summary: [SNB]Piglit spec/glsl-1.40/execution_textureSize/fs-textureSize-samplerBuffer...
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 02:33 UTC by lu hua
Modified: 2015-06-16 07:41 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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


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.