Here is the log, without this patch i have with new nVidia driver only 4 GL_MAX_TEXTURE_UNITS_ARB and some apps have big regression. I realy dont know why, i am not expert in wine or directx, but now it is working.
trace:d3d_caps:IWineD3DImpl_FillGLCaps GL_Extensions reported: trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_color_buffer_float trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_depth_texture trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_draw_buffers trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB_draw_buffers support - max buffers=4 trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_fragment_program trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Pixel Shader support - version=11 trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Pixel Shader support - GL_MAX_TEXTURE_IMAGE_UNITS_ARB=16 trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Pixel Shader support - max float constants=256 trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Pixel Shader support - max temporaries=32 trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Pixel Shader support - max instructions=4096 trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_fragment_program_shadow trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_fragment_shader trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB_fragment_shader (GLSL) support - max float ps constants=128 trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_half_float_pixel trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Half-float pixel support trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_imaging trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB imaging support trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_multisample trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Multisample support trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_multitexture trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Multitexture support - GL_MAX_TEXTURE_UNITS_ARB=8 trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_occlusion_query trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Occlusion Query support trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_pixel_buffer_object trace:d3d_caps:IWineD3DImpl_FillGLCaps FOUND: ARB Pixel Buffer support trace:d3d_caps:IWineD3DImpl_FillGLCaps - GL_ARB_point_parameters
Mirek
H. Verbeet napsal(a):
On 04/10/06, Mirek thunder.m@czela.net wrote:
--- directx.c.old 2006-10-03 22:36:25.000000000 +0200 +++ directx.c 2006-10-04 14:24:18.000000000 +0200 @@ -557,6 +558,7 @@ gl_info->supported[ARB_MULTISAMPLE] = TRUE; } else if (strcmp(ThisExtn, "GL_ARB_multitexture") == 0) { glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &gl_max);
gl_max *= 2; TRACE_(d3d_caps)(" FOUND: ARB Multitexture support -
GL_MAX_TEXTURE_UNITS_ARB=%u\n", gl_max); gl_info->supported[ARB_MULTITEXTURE] = TRUE; gl_info->max_textures = min(MAX_TEXTURES, gl_max);
That doesn't look quite correct. What is the actual problem / could you attach a +d3d_caps log (Just the part where it does extension detection)?