Searched refs:grview (Results 1 – 1 of 1) sorted by relevance
659 struct virgl_sampler_view *grview; in virgl_create_sampler_view() local666 grview = CALLOC_STRUCT(virgl_sampler_view); in virgl_create_sampler_view()667 if (!grview) in virgl_create_sampler_view()674 grview->base = *state; in virgl_create_sampler_view()675 grview->base.reference.count = 1; in virgl_create_sampler_view()677 grview->base.texture = NULL; in virgl_create_sampler_view()678 grview->base.context = ctx; in virgl_create_sampler_view()679 pipe_resource_reference(&grview->base.texture, texture); in virgl_create_sampler_view()680 grview->handle = handle; in virgl_create_sampler_view()681 return &grview->base; in virgl_create_sampler_view()[all …]