Searched refs:surf_state (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 2258 alloc_surface_states(struct iris_surface_state *surf_state, in alloc_surface_states() argument 2269 free(surf_state->cpu); in alloc_surface_states() 2271 surf_state->num_states = util_bitcount(aux_usages); in alloc_surface_states() 2272 surf_state->cpu = calloc(surf_state->num_states, surf_size); in alloc_surface_states() 2273 surf_state->ref.offset = 0; in alloc_surface_states() 2274 pipe_resource_reference(&surf_state->ref.res, NULL); in alloc_surface_states() 2276 assert(surf_state->cpu); in alloc_surface_states() 2284 struct iris_surface_state *surf_state) in upload_surface_states() argument 2287 const unsigned bytes = surf_state->num_states * surf_size; in upload_surface_states() 2290 upload_state(mgr, &surf_state->ref, bytes, SURFACE_STATE_ALIGNMENT); in upload_surface_states() [all …]
|
D | iris_program.c | 190 struct iris_state_ref *surf_state, in iris_upload_ubo_ssbo_surf_state() argument 198 upload_state(ice->state.surface_uploader, surf_state, in iris_upload_ubo_ssbo_surf_state() 201 surf_state->res = NULL; in iris_upload_ubo_ssbo_surf_state() 206 struct iris_bo *surf_bo = iris_resource_bo(surf_state->res); in iris_upload_ubo_ssbo_surf_state() 207 surf_state->offset += iris_bo_offset_from_base_address(surf_bo); in iris_upload_ubo_ssbo_surf_state() 2118 struct iris_state_ref *surf_state = &shs->constbuf_surf_state[i]; in iris_update_pull_constant_descriptors() local 2119 if (!surf_state->res && cbuf->buffer) { in iris_update_pull_constant_descriptors() 2120 iris_upload_ubo_ssbo_surf_state(ice, cbuf, surf_state, in iris_update_pull_constant_descriptors()
|
D | iris_context.h | 929 struct iris_state_ref *surf_state,
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 4980 uint32_t *surf_state, in emit_surface_state() argument 5027 isl_surf_fill_state(isl_dev, surf_state, in emit_surface_state() 5058 uint64_t *aux_addr = (uint64_t *)(surf_state + (isl_dev->ss.aux_addr_offset / 4)); in emit_surface_state() 5064 uint32_t *aux_addr = surf_state + (isl_dev->ss.aux_addr_offset / 4); in emit_surface_state() 5095 uint32_t *surf_state = stream_state(batch, isl_dev->ss.size, isl_dev->ss.align, &offset); in emit_surface() local 5100 surf_state, offset); in emit_surface() 5113 uint32_t *surf_state = stream_state(batch, isl_dev->ss.size, isl_dev->ss.align, &offset); in emit_rt_surface() local 5117 surf_state, offset); in emit_rt_surface() 5128 uint32_t *surf_state = stream_state(batch, isl_dev->ss.size, in emit_grid() local 5130 isl_buffer_fill_state(isl_dev, surf_state, in emit_grid() [all …]
|