Please read
Mesa3D documentation about submitting patches