Lines Matching refs:surface
132 /* SURFACE_STATE for renderbuffer or texture surface (see
138 const brw_blorp_surface_info *surface,
145 uint32_t width = surface->width;
146 uint32_t height = surface->height;
152 struct intel_region *region = surface->mt->region;
160 if (surface->mt->align_h == 4)
162 if (surface->mt->align_w == 8)
165 surf->ss0.surface_format = surface->brw_surfaceformat;
167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ?
171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y);
185 uint32_t tiling = surface->map_stencil_as_y_tiled
190 if (surface->map_stencil_as_y_tiled)
194 gen7_set_surface_msaa(surf, surface->num_samples, surface->msaa_layout);
195 if (surface->msaa_layout == INTEL_MSAA_LAYOUT_CMS) {
197 surface->mt->mcs_mt, is_render_target);
207 /* Emit relocation to surface contents */
256 * because we always setup the surface state as if firstLevel ==