mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
nvc0: we have 16k-sized framebuffers, fix default scissors
For some reason we don't use view volume clipping by default, and use
scissors instead. These scissors were set to an 8k max fb size, while
the driver advertises 16k-sized framebuffers.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit cc79a1483f)
This commit is contained in:
parent
ab70eccc75
commit
2a97a3a8e7
1 changed files with 2 additions and 2 deletions
|
|
@ -1283,8 +1283,8 @@ nvc0_screen_create(struct nouveau_device *dev)
|
|||
for (i = 0; i < NVC0_MAX_VIEWPORTS; i++) {
|
||||
BEGIN_NVC0(push, NVC0_3D(SCISSOR_ENABLE(i)), 3);
|
||||
PUSH_DATA (push, 1);
|
||||
PUSH_DATA (push, 8192 << 16);
|
||||
PUSH_DATA (push, 8192 << 16);
|
||||
PUSH_DATA (push, 16384 << 16);
|
||||
PUSH_DATA (push, 16384 << 16);
|
||||
}
|
||||
|
||||
#define MK_MACRO(m, n) i = nvc0_graph_set_macro(screen, m, i, sizeof(n), n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue