mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
asm: support sampler and as types (#624)
* asm: support sampler and as types * fmt
This commit is contained in:
parent
fc268da041
commit
75d0d8f1ac
@ -311,6 +311,10 @@ impl<'cx, 'tcx> Builder<'cx, 'tcx> {
|
||||
image_type: inst.operands[0].unwrap_id_ref(),
|
||||
}
|
||||
.def(self.span(), self),
|
||||
Op::TypeSampler => SpirvType::Sampler.def(self.span(), self),
|
||||
Op::TypeAccelerationStructureKHR => {
|
||||
SpirvType::AccelerationStructureKhr.def(self.span(), self)
|
||||
}
|
||||
Op::TypeRayQueryKHR => SpirvType::RayQueryKhr.def(self.span(), self),
|
||||
Op::Variable => {
|
||||
// OpVariable with Function storage class should be emitted inside the function,
|
||||
|
Loading…
Reference in New Issue
Block a user