Am 20.09.2010 20:05, schrieb Henri Verbeet:
But if it turns out to really be much nicer you could certainly introduce a dxbc_remove_section() function, but I doubt it. In the current patch it's simply dead code though. Somewhat related, do you happen to know if section tags need to be unique within a DXBC? I'd imagine the DXBC format doesn't restrict that, though specific functions may have additional constraints on what is considered a valid input DXBC.
I have no idea if section codes need to be unique, but I couldn't get a DXBC with not unique items (beside the ones in the effect but which use several shaders as part DXBCs - I wouldn't count that as a DXBC it is more the FX10). I have to admit I haven't tried that specifically.