• Home
  • Raw
  • Download

Lines Matching refs:pres

45                       struct pipe_resource *pres)  in zink_resource_destroy()  argument
48 struct zink_resource *res = zink_resource(pres); in zink_resource_destroy()
49 if (pres->target == PIPE_BUFFER) in zink_resource_destroy()
476 struct pipe_resource *pres, in zink_transfer_map() argument
484 struct zink_resource *res = zink_resource(pres); in zink_transfer_map()
492 pipe_resource_reference(&trans->base.resource, pres); in zink_transfer_map()
494 trans->base.resource = pres; in zink_transfer_map()
500 if (pres->target == PIPE_BUFFER) { in zink_transfer_map()
541 enum pipe_format format = pres->format; in zink_transfer_map()
543 format = util_format_get_depth_only(pres->format); in zink_transfer_map()
551 struct pipe_resource templ = *pres; in zink_transfer_map()
644 zink_resource_get_separate_stencil(struct pipe_resource *pres) in zink_resource_get_separate_stencil() argument
649 if (pres->next && pres->next->format == PIPE_FORMAT_S8_UINT) in zink_resource_get_separate_stencil()
650 return pres->next; in zink_resource_get_separate_stencil()
711 zink_resource_set_separate_stencil(struct pipe_resource *pres, in zink_resource_set_separate_stencil() argument
714 assert(util_format_has_depth(util_format_description(pres->format))); in zink_resource_set_separate_stencil()
715 pipe_resource_reference(&pres->next, stencil); in zink_resource_set_separate_stencil()
719 zink_resource_get_internal_format(struct pipe_resource *pres) in zink_resource_get_internal_format() argument
721 struct zink_resource *res = zink_resource(pres); in zink_resource_get_internal_format()