gallium: add opcodes/cap for fine derivative support