Lines Matching refs:prog

803     const struct glsl_shader_prog_link* prog = ((struct shader_glsl_priv *)(deviceImpl->shader_priv))->glsl_program;
805 if (!prog) {
815 if (prog->ps_args.np2_fixup && -1 != prog->np2Fixup_location) {
819 UINT fixup = prog->ps_args.np2_fixup;
822 const struct ps_np2fixup_info *np2Fixup_info = WINEFIXUPINFO_GET(prog);
841 GL_EXTCALL(glUniform4fvARB(prog->np2Fixup_location, np2Fixup_info->num_consts, np2fixup_constants));
858 struct glsl_shader_prog_link *prog = priv->glsl_program;
862 if (!prog) {
866 programId = prog->programId;
867 constant_version = prog->constant_version;
874 prog->vuniformF_locations, &priv->vconst_heap, priv->stack, constant_version);
877 shader_glsl_load_constantsI(vshader, gl_info, prog->vuniformI_locations, stateBlock->vertexShaderConstantI,
885 GL_EXTCALL(glUniform4fvARB(prog->posFixup_location, 1, &device->posFixup[0]));
895 prog->puniformF_locations, &priv->pconst_heap, priv->stack, constant_version);
898 shader_glsl_load_constantsI(pshader, gl_info, prog->puniformI_locations, stateBlock->pixelShaderConstantI,
911 if(prog->bumpenvmat_location[i] == -1) continue;
914 GL_EXTCALL(glUniformMatrix2fvARB(prog->bumpenvmat_location[i], 1, 0, data));
920 if(prog->luminancescale_location[i] != -1) {
924 GL_EXTCALL(glUniform1fvARB(prog->luminancescale_location[i], 1, scale));
926 GL_EXTCALL(glUniform1fvARB(prog->luminanceoffset_location[i], 1, offset));
947 GL_EXTCALL(glUniform4fvARB(prog->ycorrection_location, 1, correction_params));
959 prog->constant_version = priv->next_constant_version++;
5134 const struct glsl_shader_prog_link *prog = WINE_RB_ENTRY_VALUE(entry,
5138 if (k->context > prog->context) return 1;
5139 else if (k->context < prog->context) return -1;
5141 if (k->vshader > prog->vshader) return 1;
5142 else if (k->vshader < prog->vshader) return -1;
5144 if (k->pshader > prog->pshader) return 1;
5145 else if (k->pshader < prog->pshader) return -1;
5147 if (k->vshader && (cmp = memcmp(&k->vs_args, &prog->vs_args, sizeof(prog->vs_args)))) return cmp;
5148 if (k->pshader && (cmp = memcmp(&k->ps_args, &prog->ps_args, sizeof(prog->ps_args)))) return cmp;