GL_ATI_fragment_shader and GL_INVALID 0x501, 0x502

Milan Kostić smoki00790 at gmail.com
Mon Apr 7 18:37:36 CDT 2008


 Ok i'm tested wine and his new GL_ATI_fragment_shader support with
9250 card nad Mesa/DRI driver. Now env bumpmaping and dot3 tests in
3DMark2001 seems to work good, but in car test high ground texture is
black. In DungeonSiege2 i disabled ps in winecfg, because it has same
problem (and more) flickering and black textureon the ground (river
water not show, but on sea it has...). With Painkiller, nothing helps
to start game (disabled ps in winecfg not help), only solution is to
change textured units in driconf from 6 to 5 (this disable
GL_ATI_fragment_shader in driver). I check also NFS: Hot Pursuit2, in
wine-0.58> (this is from some earlier versions, but problem is same)
it has these fixmes:

 fixme:d3d_texture:IWineD3DBaseTextureImpl_ApplyStateChanges
>>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexParameteri
GL_TEXTURE_MAX_ANISOTROPY_EXT ... @ basetexture.c / 463
 fixme:d3d:get_src_and_opr Unhandled texture argWINED3DTA_SPECULAR

 and now:

 fixme:d3d_texture:IWineD3DBaseTextureImpl_ApplyStateChanges
>>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexParameteri
GL_TEXTURE_MAX_ANISOTROPY_EXT ... @ basetexture.c / 488
 fixme:d3d_shader:shader_arb_generate_vshader HW VertexShader Error at
position 499: "1046: '.' expected but ';' found"
 fixme:d3d_shader:gen_ati_shader >>>>>>>>>>>>>>>>>
GL_INVALID_OPERATION (0x502) from GL_EXTCALL(glEndFragmentShaderATI())
@ ati_fragment_shader.c / 774

 this fixmes is shifted many times, when i stop/start the some race,
leave the menu, etc. This is first game in which i see gen_ati_shader
in exchange of unhandle texture (NV_combiner thing).

 I wish to ask what is that GL_INVALID_VALUE (0x501) and
GL_INVALID_OPERATION (0x502)??? This 0x501 i can see in many games.



More information about the wine-devel mailing list