[SNB Bisected]Piglit glx/GLX_ARB_create_context/invalid render type fails
Submitted by lu hua
Assigned to Keith Packard @keithp
Description
System Environment:
Platform: Sandybridge Libdrm: (master)libdrm-2.4.52-3-g128e74cf6492025e63e035566bd6e2203e8da5e1 Mesa: (master)a487ef87fe4aa8c4b8e5c0d888bfb18727c8e570 Xserver: (master)xorg-server-1.15.0-583-gda1660de Xf86_video_intel:(master)2.99.909-17-g823382d28944a319c207f20ecef25ce1707a8021 Cairo: (master)4144307dbfbe7b297135d9ea4b080cae7e06b997 Libva: (staging)bea89a4b77c305c3f00bd4f5b9c6a237044fdf69 Libva_intel_driver:(staging)c25fe67b1f1e269dc8d0152ce883788ef9288aea Kernel: (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638
Bug detailed description:
It fails on sandybridge with xserver master branch. It works well on server-1.14-branch.
Bisect shows: 9e45a1a0 is the first bad commit. commit 9e45a1a0 Author: Keith Packard keithp@keithp.com AuthorDate: Fri Nov 15 18:00:53 2013 +0900 Commit: Keith Packard keithp@keithp.com CommitDate: Mon Jan 27 11:34:02 2014 -0800
Warning fixes in glx
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
output: Created OpenGL context with invalid render-type 0x000020b1, but this should have failed. X error 0 (non-GLX error (-1)) was generated, but X error 2 was expected. PIGLIT: {'result': 'fail' }
Reproduce steps:
- xinit
- ./bin/glx-create-context-invalid-render-type -fbo -auto