KhronosGroup / KhronosGroup/OpenGL-API

GL 4.6 compatibility spec is self contradictory about primitive restart and ArrayElement

Đang mở
#81 1 bình luận 1 reaction 1 người được giao Được @ianromanick nhận Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
42
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Section 10.7.4 (Transferring Vertices With ArrayElement) says:

> If `ArrayElement` is called while primitive restart is enabled (see section 10.3.6 and i is equal to the primitive restart index, then no vertex data is dereferenced, and no current vertex state is modified. Instead, it is as if `End` were called, followed by a call to `Begin` where mode is the same as the mode used by the previous `Begin`.

But section 10.3.6 (Primitive Restart) says;

> Note that primitive restart is not performed for array elements transferred by any drawing command not taking a type parameter, including `ArrayElement` and all of the `*Draw*` commands other than `*DrawElements*`.

1. Is `glArrayElement` subject to primitive restart or not? The two spec quotations say the opposite thing.
2. Is `glDrawRangeElements` subject to primitive restart or not? Section 10.3.6 seems to exclude it, but I doubt that was intended.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.