RWByteAddressBuffer prevent_dce : register(u0); | |
vector<float16_t, 2> subgroupBroadcast_e4dd1a() { | |
vector<float16_t, 2> res = WaveReadLaneAt((float16_t(1.0h)).xx, int(1)); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupBroadcast_e4dd1a()); | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupBroadcast_e4dd1a()); | |
} | |