From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 109265] [regression, bisected] arb_texture_multisample texelfetch piglit test failing on NIR backend
Date: Mon, 14 Jan 2019 06:19:27 +0000 [thread overview]
Message-ID: <bug-109265-502-utlkgr8OPz@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-109265-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1568 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109265
--- Comment #4 from Timothy Arceri <t_arceri@yahoo.com.au> ---
This is odd. As far as I can tell the shader variant produced after loading
from the case is the same as the one produced when the cache is disabled.
Its also a fairly simple program. From tests/texturing/shaders/texelFetch.c the
offending program is:
int vs = piglit_compile_shader_text(GL_VERTEX_SHADER,
"#version 130\n"
"#extension GL_ARB_explicit_attrib_location: require\n"
"layout(location=0) in vec4 pos;\n"
"void main() {\n"
" gl_Position = pos;\n"
"}\n");
(void)!asprintf(&fs_code,
"#version 130\n"
"#extension GL_ARB_explicit_attrib_location: require\n"
"#extension GL_ARB_fragment_coord_conventions: require\n"
"uniform int layer;\n"
"uniform int si;\n"
"layout(pixel_center_integer) in vec4 gl_FragCoord;\n"
"layout(location=0) out %s o;\n"
"void main() {\n"
" o = %s(%sgl_FragCoord.x, gl_FragCoord.y, layer, si);\n"
"}\n",
sampler.return_type,
sampler.return_type,
sampler.data_type == GL_UNSIGNED_INT ? "" : "-");
We must not be setting a flag somewhere, but I've looked over the code that
handles the cache multiple time now and can't spot any real difference between
tgsi and nir.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2625 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-01-14 6:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-10 1:56 [Bug 109265] [regression, bisected] arb_texture_multisample texelfetch piglit test failing on NIR backend bugzilla-daemon
2019-01-11 14:18 ` bugzilla-daemon
2019-01-11 14:19 ` bugzilla-daemon
2019-01-11 14:28 ` bugzilla-daemon
2019-01-14 6:19 ` bugzilla-daemon [this message]
2019-02-27 23:07 ` bugzilla-daemon
2019-02-28 0:52 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-109265-502-utlkgr8OPz@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox