Lines Matching refs:r300
82 fprintf(stderr, "r300: FP: Unknown input semantic: %i\n",
146 struct r300_context* r300,
149 struct r300_textures_state *texstate = r300->textures_state.state;
222 struct r300_context* r300,
227 struct r300_context* r300,
246 r300_translate_fragment_shader(r300, shader, state.tokens);
252 struct r300_context *r300,
263 if (r300->screen->caps.is_r500) {
310 } else { /* r300 */
311 struct r300_fragment_program_code *code = &generic_code->code.r300;
323 (r300->screen->caps.is_r400 ? 2 * (iterations + 1): 0) +
325 (r300->screen->caps.is_r400 ? 2 : 0) +
344 } else if (r300->screen->caps.is_r400) {
360 if (r300->screen->caps.is_r400) {
401 if (r300->screen->caps.is_r400) {
428 struct r300_context* r300,
446 DBG_ON(r300, DBG_FP) ? compiler.Base.Debug |= RC_DBG_LOG : 0;
447 DBG_ON(r300, DBG_P_STAT) ? compiler.Base.Debug |= RC_DBG_STATS : 0;
451 compiler.Base.is_r500 = r300->screen->caps.is_r500;
452 compiler.Base.is_r400 = r300->screen->caps.is_r400;
453 compiler.Base.disable_optimizations = DBG_ON(r300, DBG_NO_OPT);
477 DBG(r300, DBG_FP, "r300: Initial fragment program\n");
489 fprintf(stderr, "r300 FP: Cannot translate a shader. "
491 r300_dummy_fragment_shader(r300, shader);
495 if (!r300->screen->caps.is_r500 ||
520 fprintf(stderr, "r300 FP: Compiler Error:\n%sUsing a dummy shader"
524 fprintf(stderr, "r300 FP: Cannot compile the dummy shader! "
530 r300_dummy_fragment_shader(r300, shader);
538 r300_dummy_fragment_shader(r300, shader);
578 r300_emit_fs_code_to_buffer(r300, shader);
581 boolean r300_pick_fragment_shader(struct r300_context* r300)
583 struct r300_fragment_shader* fs = r300_fs(r300);
587 get_external_state(r300, &state);
595 r300_translate_fragment_shader(r300, fs->shader, fs->state.tokens);
622 r300_translate_fragment_shader(r300, ptr, fs->state.tokens);