Bulk Load Demo sample not compatible with Visual C++ platform toolset v143
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- build-system
調査の方向性
まず Shaders/ColorSpaceUtility.hlsli と issue に示されている v143 のビルドエラーを確認し、次に BulkLoadDemo ソリューションと、その Core、Model、BulkLoadDemo、MiniArchive プロジェクトを調査します。Visual Studio のプラットフォーム ツールセット v143 と Windows SDK 10.0 を使用して Bulk Load Demo を再ビルドします。報告されているシェーダーエラーなしでソリューションをビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
When opening Bulk Load Demo in Visual Studio using platform toolset v143, Windows SDK version 10.0, user is informed that ..\Core\Core.vcxproj, ..\Model\Model.vcxproj, ..\BulkLoadDemo\BulkLoadDemo.vcxproj, and ..\MiniArchive\MiniArchive.vcxproj may be upgraded to target the latest Microsoft toolset. If the user chooses to do this, the solution 'BulkLoadDemo' will generate the following build errors:
2>In file included from Shaders\AdaptExposureCS.hlsl:19:
2>In file included from Shaders/ShaderUtility.hlsli:19:
2>Shaders/ColorSpaceUtility.hlsli(40,26): error G5A95C174: condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
2> return x < 0.0031308 ? 12.92 * x : 1.055 * pow(x, 1.0 / 2.4) - 0.055;
2> ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> select(x < 0.0031308, 12.92 * x, 1.0549999999999999 * pow(x, 1. / 2.3999999999999999) - 0.055)
2>Shaders/ColorSpaceUtility.hlsli(46,24): error G5A95C174: condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
2> return x < 0.04045 ? x / 12.92 : pow( (x + 0.055) / 1.055, 2.4 );
2> ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> select(x < 0.04045, x / 12.92, pow((x + 0.055) / 1.0549999999999999, 2.3999999999999999))
2>Shaders/ColorSpaceUtility.hlsli(52,26): error G5A95C174: condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
2> return x < 0.0031308 ? 12.92 * x : 1.13005 * sqrt(x - 0.00228) - 0.13448 * x + 0.005719;
2> ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> select(x < 0.0031308, 12.92 * x, 1.13005 * sqrt(x - 0.0022799999999999999) - 0.13447999999999999 * x + 0.0057190000000000001)
2>Shaders/ColorSpaceUtility.hlsli(57,24): error G5A95C174: condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
2> return x < 0.04045 ? x / 12.92 : -7.43605 * x - 31.24297 * sqrt(-0.53792 * x + 1.279924) + 35.34864;
2> ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> select(x < 0.04045, x / 12.92, -7.4360499999999998 * x - 31.24297 * sqrt(-0.53791999999999995 * x + 1.2799240000000001) + 35.348640000000003)
2>Shaders/ColorSpaceUtility.hlsli(65,23): error G5A95C174: condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
2> return x < 0.0181 ? 4.5 * x : 1.0993 * pow(x, 0.45) - 0.0993;
2> ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> select(x < 0.018100000000000002, 4.5 * x, 1.0992999999999999 * pow(x, 0.45000000000000001) - 0.099299999999999999)
2>Shaders/ColorSpaceUtility.hlsli(70,24): error G5A95C174: condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
2> return x < 0.08145 ? x / 4.5 : pow((x + 0.0993) / 1.0993, 1.0 / 0.45);
2> ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> select(x < 0.081449999999999994, x / 4.5, pow((x + 0.099299999999999999) / 1.0992999999999999, 1. / 0.45000000000000001))
2>
2>Done building project "Core.vcxproj" -- FAILED.
- 主要言語
- C++
- スター
- 897
- フォーク
- 111
- 平均マージ
- 13時間 58分
- マージ済み PR(30日)
- 12
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/DirectStorage のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoft/DirectStorage#137 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/DirectStorage#101 ·
-
can't compile? オープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
microsoft/DirectStorage#58 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoft/DirectStorage#52 · コメント 7 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
microsoft/DirectStorage#51 ·
microsoft/DirectStorage の issue をすべて見る
似ている issue
-
bug build
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW オープンfuzz
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/ClickHouse#122114 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
module/agent platform/macos type/bug/regression
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement PyCDE
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100