Lines Matching defs:stateBlock

443     IWineD3DStateBlockImpl* stateBlock = deviceImpl->stateBlock;
459 const IWineD3DTextureImpl* const tex = (const IWineD3DTextureImpl*) stateBlock->textures[i];
487 IWineD3DStateBlockImpl* stateBlock = deviceImpl->stateBlock;
498 const float *data = (const float *)&stateBlock->textureState[texunit][WINED3DTSS_BUMPENVMAT00];
508 const float *scale = (const float *)&stateBlock->textureState[texunit][WINED3DTSS_BUMPENVLSCALE];
538 val[0] = stateBlock->pixelShaderConstantI[4 * i];
539 val[1] = stateBlock->pixelShaderConstantI[4 * i + 1];
540 val[2] = stateBlock->pixelShaderConstantI[4 * i + 2];
552 IWineD3DStateBlockImpl* stateBlock;
563 stateBlock = deviceImpl->stateBlock;
570 val[0] = stateBlock->vertexShaderConstantI[4 * i];
571 val[1] = stateBlock->vertexShaderConstantI[4 * i + 1];
572 val[2] = stateBlock->vertexShaderConstantI[4 * i + 2];
591 IWineD3DStateBlockImpl* stateBlock = device->stateBlock;
596 IWineD3DBaseShaderImpl* vshader = (IWineD3DBaseShaderImpl*) stateBlock->vertexShader;
600 device->highest_dirty_vs_const, stateBlock->vertexShaderConstantF, context->vshader_const_dirty);
605 IWineD3DBaseShaderImpl* pshader = (IWineD3DBaseShaderImpl*) stateBlock->pixelShader;
609 device->highest_dirty_ps_const, stateBlock->pixelShaderConstantF, context->pshader_const_dirty);
1287 if(device->stateBlock->textures[sampler_idx] &&
1288 IWineD3DBaseTexture_GetTextureDimensions(device->stateBlock->textures[sampler_idx]) == GL_TEXTURE_RECTANGLE_ARB) {
2057 flags = reg < MAX_TEXTURES ? deviceImpl->stateBlock->textureState[reg][WINED3DTSS_TEXTURETRANSFORMFLAGS] : 0;
2102 flags = reg < MAX_TEXTURES ? deviceImpl->stateBlock->textureState[reg][WINED3DTSS_TEXTURETRANSFORMFLAGS] : 0;
2144 flags = reg < MAX_TEXTURES ? deviceImpl->stateBlock->textureState[reg][WINED3DTSS_TEXTURETRANSFORMFLAGS] : 0;
2186 flags = reg < MAX_TEXTURES ? deviceImpl->stateBlock->textureState[reg][WINED3DTSS_TEXTURETRANSFORMFLAGS] : 0;
3816 sig = ((IWineD3DPixelShaderImpl *)device->stateBlock->pixelShader)->baseShader.input_signature;
4139 ((IWineD3DDeviceImpl *)shader->baseShader.device)->stateBlock->textures);
4380 IWineD3DPixelShaderImpl *ps = (IWineD3DPixelShaderImpl *) This->stateBlock->pixelShader;
4382 TRACE("Using pixel shader %p\n", This->stateBlock->pixelShader);
4383 find_arb_ps_compile_args(ps, This->stateBlock, &compile_args);
4436 IWineD3DVertexShaderImpl *vs = (IWineD3DVertexShaderImpl *) This->stateBlock->vertexShader;
4438 TRACE("Using vertex shader %p\n", This->stateBlock->vertexShader);
4439 find_arb_vs_compile_args(vs, This->stateBlock, &compile_args);