gallium: add support for AMD_vertex_shader_layer
This commit is contained in:
@@ -258,6 +258,10 @@ st_prepare_vertex_program(struct gl_context *ctx,
|
||||
stvp->output_semantic_name[slot] = TGSI_SEMANTIC_CLIPVERTEX;
|
||||
stvp->output_semantic_index[slot] = 0;
|
||||
break;
|
||||
case VARYING_SLOT_LAYER:
|
||||
stvp->output_semantic_name[slot] = TGSI_SEMANTIC_LAYER;
|
||||
stvp->output_semantic_index[slot] = 0;
|
||||
break;
|
||||
|
||||
case VARYING_SLOT_TEX0:
|
||||
case VARYING_SLOT_TEX1:
|
||||
|
Reference in New Issue
Block a user