U_VERTEX_FETCH_DWORD_ALIGNED);
if (!r300->vbuf_mgr)
goto fail;
+ r300->vbuf_mgr->caps.format_fixed32 = 0;
r300->blitter = util_blitter_create(&r300->context);
if (r300->blitter == NULL)
format == PIPE_FORMAT_R16G16_FLOAT ||
format == PIPE_FORMAT_R16G16B16_FLOAT ||
format == PIPE_FORMAT_R16G16B16A16_FLOAT;
+ boolean is_fixed = format == PIPE_FORMAT_R32_FIXED ||
+ format == PIPE_FORMAT_R32G32_FIXED ||
+ format == PIPE_FORMAT_R32G32B32_FIXED ||
+ format == PIPE_FORMAT_R32G32B32A32_FIXED;
if (!util_format_is_supported(format, usage))
return FALSE;
/* Check vertex buffer format support. */
if (usage & PIPE_BIND_VERTEX_BUFFER &&
- /* Half float is supported on >= RV350. */
+ /* Half float is supported on >= R400. */
(is_r400 || is_r500 || !is_half_float) &&
- r300_translate_vertex_data_type(format) != R300_INVALID_FORMAT) {
+ /* We have a fallback for FIXED. */
+ (is_fixed || r300_translate_vertex_data_type(format) != R300_INVALID_FORMAT)) {
retval |= PIPE_BIND_VERTEX_BUFFER;
}