mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-26 08:45:43 +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>
20 lines
513 B
Plaintext
20 lines
513 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 "main" %2
|
|
OpExecutionMode %1 OriginUpperLeft
|
|
%3 = OpString "$OPSTRING_FILENAME/issue-723-output.rs"
|
|
OpName %4 "issue_723_output::main"
|
|
OpDecorate %2 Location 0
|
|
%5 = OpTypeVoid
|
|
%6 = OpTypeFloat 32
|
|
%7 = OpTypeVector %6 4
|
|
%8 = OpTypePointer Output %7
|
|
%9 = OpTypeFunction %5
|
|
%2 = OpVariable %8 Output
|