Home
last modified time | relevance | path

Searched refs:surface_params (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_common.c164 const struct pvr_pbe_surf_params *surface_params, in pvr_pbe_pack_state() argument
182 if (surface_params->z_only_render) { in pvr_pbe_pack_state()
196 state.address_low = surface_params->addr; in pvr_pbe_pack_state()
200 state.address_high = surface_params->addr; in pvr_pbe_pack_state()
202 state.source_format = surface_params->source_format; in pvr_pbe_pack_state()
213 state.norm = surface_params->is_normalized; in pvr_pbe_pack_state()
215 state.packmode = surface_params->pbe_packmode; in pvr_pbe_pack_state()
221 switch (surface_params->mem_layout) { in pvr_pbe_pack_state()
243 if (surface_params->gamma == PVR_PBE_GAMMA_ENABLED) { in pvr_pbe_pack_state()
246 if (surface_params->nr_components == 2) in pvr_pbe_pack_state()
[all …]
Dpvr_job_common.h129 const struct pvr_pbe_surf_params *surface_params,
Dpvr_cmd_buffer.c719 struct pvr_pbe_surf_params surface_params; in pvr_setup_pbe_state() local
748 memcpy(surface_params.swizzle, swizzle, sizeof(surface_params.swizzle)); in pvr_setup_pbe_state()
753 &surface_params.source_format, in pvr_setup_pbe_state()
754 &surface_params.gamma); in pvr_setup_pbe_state()
756 surface_params.is_normalized = vk_format_is_normalized(iview->vk.format); in pvr_setup_pbe_state()
757 surface_params.pbe_packmode = pvr_get_pbe_packmode(iview->vk.format); in pvr_setup_pbe_state()
758 surface_params.nr_components = vk_format_get_nr_components(iview->vk.format); in pvr_setup_pbe_state()
763 surface_params.addr = in pvr_setup_pbe_state()
767 surface_params.mem_layout = image->memlayout; in pvr_setup_pbe_state()
768 surface_params.stride = pvr_stride_from_pitch(level_pitch, iview->vk.format); in pvr_setup_pbe_state()
[all …]