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>
16 lines
487 B
Plaintext
16 lines
487 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"
|
|
OpExecutionMode %1 OriginUpperLeft
|
|
%2 = OpString "$OPSTRING_FILENAME/generic-fn-op-name.rs"
|
|
OpName %3 "generic_fn_op_name::generic::<f32, {spirv_types::image_params::Dimensionality::TwoD}>"
|
|
OpName %4 "generic_fn_op_name::main"
|
|
%5 = OpTypeVoid
|
|
%6 = OpTypeFunction %5
|