nv50,nvc0: add missing CAPs for unsupported features
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 27 Dec 2018 01:27:29 +0000 (20:27 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 27 Dec 2018 01:28:07 +0000 (20:28 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c

index 4defb29d369b163d94ce5952fc3a31e529758b9f..d83926f2b1c5ae3bd3019978368e78c44213e7bf 100644 (file)
@@ -308,6 +308,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS:
    case PIPE_CAP_MAX_COMBINED_HW_ATOMIC_COUNTERS:
    case PIPE_CAP_MAX_COMBINED_HW_ATOMIC_COUNTER_BUFFERS:
+   case PIPE_CAP_SURFACE_SAMPLE_COUNT:
+   case PIPE_CAP_TGSI_ATOMFADD:
       return 0;
 
    case PIPE_CAP_VENDOR_ID:
index b68eddd13384fd0e8ca7aa9af34922ac87b03f7f..f5f77773cfddb2dba49a661765c8383f4acf349b 100644 (file)
@@ -333,6 +333,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS:
    case PIPE_CAP_MAX_COMBINED_HW_ATOMIC_COUNTERS:
    case PIPE_CAP_MAX_COMBINED_HW_ATOMIC_COUNTER_BUFFERS:
+   case PIPE_CAP_SURFACE_SAMPLE_COUNT:
       return 0;
 
    case PIPE_CAP_VENDOR_ID: