Lines Matching refs:vmw_ctx_bindinfo
116 static int vmw_binding_scrub_shader(struct vmw_ctx_bindinfo *bi, bool rebind);
117 static int vmw_binding_scrub_render_target(struct vmw_ctx_bindinfo *bi,
119 static int vmw_binding_scrub_texture(struct vmw_ctx_bindinfo *bi, bool rebind);
120 static int vmw_binding_scrub_cb(struct vmw_ctx_bindinfo *bi, bool rebind);
121 static int vmw_binding_scrub_dx_rt(struct vmw_ctx_bindinfo *bi, bool rebind);
122 static int vmw_binding_scrub_sr(struct vmw_ctx_bindinfo *bi, bool rebind);
123 static int vmw_binding_scrub_so(struct vmw_ctx_bindinfo *bi, bool rebind);
125 static int vmw_binding_scrub_dx_shader(struct vmw_ctx_bindinfo *bi,
127 static int vmw_binding_scrub_ib(struct vmw_ctx_bindinfo *bi, bool rebind);
128 static int vmw_binding_scrub_vb(struct vmw_ctx_bindinfo *bi, bool rebind);
131 typedef int (*vmw_scrub_func)(struct vmw_ctx_bindinfo *, bool);
137 * @size: The size of the struct binding derived from a struct vmw_ctx_bindinfo.
153 * location of the struct vmw_ctx_bindinfo slots for each binding type.
254 return list_first_entry(&cbs->list, struct vmw_ctx_bindinfo,
259 * vmw_binding_loc - determine the struct vmw_ctx_bindinfo slot location.
266 static struct vmw_ctx_bindinfo *
273 return (struct vmw_ctx_bindinfo *)((u8 *) cbs + offset);
285 static void vmw_binding_drop(struct vmw_ctx_bindinfo *bi)
303 const struct vmw_ctx_bindinfo *bi,
306 struct vmw_ctx_bindinfo *loc =
328 const struct vmw_ctx_bindinfo *bi)
331 struct vmw_ctx_bindinfo *loc = (struct vmw_ctx_bindinfo *)
358 struct vmw_ctx_bindinfo *entry, *next;
376 struct vmw_ctx_bindinfo *entry;
400 struct vmw_ctx_bindinfo *entry, *next;
418 struct vmw_ctx_bindinfo *entry;
452 struct vmw_ctx_bindinfo *entry, *next;
470 struct vmw_ctx_bindinfo *entry;
497 static int vmw_binding_scrub_shader(struct vmw_ctx_bindinfo *bi, bool rebind)
528 static int vmw_binding_scrub_render_target(struct vmw_ctx_bindinfo *bi,
564 static int vmw_binding_scrub_texture(struct vmw_ctx_bindinfo *bi,
599 static int vmw_binding_scrub_dx_shader(struct vmw_ctx_bindinfo *bi, bool rebind)
628 static int vmw_binding_scrub_cb(struct vmw_ctx_bindinfo *bi, bool rebind)
675 const struct vmw_ctx_bindinfo *bi,
710 const struct vmw_ctx_bindinfo *bi,
745 const struct vmw_ctx_bindinfo *loc =
787 const struct vmw_ctx_bindinfo *loc = &cbs->render_targets[0].bi;
833 const struct vmw_ctx_bindinfo *bi,
868 const struct vmw_ctx_bindinfo *loc = &cbs->so_targets[0].bi;
938 const struct vmw_ctx_bindinfo *bi,
980 const struct vmw_ctx_bindinfo *loc =
1064 static int vmw_binding_scrub_sr(struct vmw_ctx_bindinfo *bi, bool rebind)
1086 static int vmw_binding_scrub_dx_rt(struct vmw_ctx_bindinfo *bi, bool rebind)
1103 static int vmw_binding_scrub_so(struct vmw_ctx_bindinfo *bi, bool rebind)
1120 static int vmw_binding_scrub_vb(struct vmw_ctx_bindinfo *bi, bool rebind)
1139 static int vmw_binding_scrub_ib(struct vmw_ctx_bindinfo *bi, bool rebind)
1243 struct vmw_ctx_bindinfo *entry, *next;