added debugging aid for texture access locks