Bug 84079

Summary: [BSW]Piglit spec_ARB_uniform_buffer_object_field_after_struct_base_alignment fails
Product: Mesa Reporter: lu hua <huax.lu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: VERIFIED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: ben
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2014-09-19 05:45:40 UTC
System Environment:
--------------------------
Platform: BSW
Libdrm:		(master)libdrm-2.4.56-26-gae8edc7544e566084f7b958eb93c9109b471ca30
Mesa:		(master)71d4fc88d6b97d6b9a8f1a324d2dcd0c56b79f3d
Xserver:	(master)xorg-server-1.16.0-317-geaee6572beefca240c42791f9a3a6e547bedd410
Xf86_video_intel:(master)2.99.916-47-g2a4855a633f42d90e11f5c51342c514c2dc24307
Libva:		(master)e0d25ece01e7aba819c910e98c4fb4706cdab055
Libva_intel_driver:(master)bc2e06ef0f89b264fe968fbff4f06e425385c3d8
Kernel:   (drm-intel-nightly)3e5e5913a80f593aa8f67784220eac2658034c6c

Bug detailed description:
---------------------------
Following new cases only fail on BSW with mesa master branch, they work well on BDW.
spec/ARB_uniform_buffer_object/std140-row_major-array-struct-struct-mat2x3-mat2x4-and-int
spec_ARB_uniform_buffer_object_field_after_struct_base_alignment
spec_ARB_uniform_buffer_object_row-major-matrix-inside-array-of-struct

Run: bin/shader_runner tests/spec/arb_uniform_buffer_object/field_after_struct_base_alignment.shader_test -auto

output:
Probe color at (0,0)
  Expected: 0.000000 1.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000 1.000000
PIGLIT: {"result": "fail" }

Reproduce steps:
-------------------------
1. xinit
2. bin/shader_runner tests/spec/arb_uniform_buffer_object/field_after_struct_base_alignment.shader_test -auto
Comment 1 Ben Widawsky 2014-11-24 18:38:51 UTC
Please retest with latest mesa master.

bwidawsk@momoa ~/intel-gfx/piglit (master)$ ./bin/shader_runner tests/spec/arb_uniform_buffer_object/field_after_struct_base_alignment.shader_test -auto && lspci -nn -s 0:2.0
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
PIGLIT: {"result": "pass" }
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b0] (rev 15)
Comment 2 lu hua 2014-11-25 06:22:57 UTC
Test on the latest Mesa master(commit: c88385603ae8d983314b736a9459bbf7d002cf11), it works well.

[root@x-bsw01 piglit]# bin/shader_runner tests/spec/arb_uniform_buffer_object/field_after_struct_base_alignment.shader_test -auto
PIGLIT: {"result": "pass" }
Comment 3 lu hua 2014-11-25 06:23:11 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.