Home
last modified time | relevance | path

Searched refs:SVGA3D_INVALID_ID (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_sampler.c131 if (sv->id == SVGA3D_INVALID_ID) { in svga_validate_pipe_sampler_view()
232 sv->id = SVGA3D_INVALID_ID; in svga_validate_pipe_sampler_view()
268 assert(sv->id != SVGA3D_INVALID_ID); in update_sampler_resources()
274 ids[i] = SVGA3D_INVALID_ID; in update_sampler_resources()
280 ids[i] = SVGA3D_INVALID_ID; in update_sampler_resources()
429 assert(id != SVGA3D_INVALID_ID); in update_samplers()
433 ids[i] = SVGA3D_INVALID_ID; in update_samplers()
440 assert(id != SVGA3D_INVALID_ID); in update_samplers()
467 ids[i] = SVGA3D_INVALID_ID; in update_samplers()
567 assert(sv->id != SVGA3D_INVALID_ID); in update_cs_sampler_resources()
[all …]
Dsvga_state_uav.c53 cache->uaViews[i].uaViewId = SVGA3D_INVALID_ID; in svga_uav_cache_init()
143 (cache->uaViews[i].uaViewId != SVGA3D_INVALID_ID) && in svga_uav_cache_find_uav()
199 assert(uav->uaViewId != SVGA3D_INVALID_ID); in svga_uav_cache_use_uav()
218 if (uav->uaViewId != SVGA3D_INVALID_ID) { in svga_uav_cache_purge()
244 uav->uaViewId = SVGA3D_INVALID_ID; in svga_uav_cache_purge()
277 uaViewId = SVGA3D_INVALID_ID; in svga_create_uav()
403 if (uaViewId == SVGA3D_INVALID_ID) in svga_create_uav_list()
470 if (uaViewId == SVGA3D_INVALID_ID) in svga_create_uav_list()
542 if (uaViewId == SVGA3D_INVALID_ID) in svga_create_uav_list()
580 uaViewIds[u] = SVGA3D_INVALID_ID; in svga_create_uav_list()
Dsvga_pipe_rasterizer.c180 return SVGA3D_INVALID_ID; in svga_define_rasterizer_object()
395 if (rast->id == SVGA3D_INVALID_ID) { in svga_create_rasterizer_state()
398 assert(rast->id != SVGA3D_INVALID_ID); in svga_create_rasterizer_state()
409 rast->altRastIds[i] = SVGA3D_INVALID_ID; in svga_create_rasterizer_state()
468 svga->state.hw_draw.rasterizer_id = SVGA3D_INVALID_ID; in svga_delete_rasterizer_state()
Dsvga_pipe_depthstencil.c247 assert(ds->id != SVGA3D_INVALID_ID); in svga_delete_depth_stencil_state()
253 svga->state.hw_draw.depth_stencil_id = SVGA3D_INVALID_ID; in svga_delete_depth_stencil_state()
256 ds->id = SVGA3D_INVALID_ID; in svga_delete_depth_stencil_state()
Dsvga_swtnl_state.c310 if (!any_change && svga_render->layout_id != SVGA3D_INVALID_ID) { in svga_swtnl_update_vdecl()
314 if (svga_render->layout_id != SVGA3D_INVALID_ID) { in svga_swtnl_update_vdecl()
325 svga->state.hw_draw.layout_id = SVGA3D_INVALID_ID; in svga_swtnl_update_vdecl()
Dsvga_pipe_sampler.c203 ss->id[1] = SVGA3D_INVALID_ID; in define_sampler_state_object()
345 if (ss->id[i] != SVGA3D_INVALID_ID) { in svga_delete_sampler_state()
378 sv->id = SVGA3D_INVALID_ID; in svga_create_sampler_view()
395 if (svga_have_vgpu10(svga) && sv->id != SVGA3D_INVALID_ID) { in svga_sampler_view_destroy()
Dsvga_pipe_vertex.c299 svga->state.hw_draw.layout_id = SVGA3D_INVALID_ID; in svga_delete_vertex_elements_state()
302 velems->id = SVGA3D_INVALID_ID; in svga_delete_vertex_elements_state()
Dsvga_pipe_clear.c344 assert(svga_surface(dsv)->view_id != SVGA3D_INVALID_ID); in svga_clear_texture()
409 assert(svga_surface(rtv)->view_id != SVGA3D_INVALID_ID); in svga_clear_texture()
481 assert(svga_surface(rtv)->view_id != SVGA3D_INVALID_ID); in svga_try_clear_render_target()
Dsvga_image_view.c62 return SVGA3D_INVALID_ID; in svga_create_uav_image()
106 if (uaViewId == SVGA3D_INVALID_ID) in svga_create_uav_image()
Dsvga_pipe_blend.c441 if (svga_have_vgpu10(svga) && bs->id != SVGA3D_INVALID_ID) { in svga_delete_blend_state()
445 svga->state.hw_draw.blend_id = SVGA3D_INVALID_ID; in svga_delete_blend_state()
448 bs->id = SVGA3D_INVALID_ID; in svga_delete_blend_state()
Dsvga_pipe_draw.c107 range.indexArray.surfaceId = SVGA3D_INVALID_ID; in retry_draw_auto()
156 range.indexArray.surfaceId = SVGA3D_INVALID_ID; in retry_draw_indirect()
Dsvga_shader.c516 key->images[i].uav_index = SVGA3D_INVALID_ID; in svga_init_shader_key_common()
528 key->shader_buf_uav_index[i] = SVGA3D_INVALID_ID; in svga_init_shader_key_common()
539 key->atomic_buf_uav_index[i] = SVGA3D_INVALID_ID; in svga_init_shader_key_common()
748 unsigned id = variant ? variant->id : SVGA3D_INVALID_ID; in svga_set_shader()
Dsvga_surface.c331 s->view_id = SVGA3D_INVALID_ID; in svga_create_surface_view()
580 if (s && s->view_id == SVGA3D_INVALID_ID) { in svga_validate_surface_view()
648 s->view_id = SVGA3D_INVALID_ID; in svga_validate_surface_view()
687 if (s->view_id != SVGA3D_INVALID_ID) { in svga_surface_destroy()
Dsvga_state_constants.c653 unsigned srvid = SVGA3D_INVALID_ID; in emit_rawbuf()
670 if (rawbuf->srvid != SVGA3D_INVALID_ID) { in emit_rawbuf()
672 rawbuf->srvid = SVGA3D_INVALID_ID; in emit_rawbuf()
709 assert(rawbuf->srvid != SVGA3D_INVALID_ID); in emit_rawbuf()
Dsvga_pipe_streamout.c229 decls[numDecls].registerIndex = SVGA3D_INVALID_ID; in svga_create_stream_output()
302 unsigned id = streamout ? streamout->id : SVGA3D_INVALID_ID; in svga_set_stream_output()
Dsvga_context.c330 svga->state.hw_draw.rawbufs[shader][i].srvid = SVGA3D_INVALID_ID; in svga_context_create()
357 svga->pred.query_id = SVGA3D_INVALID_ID; in svga_context_create()
Dsvga_state_rss.c379 if (rast->altRastIds[samples] == SVGA3D_INVALID_ID) { in get_alt_rasterizer_state_id()
506 if (rastId == SVGA3D_INVALID_ID) in emit_rss_vgpu10()
Dsvga_pipe_query.c1242 queryId = SVGA3D_INVALID_ID; in svga_render_condition()
1322 svga->pred.query_id == SVGA3D_INVALID_ID) { in svga_toggle_render_condition()
1332 query_id = on ? svga->pred.query_id : SVGA3D_INVALID_ID; in svga_toggle_render_condition()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c226 return SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
271 buffer_handle : SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
310 buffer_handle : SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
332 return SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
558 arg.context_handle = (vws->base.have_vgpu10 ? cid : SVGA3D_INVALID_ID); in vmw_ioctl_command()
878 sh_arg.buffer_handle = SVGA3D_INVALID_ID; in vmw_ioctl_shader_create()
879 sh_arg.shader_handle = SVGA3D_INVALID_ID; in vmw_ioctl_shader_create()
896 return SVGA3D_INVALID_ID; in vmw_ioctl_shader_create()
Dvmw_shader.h54 assert(!shader || shader->shid != SVGA3D_INVALID_ID); in svga_winsys_shader()
Dvmw_surface.h74 assert(!surf || surf->sid != SVGA3D_INVALID_ID); in svga_winsys_surface()
Dvmw_screen_svga.c567 if (surface->sid == SVGA3D_INVALID_ID) { in vmw_svga_winsys_surface_create()
585 if (surface->sid == SVGA3D_INVALID_ID) in vmw_svga_winsys_surface_create()
614 if(surface->sid == SVGA3D_INVALID_ID) in vmw_svga_winsys_surface_create()
748 if (shader->shid == SVGA3D_INVALID_ID) in vmw_svga_winsys_shader_create()
Dvmw_shader.c60 dst->shid = SVGA3D_INVALID_ID; in vmw_svga_winsys_shader_reference()
Dvmw_context.c540 *where = SVGA3D_INVALID_ID; in vmw_swc_surface_relocation()
542 *mobid = SVGA3D_INVALID_ID; in vmw_swc_surface_relocation()
586 *shid = SVGA3D_INVALID_ID; in vmw_swc_shader_relocation()
Dvmw_surface.c268 dst->sid = SVGA3D_INVALID_ID; in vmw_svga_winsys_surface_reference()

12