Lines Matching refs:sf
102 struct nv30_surface *sf = nv30_surface(ps); in nv30_clear_render_target() local
117 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_render_target()
118 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_render_target()
132 PUSH_DATA (push, sf->width << 16); in nv30_clear_render_target()
133 PUSH_DATA (push, sf->height << 16); in nv30_clear_render_target()
137 PUSH_DATA (push, (sf->pitch << 16) | sf->pitch); in nv30_clear_render_target()
139 PUSH_DATA (push, sf->pitch); in nv30_clear_render_target()
140 PUSH_RELOC(push, mt->base.bo, sf->offset, NOUVEAU_BO_LOW, 0, 0); in nv30_clear_render_target()
161 struct nv30_surface *sf = nv30_surface(ps); in nv30_clear_depth_stencil() local
176 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_depth_stencil()
177 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_depth_stencil()
196 PUSH_DATA (push, sf->width << 16); in nv30_clear_depth_stencil()
197 PUSH_DATA (push, sf->height << 16); in nv30_clear_depth_stencil()
201 PUSH_DATA (push, (sf->pitch << 16) | sf->pitch); in nv30_clear_depth_stencil()
204 PUSH_DATA (push, sf->pitch); in nv30_clear_depth_stencil()
207 PUSH_RELOC(push, mt->base.bo, sf->offset, NOUVEAU_BO_LOW, 0, 0); in nv30_clear_depth_stencil()