Bug 77851 - [BDW]Piglit spec_AMD_vertex_shader_layer_amd_vertex_shader_layer-layered-depth-texture-render fails
Summary: [BDW]Piglit spec_AMD_vertex_shader_layer_amd_vertex_shader_layer-layered-dept...
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Jordan Justen
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-24 02:57 UTC by lu hua
Modified: 2014-05-29 06:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2014-04-24 02:57:42 UTC
System Environment:
--------------------------
Platform: Broadwell
Libdrm:		(master)libdrm-2.4.53-6-gd4083dc762a2974c35ecd16be995272bbb6d57b4
Mesa:		(master)34a68345e228b7cbc1bc6909704a89c08bf5368e
Xserver:	(master)xorg-server-1.15.99.902-47-ge924034269532979f1e88947ee9c33d30461edae
Xf86_video_intel:(master)2.99.911-94-gbb5b21e34f6cbe44a249e566471754b45c500e60
Libva:		(staging)8577efbd3b1d4e8f113f78cf13d2182aa681b738
Libva_intel_driver:(staging)42258e128f19b93aa102672d5f61eb73d9f9808f
Kernel:	(drm-intel-nightly)1e771b84e47085ef9b6efea1321e7cb5a8b2c065

Bug detailed description:
-----------------------------
It fails on Broadwell with Mesa master branch, but works well on Haswell.
output:
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 8086:1616, driver i965
libGL: OpenDriver: trying /opt/X11R7/lib/dri/i965_dri.so
Probe depth at (0,0)
  Expected: 0.514286
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.528571
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.542857
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.557143
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.585714
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.600000
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.614286
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.628571
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.657143
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.671429
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.685714
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.700000
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.728571
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.742857
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.757143
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.771429
  Observed: 1.000000
Probe depth at (0,0)
  Expected: 0.800000
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.814286
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.828571
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.842857
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.871429
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.885714
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.900000
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.914286
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.942857
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.957143
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.971429
  Observed: 0.000000
Probe depth at (0,0)
  Expected: 0.985714
  Observed: 0.000000
PIGLIT: {'result': 'fail' }

Reproduce steps:
----------------------------
1. xinit
2. ./bin/amd_vertex_shader_layer-layered-depth-texture-render -auto
Comment 1 Kenneth Graunke 2014-05-28 19:18:53 UTC
Should be fixed by:

commit c51c19289106a2ac2a962ce342dd97f1564807a6
Author: Jordan Justen <jordan.l.justen@intel.com>
Date:   Tue May 13 18:06:59 2014 +0000

    i965/gen8: Set depth extent field
    
    The depth extent field is used to limit the allowed slice range that
    can be rendered to.
    
    With the previous setting, only slice 0 could be rendered.
    
    This fixes piglit amd_vertex_shader_layer-layered-depth-texture-render.
    
    Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
    Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Comment 2 lu hua 2014-05-29 06:42:19 UTC
Verified.Fixed.


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.