https://bugs.freedesktop.org/show_bug.cgi?id=105807
Bug ID: 105807
Summary: [Regression, bisected]: 3D Rendering not working
correctly in Warhammer 40k: Dawn of War II
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #1 from b...@besd.de ---
Created attachment 138419
--> https://bugs.freedesktop.org/attachment.cgi?id=138419&action=edit
Ingame Image
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contac
https://bugs.freedesktop.org/show_bug.cgi?id=105807
Timothy Arceri changed:
What|Removed |Added
Component|Mesa core |Drivers/DRI/i965
QA Contact|me
https://bugs.freedesktop.org/show_bug.cgi?id=105807
Alan Swanson changed:
What|Removed |Added
Assignee|intel-3d-bugs@lists.freedes |mesa-dev@lists.freedesktop.
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #8 from b...@besd.de ---
These are from shaderdumps (good thing I have the sha naming in place otherwise
these would have been overwritten ;)
When GLSL is not forced
[require]
GLSL >= 0.00 // this is generated by OpenGL so maybe so
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #9 from Timothy Arceri ---
(In reply to Alan Swanson from comment #7)
> Just to confirm with Ben, this very definitely affects radeonsi not just
> i965. Forcing MESA_GLSL_VERSION_OVERRIDE=130 resolves issue so perhaps a
> game issue
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #10 from Timothy Arceri ---
(In reply to Timothy Arceri from comment #9)
> (In reply to Alan Swanson from comment #7)
> > Just to confirm with Ben, this very definitely affects radeonsi not just
> > i965. Forcing MESA_GLSL_VERSION_OV
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #11 from b...@besd.de ---
I think this function is the problem:
/**
* Return the string for a glGetString(GL_SHADING_LANGUAGE_VERSION) query.
*/
static const GLubyte *
shading_language_version(struct gl_context *ctx)
{
switch (
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #12 from b...@besd.de ---
OpenGL core spec 4.5 page 4 specifies:
"The core profile of OpenGL 4.5 is also guaranteed to support all previous ver-
sions of the OpenGL Shading Language back to version 1.40. In some implemen-
tations t
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #13 from b...@besd.de ---
from mesa/main/version.c: (the one above is getstring.c)
int
_mesa_get_shading_language_version(const struct gl_context *ctx,
int index,
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #14 from b...@besd.de ---
That would explain why a program gets a zero in return when requesting a shader
language lower than the one hardcoded in comment 11. Which is exactly what
happen in comment 8.
Or at least that seems reasona
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #15 from b...@besd.de ---
I'm probably too tired, but this should work I think except it doesnt.
// Little test program to dump supported shader versions
// compiled like this
// gcc test.c -I/usr/include/GL/ -L/usr/lib/x86_64-lin
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #16 from Timothy Arceri ---
Ok so I found the problem. We didn't support compat shaders on GLSL 1.40 only
on GLSL versions higher and lower.
I think the Version == 0 might be a separate issue as per comment 15 and it
would be great
https://bugs.freedesktop.org/show_bug.cgi?id=105807
Timothy Arceri changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #18 from b...@besd.de ---
Just confirmed that it works now.
Thanks!
Maybe this should be in stable too?
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=105807
--- Comment #19 from Timothy Arceri ---
(In reply to b...@besd.de from comment #18)
> Just confirmed that it works now.
>
> Thanks!
>
> Maybe this should be in stable too?
Fixes: a0c8b49284ef "mesa: enable OpenGL 3.1 with ARB_compatibility"
16 matches
Mail list logo