Searched refs:ubo_sizes (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 78 uint32_t ubo_sizes[PIPE_MAX_CONSTANT_BUFFERS]; member 297 c->ubo_sizes[decl->Dim.Index2D] = in ttn_emit_declaration() 298 MAX2(c->ubo_sizes[decl->Dim.Index2D], decl->Range.Last * 16); in ttn_emit_declaration() 735 nir_intrinsic_set_range(load, c->ubo_sizes[dim->Index] - base); in ttn_src_for_file_and_index() 742 nir_intrinsic_set_range(load, c->ubo_sizes[0] - index); in ttn_src_for_file_and_index()
|
/external/virglrenderer/src/ |
D | vrend_shader.c | 231 int ubo_sizes[32]; member 1527 ctx->ubo_sizes[decl->Dim.Index2D] = decl->Range.Last + 1; in iter_declaration() 5880 … "uniform %subo { vec4 ubocontents[%d]; } %suboarr[%d];\n", cname, ctx->ubo_sizes[first], cname, n… in emit_ios_common() 5885 …trbufs, "uniform %subo%d { vec4 %subo%dcontents[%d]; };\n", cname, i, cname, i, ctx->ubo_sizes[i]); in emit_ios_common()
|