Lines Matching refs:swc

315    ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader);  in define_gb_shader_vgpu9()
329 struct svga_winsys_context *swc = svga->swc; in define_gb_shader_vgpu10() local
343 variant->gb_shader = swc->shader_create(swc, in define_gb_shader_vgpu10()
361 ret = SVGA3D_vgpu10_DefineAndBindShader(swc, variant->gb_shader, in define_gb_shader_vgpu10()
370 swc->shader_destroy(swc, variant->gb_shader); in define_gb_shader_vgpu10()
412 ret = SVGA3D_DefineShader(svga->swc, in svga_define_shader()
452 ret = SVGA3D_vgpu10_SetShader(svga->swc, type, gbshader, id); in svga_set_shader()
454 ret = SVGA3D_SetGBShader(svga->swc, type, gbshader); in svga_set_shader()
457 ret = SVGA3D_SetShader(svga->swc, type, id); in svga_set_shader()
481 struct svga_winsys_context *swc = svga->swc; in svga_destroy_shader_variant() local
482 swc->shader_destroy(swc, variant->gb_shader); in svga_destroy_shader_variant()
483 ret = SVGA3D_vgpu10_DestroyShader(svga->swc, variant->id); in svga_destroy_shader_variant()
487 ret = SVGA3D_vgpu10_DestroyShader(svga->swc, variant->id); in svga_destroy_shader_variant()
499 ret = SVGA3D_DestroyShader(svga->swc, variant->id, type); in svga_destroy_shader_variant()
503 ret = SVGA3D_DestroyShader(svga->swc, variant->id, type); in svga_destroy_shader_variant()
529 struct svga_winsys_context *swc = svga->swc; in svga_rebind_shaders() local
539 if (swc->resource_rebind == NULL) { in svga_rebind_shaders()
548 ret = swc->resource_rebind(swc, NULL, hw->vs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
555 ret = swc->resource_rebind(swc, NULL, hw->gs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
562 ret = swc->resource_rebind(swc, NULL, hw->fs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()