Home
last modified time | relevance | path

Searched refs:const_bo (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vs_surface_state.c65 if (brw->vs.const_bo) { in brw_upload_vs_pull_constants()
66 drm_intel_bo_unreference(brw->vs.const_bo); in brw_upload_vs_pull_constants()
67 brw->vs.const_bo = NULL; in brw_upload_vs_pull_constants()
75 drm_intel_bo_unreference(brw->vs.const_bo); in brw_upload_vs_pull_constants()
76 brw->vs.const_bo = drm_intel_bo_alloc(intel->bufmgr, "vp_const_buffer", in brw_upload_vs_pull_constants()
80 drm_intel_gem_bo_map_gtt(brw->vs.const_bo); in brw_upload_vs_pull_constants()
82 memcpy(brw->vs.const_bo->virtual + i * 4, in brw_upload_vs_pull_constants()
89 float *row = (float *)brw->vs.const_bo->virtual + i * 4; in brw_upload_vs_pull_constants()
95 drm_intel_gem_bo_unmap_gtt(brw->vs.const_bo); in brw_upload_vs_pull_constants()
98 intel->vtbl.create_constant_surface(brw, brw->vs.const_bo, 0, in brw_upload_vs_pull_constants()
Dbrw_vtbl.c78 dri_bo_release(&brw->vs.const_bo); in brw_destroy_context()
79 dri_bo_release(&brw->wm.const_bo); in brw_destroy_context()
Dbrw_wm_surface_state.c980 if (brw->wm.const_bo) { in brw_upload_wm_pull_constants()
981 drm_intel_bo_unreference(brw->wm.const_bo); in brw_upload_wm_pull_constants()
982 brw->wm.const_bo = NULL; in brw_upload_wm_pull_constants()
989 drm_intel_bo_unreference(brw->wm.const_bo); in brw_upload_wm_pull_constants()
990 brw->wm.const_bo = drm_intel_bo_alloc(intel->bufmgr, "WM const bo", in brw_upload_wm_pull_constants()
994 drm_intel_gem_bo_map_gtt(brw->wm.const_bo); in brw_upload_wm_pull_constants()
995 constants = brw->wm.const_bo->virtual; in brw_upload_wm_pull_constants()
999 drm_intel_gem_bo_unmap_gtt(brw->wm.const_bo); in brw_upload_wm_pull_constants()
1001 intel->vtbl.create_constant_surface(brw, brw->wm.const_bo, 0, in brw_upload_wm_pull_constants()
Dbrw_context.h898 drm_intel_bo *const_bo; member
992 drm_intel_bo *const_bo; /* pull constant buffer. */ member