/* Stream output. */
case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
- return debug_get_bool_option("R600_STREAMOUT", FALSE) ? 4 : 0;
+ return rscreen->info.r600_has_streamout ? 4 : 0;
case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME:
- return debug_get_bool_option("R600_STREAMOUT", FALSE) ? 1 : 0;
+ return rscreen->info.r600_has_streamout ? 1 : 0;
case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS:
case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
return 16*4;
&ws->info.r600_backend_map))
ws->info.r600_backend_map_valid = TRUE;
}
+
ws->info.r600_virtual_address = FALSE;
if (ws->info.drm_minor >= 13) {
ws->info.r600_virtual_address = TRUE;
&ws->info.r600_ib_vm_max_size))
ws->info.r600_virtual_address = FALSE;
}
+
+ /* XXX don't enable this for R700 yet, it's broken on those asics */
+ ws->info.r600_has_streamout = debug_get_bool_option("R600_STREAMOUT", FALSE);
}
return TRUE;
boolean r600_virtual_address;
uint32_t r600_va_start;
uint32_t r600_ib_vm_max_size;
+ boolean r600_has_streamout;
};
enum radeon_feature_id {