All of the stages get the scalar_stage variable set in brw_compiler_create
scalar_stage
brw_compiler_create