Make the LAST enums be defines
Remove the sampling macro
Use the mapped surface not the surface itself
Change the last format enum value
Use the new format last identifier