https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #19 from Keith Kriewall keith.kriew...@attachmate.com ---
Yes, I've built Mesa 9.0.2 / LLVM 3.2 with the compiler hotfix and it works.
The test application also works.
--
You are receiving this mail because:
You are the assignee
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #20 from Sergey Anikin s_ani...@mail.ru ---
(In reply to comment #19)
Yes, I've built Mesa 9.0.2 / LLVM 3.2 with the compiler hotfix and it works.
The test application also works.
Thanks a lot for the confirmation, Keith!
--
You
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #18 from Sergey Anikin s_ani...@mail.ru ---
(In reply to comment #17)
I posted this issue to Microsoft and they have released a hotfix for Visual
Studio 2010 SP1 to correct it:
http://support.microsoft.com/kb/2836024
As soon as
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #17 from Keith Kriewall keith.kriew...@attachmate.com ---
I posted this issue to Microsoft and they have released a hotfix for Visual
Studio 2010 SP1 to correct it:
http://support.microsoft.com/kb/2836024
--
You are receiving this
https://bugs.freedesktop.org/show_bug.cgi?id=58718
José Fonseca jfons...@vmware.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #15 from José Fonseca jfons...@vmware.com ---
(In reply to comment #14)
I posted a series of patches to mesa3d-dev which seems to fix the inline
issue.
I pushed these now, the most important being
commit
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #12 from José Fonseca jfons...@vmware.com ---
It looks like Visual Studio 2012 (must be the final version, and not the
earlier preview) compiles the fd58718.zip test case correctly. I don't know if
it fully fixes all bit field usage
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #13 from Keith Kriewall keith.kriew...@attachmate.com ---
VS 2012 refuses to compile Mesa due to macro definition of inline.
F:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\INCLUDE\xkeycheck.h(199): warning C4005:
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #14 from José Fonseca jfons...@vmware.com ---
(In reply to comment #13)
VS 2012 refuses to compile Mesa due to macro definition of inline.
I've tried downloading 9.0.3 and 9.1, no change. I had expected to see
inline/INLINE
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #7 from Keith Kriewall keith.kriew...@attachmate.com ---
In case it helps, it appears that MSVC always treats enum values as signed int.
E.g. see:
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #8 from Roland Scheidegger srol...@vmware.com ---
(In reply to comment #7)
In case it helps, it appears that MSVC always treats enum values as signed
int. E.g. see:
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #9 from Keith Kriewall keith.kriew...@attachmate.com ---
Sorry, I didn't mean to imply that the signed issue is causing this problem.
I've tried increasing the 'File' bit field size by one, and it made no obvious
difference. I just
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #11 from Keith Kriewall keith.kriew...@attachmate.com ---
I just tried that (signed fields ahead of unsigned) and it didn't help in this
case. The modified struct began as:
struct prog_src_register
{
GLint
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #5 from José Fonseca jfons...@vmware.com ---
Created attachment 76244
-- https://bugs.freedesktop.org/attachment.cgi?id=76244action=edit
fdo58718.zip
It looks like MSVC is generating invalid code somehow. I've attached a
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #6 from José Fonseca jfons...@vmware.com ---
I've been fiddling with this, and I only see two things that workaround this
MSVC bug:
- disable all optmizations (/O0 isntead of /O2 or /O1)
- force all bit fields from struct
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #4 from José Fonseca jfons...@vmware.com ---
Created attachment 76199
-- https://bugs.freedesktop.org/attachment.cgi?id=76199action=edit
framebuffer2.trace
The attached trace allows me reproduce the issue with a release/profile
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #1 from Keith Kriewall keith.kriew...@attachmate.com ---
I've run into this with Mesa 9.0.2 and LLVM 3.2. It appears that the bitfields
in the prog_src_register struct (/src/mesa/program/prog_instruction.h) do not
translate correctly
https://bugs.freedesktop.org/show_bug.cgi?id=58718
Keith Kriewall keith.kriew...@attachmate.com changed:
What|Removed |Added
CC|
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #2 from Brian Paul bri...@vmware.com ---
Using gcc or clang? Which version?
--
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #3 from Keith Kriewall keith.kriew...@attachmate.com ---
Neither, I'm building both with Visual Studio 2010. LLVM has a
project/solution as generated by CMake, and Mesa builds via scons in a Command
Prompt environment configured as
https://bugs.freedesktop.org/show_bug.cgi?id=58718
Sergey Anikin s_ani...@mail.ru changed:
What|Removed |Added
See Also|
21 matches
Mail list logo