lib: add wgpu dependency in runtime-wgpu
This commit is contained in:
parent
f6268a621c
commit
8fb2179ae8
|
@ -2,7 +2,6 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="VcsDirectoryMappings">
|
<component name="VcsDirectoryMappings">
|
||||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
|
||||||
<mapping directory="$PROJECT_DIR$/test/shaders_slang" vcs="Git" />
|
<mapping directory="$PROJECT_DIR$/test/shaders_slang" vcs="Git" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -54,35 +54,35 @@
|
||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"Cargo.Build `Test back::wgsl::test::test_into`.executor": "Run",
|
"Cargo.Build `Test back::wgsl::test::test_into`.executor": "Run",
|
||||||
"Cargo.Build `Test reflect::cross::test::test_into`.executor": "Run",
|
"Cargo.Build `Test reflect::cross::test::test_into`.executor": "Run",
|
||||||
"Cargo.Test back::wgsl::test::test_into.executor": "Run",
|
"Cargo.Test back::wgsl::test::test_into.executor": "Run",
|
||||||
"Cargo.Test front::naga::test::naga_playground (1).executor": "Run",
|
"Cargo.Test front::naga::test::naga_playground (1).executor": "Run",
|
||||||
"Cargo.Test front::naga::test::naga_playground.executor": "Run",
|
"Cargo.Test front::naga::test::naga_playground.executor": "Run",
|
||||||
"Cargo.Test reflect::cross::test::test_into.executor": "Run",
|
"Cargo.Test reflect::cross::test::test_into.executor": "Run",
|
||||||
"Cargo.Test triangle_wgpu.executor": "Run",
|
"Cargo.Test triangle_wgpu.executor": "Run",
|
||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.RadMigrateCodeStyle": "true",
|
"RunOnceActivity.RadMigrateCodeStyle": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"RunOnceActivity.cidr.known.project.marker": "true",
|
"RunOnceActivity.cidr.known.project.marker": "true",
|
||||||
"RunOnceActivity.readMode.enableVisualFormatting": "true",
|
"RunOnceActivity.readMode.enableVisualFormatting": "true",
|
||||||
"cf.first.check.clang-format": "false",
|
"cf.first.check.clang-format": "false",
|
||||||
"cidr.known.project.marker": "true",
|
"cidr.known.project.marker": "true",
|
||||||
"git-widget-placeholder": "feat-wgpu-runtime",
|
"git-widget-placeholder": "closer-stable",
|
||||||
"ignore.virus.scanning.warn.message": "true",
|
"ignore.virus.scanning.warn.message": "true",
|
||||||
"last_opened_file_path": "D:/Runtime/Rust/rustup",
|
"last_opened_file_path": "D:/Runtime/Rust/rustup",
|
||||||
"node.js.detected.package.eslint": "true",
|
"node.js.detected.package.eslint": "true",
|
||||||
"node.js.detected.package.tslint": "true",
|
"node.js.detected.package.tslint": "true",
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"org.rust.cargo.project.model.PROJECT_DISCOVERY": "true",
|
"org.rust.cargo.project.model.PROJECT_DISCOVERY": "true",
|
||||||
"settings.editor.selected.configurable": "language.rust",
|
"settings.editor.selected.configurable": "language.rust",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="RecentsManager">
|
<component name="RecentsManager">
|
||||||
<key name="MoveFile.RECENT_KEYS">
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
<recent name="F:\coding\librashader\librashader-reflect\src\back\wgsl" />
|
<recent name="F:\coding\librashader\librashader-reflect\src\back\wgsl" />
|
||||||
|
|
|
@ -27,6 +27,7 @@ librashader-runtime-wgpu = { path = "../librashader-runtime-wgpu", version = "0.
|
||||||
librashader-cache = { path = "../librashader-cache", version = "0.2.0-beta.4" }
|
librashader-cache = { path = "../librashader-cache", version = "0.2.0-beta.4" }
|
||||||
|
|
||||||
ash = { version = "0.37", optional = true }
|
ash = { version = "0.37", optional = true }
|
||||||
|
wgpu = { version = "0.19.1", optional = true }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies.windows]
|
[target.'cfg(windows)'.dependencies.windows]
|
||||||
version = "0.48.0"
|
version = "0.48.0"
|
||||||
|
@ -45,7 +46,7 @@ runtime-gl = [ "runtime", "reflect-cross", "librashader-common/opengl", "librash
|
||||||
runtime-d3d11 = [ "runtime", "reflect-cross","librashader-common/d3d11", "librashader-runtime-d3d11", "windows/Win32_Graphics_Direct3D11" ]
|
runtime-d3d11 = [ "runtime", "reflect-cross","librashader-common/d3d11", "librashader-runtime-d3d11", "windows/Win32_Graphics_Direct3D11" ]
|
||||||
runtime-d3d12 = [ "runtime", "reflect-cross", "reflect-dxil", "librashader-common/d3d12", "librashader-runtime-d3d12", "windows/Win32_Graphics_Direct3D12" ]
|
runtime-d3d12 = [ "runtime", "reflect-cross", "reflect-dxil", "librashader-common/d3d12", "librashader-runtime-d3d12", "windows/Win32_Graphics_Direct3D12" ]
|
||||||
runtime-vk = ["runtime", "reflect-cross", "librashader-common/vulkan", "librashader-runtime-vk", "ash" ]
|
runtime-vk = ["runtime", "reflect-cross", "librashader-common/vulkan", "librashader-runtime-vk", "ash" ]
|
||||||
runtime-wgpu = [ "runtime", "reflect-naga", "librashader-common/wgpu", "librashader-runtime-wgpu" ]
|
runtime-wgpu = [ "runtime", "reflect-naga", "librashader-common/wgpu", "librashader-runtime-wgpu", "wgpu" ]
|
||||||
|
|
||||||
# reflection
|
# reflection
|
||||||
reflect-cross = ["reflect", "librashader-reflect/cross"]
|
reflect-cross = ["reflect", "librashader-reflect/cross"]
|
||||||
|
|
Loading…
Reference in a new issue