Lines Matching refs:device

40     struct NineDevice9 *device;
58 device = This->base.device;
62 info.const_i_base = NINE_CONST_I_BASE(device->max_vs_const_f) / 16;
63 info.const_b_base = NINE_CONST_B_BASE(device->max_vs_const_f) / 16;
73 info.swvp_on = !!(device->params.BehaviorFlags & D3DCREATE_SOFTWARE_VERTEXPROCESSING);
76 pipe = nine_context_get_pipe_acquire(device);
77 hr = nine_translate_shader(device, &info, pipe);
79 (device->params.BehaviorFlags & D3DCREATE_MIXED_VERTEXPROCESSING)) {
82 hr = nine_translate_shader(device, &info, pipe);
84 nine_context_get_pipe_release(device);
130 if (This->base.device) {
131 struct pipe_context *pipe = nine_context_get_pipe_multithread(This->base.device);
137 if (This->base.device->context.cso_shader.vs == var->cso) {
142 This->base.device->context.commit |= NINE_STATE_COMMIT_VS;
152 This->base.device->pipe_sw->delete_vs_state(This->base.device->pipe_sw, var_so->cso);
158 if (This->ff_cso == This->base.device->context.cso_shader.vs) {
160 This->base.device->context.commit |= NINE_STATE_COMMIT_VS;
203 struct pipe_context *pipe = This->base.device->context.pipe;
216 struct NineDevice9 *device = This->base.device;
221 info.const_i_base = NINE_CONST_I_BASE(device->max_vs_const_f) / 16;
222 info.const_b_base = NINE_CONST_B_BASE(device->max_vs_const_f) / 16;
226 info.fog_enable = device->context.rs[D3DRS_FOGENABLE];
227 info.point_size_min = asfloat(device->context.rs[D3DRS_POINTSIZE_MIN]);
228 info.point_size_max = asfloat(device->context.rs[D3DRS_POINTSIZE_MAX]);
233 info.swvp_on = device->context.swvp;
236 hr = nine_translate_shader(This->base.device, &info, pipe);
282 hr = nine_translate_shader(This->base.device, &info, This->base.device->pipe_sw);