C 言語関数:firstbithigh サンプルコード

サンプルコードを検索した結果です。


TITLE : Supported Features | Diligent Graphics
* firstbithigh( {int, int2, int3, int4, uint, uint2, uint3, uint4} ).......
http://diligentgraphics.com/diligent-engine/shader-converter/supported-features/


TITLE : DirectX-Graphics-Samples/ParticleTileCullingCS.hlsl at master 揃 Microsoft/DirectX-Graphics-Samples 揃 GitHub
uint NextPow2 = countbits(ParticleCountInBin) <= 1 ? ParticleCountInBin : (2 << firstbithigh(ParticleCountInBin));.......
http://github.com/Microsoft/DirectX-Graphics-Samples/blob/master/MiniEngine/Core/Shaders/ParticleTileCullingCS.hlsl
TITLE : Optimizing GPU occupancy and resource usage with large thread groups - GPUOpen
If you have more bools than can be accommodated in SGPRs, consider bit-packing 32 bools to a single VGPR. GCN has single-cycle bit-field extract/insert to manipulate bit fields quickly. In addition, you can use countbits() and firstbithigh() / firstbitlow() to do reductions and searching of bitfields. Binary prefix-sum can be implemented efficiently with countbits() , by masking previous bits and then counting........
http://gpuopen.com/optimizing-gpu-occupancy-resource-usage-large-thread-groups/
TITLE : firstbithigh function (Windows)
int firstbithigh(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
int2 firstbithigh(int2 value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
int3 firstbithigh(int3 value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
int4 firstbithigh(int4 value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
uint firstbithigh(uint value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
uint2 firstbithigh(uint2 value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
uint3 firstbithigh(uint3 value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
TITLE : firstbithigh function (Windows)
uint4 firstbithigh(uint4 value);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471400(v=vs.85).aspx
Googleで検索

https://www.google.co.jp/#q=firstbithigh