Home | History | Annotate | Download | only in nine

Lines Matching defs:device

38     struct NineDevice9 *device;
53 device = This->base.device;
57 info.const_i_base = NINE_CONST_I_BASE(device->max_ps_const_f) / 16;
58 info.const_b_base = NINE_CONST_B_BASE(device->max_ps_const_f) / 16;
65 pipe = nine_context_get_pipe_acquire(device);
66 hr = nine_translate_shader(device, &info, pipe);
67 nine_context_get_pipe_release(device);
97 if (This->base.device) {
98 struct pipe_context *pipe = nine_context_get_pipe_multithread(This->base.device);
103 if (This->base.device->context.cso_shader.ps == var->cso)
111 if (This->ff_cso == This->base.device->context.cso_shader.ps)
148 struct pipe_context *pipe = This->base.device->context.pipe;
158 struct NineDevice9 *device = This->base.device;
163 info.const_i_base = NINE_CONST_I_BASE(device->max_ps_const_f) / 16;
164 info.const_b_base = NINE_CONST_B_BASE(device->max_ps_const_f) / 16;
168 info.fog_enable = device->context.rs[D3DRS_FOGENABLE];
169 info.fog_mode = device->context.rs[D3DRS_FOGTABLEMODE];
174 hr = nine_translate_shader(This->base.device, &info, pipe);