aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-12-07 10:08:38 +0100
committerSamuel Pitoiset <[email protected]>2018-12-07 15:06:29 +0100
commite8a383ce673555d531a3355c710fb159acf14e1a (patch)
tree01612998b6f16cfadbbfbdbd7dcacf77ee244cdc /src
parent96d4ecbb110f085d965f26063d9bfe9c6c02bc11 (diff)
gallium: add missing PIPE_CAP_SURFACE_SAMPLE_COUNT default value
Fixes: 2710c40e3c8 ("gallium: Add new PIPE_CAP_SURFACE_SAMPLE_COUNT") Signed-off-by: Samuel Pitoiset <[email protected]> Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
index 73dbbee94a9..aef21bc46ae 100644
--- a/src/gallium/auxiliary/util/u_screen.c
+++ b/src/gallium/auxiliary/util/u_screen.c
@@ -326,6 +326,9 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
case PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET:
return 2047;
+ case PIPE_CAP_SURFACE_SAMPLE_COUNT:
+ return 0;
+
default:
unreachable("bad PIPE_CAP_*");
}