|
|
@ -640,6 +640,8 @@ static int vrend_decode_create_object(struct vrend_decode_ctx *ctx, int length) |
|
|
|
case VIRGL_OBJECT_STREAMOUT_TARGET: |
|
|
|
case VIRGL_OBJECT_STREAMOUT_TARGET: |
|
|
|
ret = vrend_decode_create_stream_output_target(ctx, handle, length); |
|
|
|
ret = vrend_decode_create_stream_output_target(ctx, handle, length); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
return EINVAL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return ret; |
|
|
|
return ret; |
|
|
@ -676,7 +678,10 @@ static int vrend_decode_bind_object(struct vrend_decode_ctx *ctx, uint16_t lengt |
|
|
|
case VIRGL_OBJECT_VERTEX_ELEMENTS: |
|
|
|
case VIRGL_OBJECT_VERTEX_ELEMENTS: |
|
|
|
vrend_bind_vertex_elements_state(ctx->grctx, handle); |
|
|
|
vrend_bind_vertex_elements_state(ctx->grctx, handle); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
return EINVAL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|