mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-29 18:24:18 +00:00
14e2152198
* Add support for OpReadClockKHR * Use a const scope * Use full scope import path * Apply some suggestions * Add cfg flags and scopes as raw u32s * Run cargo fmt * Fix comment accuracy * Update crates/rustc_codegen_spirv/src/spirv_type_constraints.rs Co-authored-by: Ashley Hauck <953151+khyperia@users.noreply.github.com> * Run rustfmt * Add the shader clock feature and capability to the compile test rust flags and bless the changed test errors Co-authored-by: Ashley Hauck <953151+khyperia@users.noreply.github.com>
15 lines
396 B
Plaintext
15 lines
396 B
Plaintext
OpCapability Float64
|
|
OpCapability Int16
|
|
OpCapability Int64
|
|
OpCapability Int8
|
|
OpCapability ShaderClockKHR
|
|
OpCapability Shader
|
|
OpExtension "SPV_KHR_shader_clock"
|
|
OpMemoryModel Logical Simple
|
|
OpEntryPoint Fragment %1 "hello_world"
|
|
OpExecutionMode %1 OriginUpperLeft
|
|
%2 = OpString "$OPSTRING_FILENAME/custom_entry_point.rs"
|
|
OpName %3 "custom_entry_point::main"
|
|
%4 = OpTypeVoid
|
|
%5 = OpTypeFunction %4
|