Home | History | Annotate | Download | only in nine

Lines Matching refs:info

41     struct nine_shader_info info;
60 info.type = PIPE_SHADER_VERTEX;
61 info.byte_code = pFunction;
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;
64 info.sampler_mask_shadow = 0x0;
65 info.sampler_ps1xtypes = 0x0;
66 info.fog_enable = 0;
67 info.point_size_min = 0;
68 info.point_size_max = 0;
69 info.swvp_on = !!(device->params.BehaviorFlags & D3DCREATE_SOFTWARE_VERTEXPROCESSING);
70 info.process_vertices = false;
73 hr = nine_translate_shader(device, &info, pipe);
77 info.swvp_on = true;
78 hr = nine_translate_shader(device, &info, pipe);
85 This->byte_code.version = info.version;
86 This->swvp_only = info.swvp_on;
88 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
91 This->byte_code.size = info.byte_size;
93 This->variant.cso = info.cso;
94 This->last_cso = info.cso;
95 This->last_key = (uint32_t) (info.swvp_on << 9);
97 This->const_used_size = info.const_used_size;
98 This->lconstf = info.lconstf;
99 This->sampler_mask = info.sampler_mask;
100 This->position_t = info.position_t;
101 This->point_size = info.point_size;
103 for (i = 0; i < info.num_inputs && i < ARRAY_SIZE(This->input_map); ++i)
104 This->input_map[i].ndecl = info.input_map[i];
187 struct nine_shader_info info;
190 info.type = PIPE_SHADER_VERTEX;
191 info.const_i_base = NINE_CONST_I_BASE(device->max_vs_const_f) / 16;
192 info.const_b_base = NINE_CONST_B_BASE(device->max_vs_const_f) / 16;
193 info.byte_code = This->byte_code.tokens;
194 info.sampler_mask_shadow = key & 0xf;
195 info.fog_enable = device->context.rs[D3DRS_FOGENABLE];
196 info.point_size_min = asfloat(device->context.rs[D3DRS_POINTSIZE_MIN]);
197 info.point_size_max = asfloat(device->context.rs[D3DRS_POINTSIZE_MAX]);
198 info.swvp_on = device->context.swvp;
199 info.process_vertices = false;
201 hr = nine_translate_shader(This->base.device, &info, pipe);
204 nine_shader_variant_add(&This->variant, key, info.cso);
205 cso = info.cso;
219 struct nine_shader_info info;
227 info.type = PIPE_SHADER_VERTEX;
228 info.const_i_base = 0;
229 info.const_b_base = 0;
230 info.byte_code = This->byte_code.tokens;
231 info.sampler_mask_shadow = 0;
232 info.fog_enable = false;
233 info.point_size_min = 0;
234 info.point_size_max = 0;
235 info.swvp_on = true;
236 info.vdecl_out = vdecl_out;
237 info.process_vertices = true;
238 hr = nine_translate_shader(This->base.device, &info, This->base.device->pipe_sw);
241 *so = info.so;
242 nine_shader_variant_so_add(&This->variant_so, vdecl_out, so, info.cso);
243 return info.cso;