Home
last modified time | relevance | path

Searched refs:glarray (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c252 const struct gl_vertex_array *glarray) in brw_get_vertex_surface_type() argument
254 int size = glarray->Size; in brw_get_vertex_surface_type()
261 _mesa_enum_to_string(glarray->Type), in brw_get_vertex_surface_type()
262 glarray->Size, glarray->Normalized); in brw_get_vertex_surface_type()
264 if (glarray->Integer) { in brw_get_vertex_surface_type()
265 assert(glarray->Format == GL_RGBA); /* sanity check */ in brw_get_vertex_surface_type()
266 switch (glarray->Type) { in brw_get_vertex_surface_type()
291 } else if (glarray->Type == GL_UNSIGNED_INT_10F_11F_11F_REV) { in brw_get_vertex_surface_type()
293 } else if (glarray->Normalized) { in brw_get_vertex_surface_type()
294 switch (glarray->Type) { in brw_get_vertex_surface_type()
[all …]
Dbrw_draw.c294 brw->vb.inputs[i].glarray = arrays[i]; in brw_merge_inputs()
307 switch (brw->vb.inputs[i].glarray->Type) { in brw_merge_inputs()
310 wa_flags = brw->vb.inputs[i].glarray->Size; in brw_merge_inputs()
318 if (brw->vb.inputs[i].glarray->Format == GL_BGRA) in brw_merge_inputs()
321 if (brw->vb.inputs[i].glarray->Normalized) in brw_merge_inputs()
323 else if (!brw->vb.inputs[i].glarray->Integer) in brw_merge_inputs()
Dbrw_context.h440 const struct gl_vertex_array *glarray; member
1455 const struct gl_vertex_array *glarray);
DgenX_state_upload.c539 uint32_t format = brw_get_vertex_surface_type(brw, input->glarray); in genX()
632 uint32_t format = brw_get_vertex_surface_type(brw, input->glarray); in genX()
674 upload_format_size(upload_format) : input->glarray->Size; in genX()
681 if (GEN_GEN >= 8 && input->glarray->Doubles) { in genX()
683 } else if (input->glarray->Integer) { in genX()
708 if (input->glarray->Doubles && !input->is_dual_slot) { in genX()
797 brw_get_vertex_surface_type(brw, gen6_edgeflag_input->glarray); in genX()