Hello, Can someone please comment on the behavior of Mesa in following case:
shader = GenFragmentShadersATI BindFragmentShaderATI (shader) BeginFragmentShaderATI () [..fragment shader code..] EndFragmentShaderATI () Enable (FRAGMENT_SHADER_ATI) sometime later (apparently AFTER using aforementioned shader at least once) BindFragmentShaderATI (shader) BeginFragmentShaderATI () [..new fragment shader code..] EndFragmentShaderATI () Under Mesa it looks as if second version never really replaces the first one. Reading the extension specification wasn't very revealing. FWIW it looks as if ATIs binary drivers behave "correctly" i.e. second version does replace the first one upon completion of Begin/End. Here's a simple test-case: http://www.boblycat.org/~malc/atifs.c http://www.boblycat.org/~malc/atifs.tgz (same as the above + Makefile) -- vale ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
