return 0;
case PIPE_CAP_COMPUTE_SHADER_DERIVATIVES:
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
return 0;
+ case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
+ return 2;
+
case PIPE_CAP_DMABUF:
#ifdef PIPE_OS_LINUX
return 1;
/* only a4xx, requires new enough kernel so we know max_freq: */
return (screen->max_freq > 0) && (is_a4xx(screen) || is_a5xx(screen) || is_a6xx(screen));
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_VENDOR_ID:
return 0x5143;
case PIPE_CAP_DEVICE_ID:
case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS:
return 0;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_MAX_GS_INVOCATIONS:
return 32;
case PIPE_CAP_IMAGE_LOAD_FORMATTED:
return 0;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_MAX_GS_INVOCATIONS:
return 32;
case PIPE_CAP_MAX_SHADER_BUFFER_SIZE:
case PIPE_CAP_IMAGE_LOAD_FORMATTED:
return 0;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_VENDOR_ID:
return 0x10de;
case PIPE_CAP_DEVICE_ID: {
case PIPE_CAP_IMAGE_LOAD_FORMATTED:
return 0;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_VENDOR_ID:
return 0x10de;
case PIPE_CAP_DEVICE_ID: {
case PIPE_CAP_MAX_VARYINGS:
return 10;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_VENDOR_ID:
return 0x1002;
case PIPE_CAP_DEVICE_ID:
case PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS:
return 8;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
/* Unsupported features. */
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT:
case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
case PIPE_CAP_ENDIANNESS:
return PIPE_ENDIAN_LITTLE;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
-
case PIPE_CAP_VENDOR_ID:
return ATI_VENDOR_ID;
case PIPE_CAP_DEVICE_ID:
case PIPE_CAP_PACKED_UNIFORMS:
case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS:
return 0;
- case PIPE_CAP_MAX_FRAMES_IN_FLIGHT:
- return 2;
case PIPE_CAP_MAX_GS_INVOCATIONS:
return 32;
case PIPE_CAP_MAX_SHADER_BUFFER_SIZE: