Lines Matching refs:vrs
460 struct virgl_rasterizer_state *vrs = CALLOC_STRUCT(virgl_rasterizer_state); in virgl_create_rasterizer_state() local
462 if (!vrs) in virgl_create_rasterizer_state()
464 vrs->rs = *rs_state; in virgl_create_rasterizer_state()
465 vrs->handle = virgl_object_assign_handle(); in virgl_create_rasterizer_state()
470 virgl_encode_rasterizer_state(vctx, vrs->handle, rs_state); in virgl_create_rasterizer_state()
471 return (void *)vrs; in virgl_create_rasterizer_state()
480 struct virgl_rasterizer_state *vrs = rs_state; in virgl_bind_rasterizer_state() local
481 vctx->rs_state = *vrs; in virgl_bind_rasterizer_state()
482 handle = vrs->handle; in virgl_bind_rasterizer_state()
491 struct virgl_rasterizer_state *vrs = rs_state; in virgl_delete_rasterizer_state() local
492 virgl_encode_delete_object(vctx, vrs->handle, VIRGL_OBJECT_RASTERIZER); in virgl_delete_rasterizer_state()
493 FREE(vrs); in virgl_delete_rasterizer_state()