Lines Matching defs:stateBlock

817         const IWineD3DStateBlockImpl* stateBlock = (const IWineD3DStateBlockImpl*) deviceImpl->stateBlock;
826 const IWineD3DBaseTextureImpl* const tex = (const IWineD3DBaseTextureImpl*) stateBlock->textures[i];
854 IWineD3DStateBlockImpl* stateBlock = device->stateBlock;
870 IWineD3DBaseShaderImpl* vshader = (IWineD3DBaseShaderImpl*) stateBlock->vertexShader;
873 shader_glsl_load_constantsF(vshader, gl_info, stateBlock->vertexShaderConstantF,
877 shader_glsl_load_constantsI(vshader, gl_info, prog->vuniformI_locations, stateBlock->vertexShaderConstantI,
878 stateBlock->changed.vertexShaderConstantsI & vshader->baseShader.reg_maps.integer_constants);
881 shader_glsl_load_constantsB(vshader, gl_info, programId, stateBlock->vertexShaderConstantB,
882 stateBlock->changed.vertexShaderConstantsB & vshader->baseShader.reg_maps.boolean_constants);
891 IWineD3DBaseShaderImpl* pshader = (IWineD3DBaseShaderImpl*) stateBlock->pixelShader;
894 shader_glsl_load_constantsF(pshader, gl_info, stateBlock->pixelShaderConstantF,
898 shader_glsl_load_constantsI(pshader, gl_info, prog->puniformI_locations, stateBlock->pixelShaderConstantI,
899 stateBlock->changed.pixelShaderConstantsI & pshader->baseShader.reg_maps.integer_constants);
902 shader_glsl_load_constantsB(pshader, gl_info, programId, stateBlock->pixelShaderConstantB,
903 stateBlock->changed.pixelShaderConstantsB & pshader->baseShader.reg_maps.boolean_constants);
913 data = (const float *)&stateBlock->textureState[i][WINED3DTSS_BUMPENVMAT00];
921 const GLfloat *scale = (const GLfloat *)&stateBlock->textureState[i][WINED3DTSS_BUMPENVLSCALE];
922 const GLfloat *offset = (const GLfloat *)&stateBlock->textureState[i][WINED3DTSS_BUMPENVLOFFSET];
995 if (!This->stateBlock->changed.vertexShaderConstantsF[i])
1011 if (!This->stateBlock->changed.pixelShaderConstantsF[i])
1210 if(device->stateBlock->textures[i] &&
1211 IWineD3DBaseTexture_GetTextureDimensions(device->stateBlock->textures[i]) == GL_TEXTURE_RECTANGLE_ARB) {
1279 if (use_vs(device->stateBlock))
3226 if(deviceImpl->stateBlock->textures[sampler_idx] &&
3227 IWineD3DBaseTexture_GetTextureDimensions(deviceImpl->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
3282 if(deviceImpl->stateBlock->textures[sampler_idx] &&
3283 IWineD3DBaseTexture_GetTextureDimensions(deviceImpl->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
3310 if(deviceImpl->stateBlock->textures[sampler_idx] &&
3311 IWineD3DBaseTexture_GetTextureDimensions(deviceImpl->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
4536 ((IWineD3DDeviceImpl *)shader->baseShader.device)->stateBlock->textures);
4630 IWineD3DVertexShader *vshader = a_use_vs ? device->stateBlock->vertexShader : NULL;
4631 IWineD3DPixelShader *pshader = a_use_ps ? device->stateBlock->pixelShader : NULL;
4642 if (vshader) find_vs_compile_args((IWineD3DVertexShaderImpl *)vshader, device->stateBlock, &vs_compile_args);
4643 if (pshader) find_ps_compile_args((IWineD3DPixelShaderImpl *)pshader, device->stateBlock, &ps_compile_args);