amd gfx card fails to implement scissors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GameApiBuilder |
Fix Committed
|
Undecided
|
Unassigned | ||
Mesa |
New
|
Undecided
|
Unassigned |
Bug Description
The code that tries to clip the rendering looks like this:
void render()
{
OpenglLowApi *ogl = g_low->ogl;
if (is_visible())
{
ogl-
if (g_event_
float scale_x = float(g_
float scale_y = float(g_
//std::cout << "SCISSOR SIZE: " << size.dx << " " << size.dy << " " << scale_x << " " << scale_y << std::endl;
ogl-
} else {
ogl-
}
vec[
ogl-
}
}
These glScissor calls went broken in most recent amd driver update and it simply doesn't clip the drawing to the scissor rectangle.
The gpu used in the bug was:
GPU Vendor: AMD()
GPU Renderer:AMD Radeon Vega 8 Graphics (raven, LLVM 15.0.2, DRM 3.47, 5.19.0-31-generic)
GPU Version:OpenGL ES 3.2 Mesa 22.2.5