spirv: Handle SpvExecutionModeXfb

This just sets has_transform_feedback_varyings on the shader.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Neil Roberts 2017-12-12 17:18:32 +01:00 committed by Alejandro Piñeiro
parent 3fd5b4c7aa
commit a5ec8461f9
1 changed files with 1 additions and 1 deletions

View File

@ -3721,7 +3721,7 @@ vtn_handle_execution_mode(struct vtn_builder *b, struct vtn_value *entry_point,
break;
case SpvExecutionModeXfb:
vtn_fail("Unhandled execution mode");
b->shader->info.has_transform_feedback_varyings = true;
break;
case SpvExecutionModeVecTypeHint: