Lines Matching refs:swc
431 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader); in define_gb_shader_vgpu9()
444 struct svga_winsys_context *swc = svga->swc; in define_gb_shader_vgpu10() local
459 variant->gb_shader = swc->shader_create(swc, in define_gb_shader_vgpu10()
481 ret = SVGA3D_vgpu10_DefineAndBindShader(swc, variant->gb_shader, in define_gb_shader_vgpu10()
491 swc->shader_destroy(swc, variant->gb_shader); in define_gb_shader_vgpu10()
532 ret = SVGA3D_DefineShader(svga->swc, in svga_define_shader()
575 ret = SVGA3D_vgpu10_SetShader(svga->swc, type, gbshader, id); in svga_set_shader()
577 ret = SVGA3D_SetGBShader(svga->swc, type, gbshader); in svga_set_shader()
580 ret = SVGA3D_SetShader(svga->swc, type, id); in svga_set_shader()
626 struct svga_winsys_context *swc = svga->swc; in svga_destroy_shader_variant() local
627 swc->shader_destroy(swc, variant->gb_shader); in svga_destroy_shader_variant()
628 SVGA_RETRY(svga, SVGA3D_vgpu10_DestroyShader(svga->swc, variant->id)); in svga_destroy_shader_variant()
639 SVGA_RETRY(svga, SVGA3D_DestroyShader(svga->swc, variant->id, in svga_destroy_shader_variant()
663 struct svga_winsys_context *swc = svga->swc; in svga_rebind_shaders() local
673 if (swc->resource_rebind == NULL) { in svga_rebind_shaders()
684 ret = swc->resource_rebind(swc, NULL, hw->vs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
691 ret = swc->resource_rebind(swc, NULL, hw->gs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
698 ret = swc->resource_rebind(swc, NULL, hw->fs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
705 ret = swc->resource_rebind(swc, NULL, hw->tcs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
712 ret = swc->resource_rebind(swc, NULL, hw->tes->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()