Skip to content

Commit

Permalink
Remove spirv-std::f32x4 (#160)
Browse files Browse the repository at this point in the history
grep revealed that spirv-std::f32x4 isn't being
used anywhere
  • Loading branch information
nipunG314 committed Oct 27, 2020
1 parent 1b99a9c commit 6dd94d1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spirv-std/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ pointer_addrspace!(incoming_ray_payload_khr, IncomingRayPayloadKHR, true);
pointer_addrspace!(shader_record_buffer_khr, ShaderRecordBufferKHR, true);
pointer_addrspace!(physical_storage_buffer, PhysicalStorageBuffer, true);

#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy)]
#[repr(simd)]
pub struct f32x4(pub f32, pub f32, pub f32, pub f32);

/// libcore requires a few external symbols to be defined:
/// <https://github.com/rust-lang/rust/blob/c2bc344eb23d8c1d18e803b3f1e631cf99926fbb/library/core/src/lib.rs#L23-L27>
/// TODO: This is copied from `compiler_builtins/mem.rs`. Can we use that one instead? The note in the above link says
Expand Down

0 comments on commit 6dd94d1

Please sign in to comment.