Lines Matching defs:stateBlock

800         const IWineD3DStateBlockImpl* stateBlock = (const IWineD3DStateBlockImpl*) deviceImpl->stateBlock;
809 const IWineD3DBaseTextureImpl* const tex = (const IWineD3DBaseTextureImpl*) stateBlock->textures[i];
837 IWineD3DStateBlockImpl* stateBlock = device->stateBlock;
853 IWineD3DBaseShaderImpl* vshader = (IWineD3DBaseShaderImpl*) stateBlock->vertexShader;
856 shader_glsl_load_constantsF(vshader, gl_info, stateBlock->vertexShaderConstantF,
860 shader_glsl_load_constantsI(vshader, gl_info, prog->vuniformI_locations, stateBlock->vertexShaderConstantI,
861 stateBlock->changed.vertexShaderConstantsI & vshader->baseShader.reg_maps.integer_constants);
864 shader_glsl_load_constantsB(vshader, gl_info, programId, stateBlock->vertexShaderConstantB,
865 stateBlock->changed.vertexShaderConstantsB & vshader->baseShader.reg_maps.boolean_constants);
874 IWineD3DBaseShaderImpl* pshader = (IWineD3DBaseShaderImpl*) stateBlock->pixelShader;
877 shader_glsl_load_constantsF(pshader, gl_info, stateBlock->pixelShaderConstantF,
881 shader_glsl_load_constantsI(pshader, gl_info, prog->puniformI_locations, stateBlock->pixelShaderConstantI,
882 stateBlock->changed.pixelShaderConstantsI & pshader->baseShader.reg_maps.integer_constants);
885 shader_glsl_load_constantsB(pshader, gl_info, programId, stateBlock->pixelShaderConstantB,
886 stateBlock->changed.pixelShaderConstantsB & pshader->baseShader.reg_maps.boolean_constants);
896 data = (const float *)&stateBlock->textureState[i][WINED3DTSS_BUMPENVMAT00];
904 const GLfloat *scale = (const GLfloat *)&stateBlock->textureState[i][WINED3DTSS_BUMPENVLSCALE];
905 const GLfloat *offset = (const GLfloat *)&stateBlock->textureState[i][WINED3DTSS_BUMPENVLOFFSET];
974 if (!This->stateBlock->changed.vertexShaderConstantsF[i])
990 if (!This->stateBlock->changed.pixelShaderConstantsF[i])
1188 if(device->stateBlock->textures[i] &&
1189 IWineD3DBaseTexture_GetTextureDimensions(device->stateBlock->textures[i]) == GL_TEXTURE_RECTANGLE_ARB) {
1257 if (use_vs(device->stateBlock))
3103 if(deviceImpl->stateBlock->textures[sampler_idx] &&
3104 IWineD3DBaseTexture_GetTextureDimensions(deviceImpl->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
3159 if(deviceImpl->stateBlock->textures[sampler_idx] &&
3160 IWineD3DBaseTexture_GetTextureDimensions(deviceImpl->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
3187 if(deviceImpl->stateBlock->textures[sampler_idx] &&
3188 IWineD3DBaseTexture_GetTextureDimensions(deviceImpl->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
4405 ((IWineD3DDeviceImpl *)shader->baseShader.device)->stateBlock->textures);
4499 IWineD3DVertexShader *vshader = use_vs ? device->stateBlock->vertexShader : NULL;
4500 IWineD3DPixelShader *pshader = use_ps ? device->stateBlock->pixelShader : NULL;
4511 if (vshader) find_vs_compile_args((IWineD3DVertexShaderImpl *)vshader, device->stateBlock, &vs_compile_args);
4512 if (pshader) find_ps_compile_args((IWineD3DPixelShaderImpl *)pshader, device->stateBlock, &ps_compile_args);