Skip to content

Commit b9905c2

Browse files
committed
latest example and kept in UnpackUnorm4x8
1 parent f36574a commit b9905c2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

include/nbl/builtin/hlsl/spirv_intrinsics/core.hlsl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ float32_t2 unpackSnorm2x16(uint32_t p);
200200
[[vk::ext_instruction(GLSLstd450UnpackSnorm4x8, "GLSL.std.450")]]
201201
float32_t4 unpackSnorm4x8(uint32_t p);
202202

203+
[[vk::ext_instruction(GLSLstd450UnpackUnorm4x8, "GLSL.std.450")]]
204+
float32_t4 unpackUnorm4x8(uint32_t p);
205+
203206
// Memory Semantics link here: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Memory_Semantics_-id-
204207

205208
// https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_memory_semantics_id

0 commit comments

Comments
 (0)