Summary: | Incorrect packing of struct | ||
---|---|---|---|
Product: | Mesa | Reporter: | Matias N. Goldberg <dark_sylinc> |
Component: | glsl-compiler | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | major | ||
Priority: | medium | ||
Version: | 11.2 | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Shaders with faulty and non faulty versions |
Description
Matias N. Goldberg
2016-08-11 09:02:34 UTC
Bahahuoasudh!!!! Just close it down. I thought I was on latest version but I was not. On Mesa 12.1 this issue has been fixed. Our Compute samples refuse to run, which I guess that's expected. Our Forward3D sample is also not working correctly (it should show hundreds of lights but those lights are gone), which was working correctly in Mesa 11.2 Tomorrow I'll take a look, but I am already seeing incorrect warnings in those shaders: 0:228(28): warning: `nNormal' used uninitialized 0:231(14): warning: `material' used uninitialized Close this ticket I'll create a new one when my mind is fresh As you wish. (In reply to Matias N. Goldberg from comment #1) > Bahahuoasudh!!!! > > Just close it down. > I thought I was on latest version but I was not. > > On Mesa 12.1 this issue has been fixed. > > Our Compute samples refuse to run, which I guess that's expected. Compute should work on most recent hardware now. See what's supported where and in which mesa version over at https://people.freedesktop.org/~imirkin/glxinfo/ > Our Forward3D sample is also not working correctly (it should show hundreds > of lights but those lights are gone), which was working correctly in Mesa > 11.2 > > Tomorrow I'll take a look, but I am already seeing incorrect warnings in > those shaders: > 0:228(28): warning: `nNormal' used uninitialized > 0:231(14): warning: `material' used uninitialized Those warnings are broken... they don't handle inout arguments, among likely other things. OK I'm fully re-powered and thinking straight now: I've built Mesa from scratch. Tried commits git-edfc17a (current head of branch 12.0) and commit 17f1c49b9ad05af4f6482f6fa950e5dcc1a779d1 (current head of master branch) In both, I don't have compute shaders. Googling around it appears for Southern Island radeon it could be buggy so it was turned off. Not 100% sure but I think that's what's happening. Anyway, not a big deal on that. WIP. Move on. Like I said our Forward3D demo was glitching and I didn't know why. I've investigated the problem and located it: * glGetIntegerv w/ GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT is returning 4, should return 256 for my HW. * glGetIntegerv w/ GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT is returning 4, should return 256 for my HW. This is clearly not a shader issue which is why I reported it in this ticket: https://bugs.freedesktop.org/show_bug.cgi?id=97305 Thanks for assistance, and I'm sorry for having bothered you earlier. Cheers (In reply to Matias N. Goldberg from comment #4) > [...] I don't have compute shaders. Googling around it appears for > Southern Island radeon it could be buggy so it was turned off. No, it just requires kernel >= 4.7 on SI (and LLVM >= 3.9 in general). |
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.