summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorKrzysztof Sobiecki <sobkas@gmail.com>2015-08-20 23:19:30 +0200
committerAxel Davy <axel.davy@ens.fr>2015-08-21 22:21:48 +0200
commit20746c2e7d8d065445bbb30f0d1383c30459a784 (patch)
tree22fd669ec7047f26198d9ea91b3d2bedfaabcef2 /src/gallium/state_trackers
parentf57e9c77e388e1c5373265f4bc15434e63477757 (diff)
st/nine: Always use user constant buffers
We had several reports of users hitting bugs with the other path to upload constants, and switching to the user constant buffer path solves the bugs. User constant buffers are expected to be slower for Nvidia cards, so ideally this patch should be reverted when the path is fixed. Reviewed-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: Krzysztof Sobiecki <sobkas@gmail.com>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/device9.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c
index f136b048cf7..99197a4361b 100644
--- a/src/gallium/state_trackers/nine/device9.c
+++ b/src/gallium/state_trackers/nine/device9.c
@@ -307,10 +307,12 @@ NineDevice9_ctor( struct NineDevice9 *This,
if (strstr(pScreen->get_name(pScreen), "AMD") ||
strstr(pScreen->get_name(pScreen), "ATI")) {
- This->prefer_user_constbuf = TRUE;
This->driver_bugs.buggy_barycentrics = TRUE;
}
+ /* Disable NV path for now, needs some fixes */
+ This->prefer_user_constbuf = TRUE;
+
tmpl.target = PIPE_BUFFER;
tmpl.format = PIPE_FORMAT_R8_UNORM;
tmpl.height0 = 1;