This just places the flag into the shader info so we can use it from
the driver after we create the shader.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
shader_info->gs.output_prim = nir->info->gs.output_primitive;
shader_info->gs.invocations = nir->info->gs.invocations;
break;
+ case MESA_SHADER_VERTEX:
+ shader_info->vs.as_es = options->key.vs.as_es;
+ break;
default:
break;
}
bool writes_pointsize;
bool writes_layer;
bool writes_viewport_index;
+ bool as_es;
uint8_t clip_dist_mask;
uint8_t cull_dist_mask;
} vs;