Lines Matching refs:fog
372 if (reg_maps->fog) return TRUE; /* Clamping fog coord, 0.0 and 1.0 */
1870 shader_addline(buffer, "#mov handled in srgb write or fog code\n");
3177 /* The D3DRS_FOGTABLEMODE render state defines if the shader-generated fog coord is used
3179 * the fog frag coord is thrown away. If the fog frag coord is used, but not written by
3188 if (!reg_maps->fog)
3580 shader_addline(buffer, "SUB %s.x, state.fog.params.z, fragment.fogcoord.x;\n", tmp);
3581 shader_addline(buffer, "MUL_SAT %s.x, %s.x, state.fog.params.w;\n", tmp, tmp);
3582 shader_addline(buffer, "LRP %s.rgb, %s.x, %s, state.fog.color;\n", fragcolor, tmp, fragcolor);
3698 switch (args->super.fog)
4215 if (reg_maps->fog)
6261 switch (settings->fog)
6275 default: FIXME("Unexpected fog setting %d\n", settings->fog);
6560 /* We can't link the fog states to the fragment state directly since the
6564 * is that changing the fog start and fog end (which links to FOGENABLE in