Home
last modified time | relevance | path

Searched refs:offlen (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c201 uint32_t type, uint32_t offlen, in virgl_emit_shader_header() argument
207 virgl_encoder_write_dword(ctx->cbuf, offlen); in virgl_emit_shader_header()
283 uint32_t length, offlen; in virgl_encode_shader_state() local
294 offlen = VIRGL_OBJ_SHADER_OFFSET_VAL(shader_len); in virgl_encode_shader_state()
296offlen = VIRGL_OBJ_SHADER_OFFSET_VAL((uintptr_t)sptr - (uintptr_t)str) | VIRGL_OBJ_SHADER_OFFSET_C… in virgl_encode_shader_state()
298 virgl_emit_shader_header(ctx, handle, len, type, offlen, num_tokens); in virgl_encode_shader_state()
/external/virglrenderer/tests/
Dtestvirgl_encode.c194 uint32_t type, uint32_t offlen, in virgl_emit_shader_header() argument
200 virgl_encoder_write_dword(ctx->cbuf, offlen); in virgl_emit_shader_header()
272 uint32_t length, offlen; in virgl_encode_shader_state() local
283 offlen = VIRGL_OBJ_SHADER_OFFSET_VAL(shader_len); in virgl_encode_shader_state()
285offlen = VIRGL_OBJ_SHADER_OFFSET_VAL((uintptr_t)sptr - (uintptr_t)str) | VIRGL_OBJ_SHADER_OFFSET_C… in virgl_encode_shader_state()
287 virgl_emit_shader_header(ctx, handle, len, type, offlen, num_tokens); in virgl_encode_shader_state()
/external/virglrenderer/src/
Dvrend_renderer.h118 const char *shd_text, uint32_t offlen, uint32_t num_tokens,
Dvrend_decode.c72 unsigned num_tokens, num_so_outputs, offlen; in vrend_decode_create_shader() local
81 offlen = get_buf_entry(ctx, VIRGL_OBJ_SHADER_OFFSET); in vrend_decode_create_shader()
118 …der(ctx->grctx, handle, &so_info, req_local_mem, (const char *)shd_text, offlen, num_tokens, type,… in vrend_decode_create_shader()
Dvrend_renderer.c2923 const char *shd_text, uint32_t offlen, uint32_t num_tokens, in vrend_create_shader() argument
2948 if (offlen & VIRGL_OBJ_SHADER_OFFSET_CONT) in vrend_create_shader()
2950 else if (((offlen + 3) / 4) > pkt_length) in vrend_create_shader()
2968 sel->buf_len = ((offlen + 3) / 4) * 4; /* round up buffer size */ in vrend_create_shader()
2987 offlen &= ~VIRGL_OBJ_SHADER_OFFSET_CONT; in vrend_create_shader()
2988 if (offlen != sel->buf_offset) { in vrend_create_shader()
2990 offlen, sel->buf_offset); in vrend_create_shader()