Searched refs:dstmask (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | glsl_shader.c | 5215 const char *dstmask, *dstreg, *arg0, *arg1, *arg2; local 5218 dstmask = ""; 5220 dstmask = ".xyz"; 5222 dstmask = ".w"; 5237 shader_addline(buffer, "%s%s = gl_Color%s;\n", dstreg, dstmask, dstmask); 5241 shader_addline(buffer, "%s%s = %s%s;\n", dstreg, dstmask, arg1, dstmask); 5245 shader_addline(buffer, "%s%s = %s%s;\n", dstreg, dstmask, arg2, dstmask); [all...] |
H A D | arb_program_shader.c | 6045 const char *dstmask, *dstreg, *arg0, *arg1, *arg2; local 6048 if(color && alpha) dstmask = ""; 6049 else if(color) dstmask = ".xyz"; 6050 else dstmask = ".w"; 6063 shader_addline(buffer, "MOV %s%s, fragment.color.primary;\n", dstreg, dstmask); 6070 shader_addline(buffer, "MOV %s%s, %s;\n", dstreg, dstmask, arg1); 6080 shader_addline(buffer, "MUL %s%s, %s, %s;\n", dstreg, dstmask, arg1, arg2); 6091 shader_addline(buffer, "ADD_SAT %s%s, %s, %s;\n", dstreg, dstmask, arg1, arg2); 6095 shader_addline(buffer, "SUB_SAT %s%s, %s, %s;\n", dstreg, dstmask, arg1, arg2); 6100 shader_addline(buffer, "MAD_SAT %s%s, arg1, %s, %s;\n", dstreg, dstmask, arg [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | arb_program_shader.c | 5558 const char *dstmask, *dstreg, *arg0, *arg1, *arg2; local 5562 if(color && alpha) dstmask = ""; 5563 else if(color) dstmask = ".xyz"; 5564 else dstmask = ".w"; 5575 if(stage == 0) shader_addline(buffer, "MOV %s%s, fragment.color.primary;\n", dstreg, dstmask); 5581 shader_addline(buffer, "MOV %s%s, %s;\n", dstreg, dstmask, arg1); 5593 shader_addline(buffer, "MUL %s%s, %s, %s;\n", dstreg, dstmask, arg1, arg2); 5606 shader_addline(buffer, "ADD_SAT %s%s, %s, %s;\n", dstreg, dstmask, arg1, arg2); 5610 shader_addline(buffer, "SUB_SAT %s%s, %s, %s;\n", dstreg, dstmask, arg1, arg2); 5615 shader_addline(buffer, "MAD_SAT %s%s, arg1, %s, %s;\n", dstreg, dstmask, arg [all...] |
Completed in 228 milliseconds