Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.6の変更点が不十分です #4

Open
ryutorion opened this issue Feb 18, 2020 · 0 comments
Open

7.6の変更点が不十分です #4

ryutorion opened this issue Feb 18, 2020 · 0 comments

Comments

@ryutorion
Copy link

7.6 読み込んだ頂点データの描画,で点のデータを表示するのに変更点として,IASetPrimitiveTopologyのみ記載されていますが,パイプラインステートのPrimitiveTopologyTypeをD3D12_PRIMITIVE_TOPOLOGY_TYPE_POINTに変更しないと,PRIMITIVE_TOPLOGY_MISMATCH_PIPELINE_STATEという警告が出続けます.

この2つの違いについては,公式ドキュメントに書いてありました.

The primitive topology type. Note that the input-assembler primitive topology type (point, line, triangle, patch) is set within the PSO using the D3D12_PRIMITIVE_TOPOLOGY_TYPE enumeration. The primitive adjacency and ordering (line list, line strip, line strip with adjacency data, etc.) is set from within a command list using the ID3D12GraphicsCommandList::IASetPrimitiveTopology method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant