forgot namespace while casting... AMD driver always complains...