[Bug 100026] piglit.spec.arb_shader_subroutine.compiler.direct-call_vert regression
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 1 19:38:51 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100026
Bug ID: 100026
Summary: piglit.spec.arb_shader_subroutine.compiler.direct-call
_vert regression
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/i965
Assignee: samuel.pitoiset at gmail.com
Reporter: mark.a.janes at intel.com
QA Contact: intel-3d-bugs at lists.freedesktop.org
CC: t_arceri at yahoo.com.au
bisected to:
be8aa76afd2cc5326c9d9d59c591e06365c5f618
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
glsl: remove unecessary flags.q.subroutine_def
This bit is definitely not necessary because subroutine_list
can be used instead. This frees one more bit in the flags.q
struct which is nice because arb_bindless_texture will need
4 bits for the new layout qualifiers.
No piglit regressions found (including compiler tests) with
"-t subroutine".
v2: set the subroutine flag for validating illegal flags
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Standard Output:
/tmp/build_root/m64/lib/piglit/bin/glslparsertest
/tmp/build_root/m64/lib/piglit/tests/spec/arb_shader_subroutine/compiler/direct-call.vert
pass 1.50 GL_ARB_shader_subroutine
piglit: debug: Requested an OpenGL 3.2 Core Context, and received a matching
4.5 context
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.50
// require_extensions: GL_ARB_shader_subroutine
// [end config]
#version 150
#extension GL_ARB_shader_subroutine: require
/* The ARB_shader_subroutine spec says nothing to
* explicitly disallow calling subroutine implementations
* as normal functions.
*
* It seems reasonable that this would still work.
*/
subroutine void func_type();
/* A subroutine matching the above type */
subroutine (func_type) void impl() {}
/* Call the function directly, rather than via
* a subroutine uniform.
*/
void foo() {
impl();
}
Standard Error
Failed to compile vertex shader
/tmp/build_root/m64/lib/piglit/tests/spec/arb_shader_subroutine/compiler/direct-call.vert:
0:26(2): error: subroutine name cannot be a constructor `impl'
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170301/ae8b8d55/attachment-0001.html>
More information about the intel-3d-bugs
mailing list