Lines Matching defs:surface
1048 struct v3d_surface *surface = CALLOC_STRUCT(v3d_surface);
1051 if (!surface)
1054 struct pipe_surface *psurf = &surface->base;
1069 surface->offset = v3d_layer_offset(ptex, level,
1071 surface->tiling = slice->tiling;
1073 surface->format = v3d_get_rt_format(&screen->devinfo, psurf->format);
1078 surface->swap_rb = (desc->swizzle[0] == PIPE_SWIZZLE_Z &&
1084 surface->internal_type = V3D_INTERNAL_TYPE_DEPTH_16;
1088 surface->internal_type = V3D_INTERNAL_TYPE_DEPTH_32F;
1091 surface->internal_type = V3D_INTERNAL_TYPE_DEPTH_24;
1096 surface->format,
1098 surface->internal_type = type;
1099 surface->internal_bpp = bpp;
1102 if (surface->tiling == V3D_TILING_UIF_NO_XOR ||
1103 surface->tiling == V3D_TILING_UIF_XOR) {
1104 surface->padded_height_of_output_image_in_uif_blocks =
1110 surface->separate_stencil =
1115 return &surface->base;