Thanks for using Compiler Explorer
HLSL
CMake
hlsl source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
NSC (release)
Options
Source code
#include <nbl/builtin/hlsl/concepts/core.hlsl> #include <nbl/builtin/hlsl/emulated/float64_t.hlsl> using namespace nbl::hlsl; using efloat64_t = emulated_float64_t<true,true>; [numthreads(1, 1, 1)] void main() { if (concepts::FloatingPointScalar<float>) vk::RawBufferStore(0xdeadbeefu,1); if (concepts::FloatingPointScalar<efloat64_t>) vk::RawBufferStore(0xdeadbeefu,2); if (concepts::impl::is_emulating_floating_point_scalar<float>::value) vk::RawBufferStore(0xdeadbeefu,3); if (concepts::impl::is_emulating_floating_point_scalar<efloat64_t>::value) vk::RawBufferStore(0xdeadbeefu,4); }
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
CE on Bluesky
About the author
Statistics
Changelog
Version tree