Lines Matching defs:stateblock
1664 IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args)
1666 args->fog_src = stateblock->renderState[WINED3DRS_FOGTABLEMODE] == WINED3DFOG_NONE ? VS_FOG_COORD : VS_FOG_Z;
1667 args->clip_enabled = stateblock->renderState[WINED3DRS_CLIPPING]
1668 && stateblock->renderState[WINED3DRS_CLIPPLANEENABLE];
2032 IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args)
2038 args->srgb_correction = stateblock->renderState[WINED3DRS_SRGBWRITEENABLE] ? 1 : 0;
2047 DWORD flags = stateblock->textureState[i][WINED3DTSS_TEXTURETRANSFORMFLAGS];
2060 texture = (IWineD3DBaseTextureImpl *)stateblock->textures[i];
2085 else if (use_vs(stateblock))
2098 if (stateblock->renderState[WINED3DRS_FOGENABLE])
2100 switch (stateblock->renderState[WINED3DRS_FOGTABLEMODE])
2104 || use_vs(stateblock))
2110 switch (stateblock->renderState[WINED3DRS_FOGVERTEXMODE])