NVAPI Reference Documentation
NVIDIA
Release 384: June 27
2017

nvHLSLExtns.h File Reference

Functions

int NvShfl (int val, uint srcLane, int width=NV_WARP_SIZE)
 
int NvShflUp (int val, uint delta, int width=NV_WARP_SIZE)
 
int NvShflDown (int val, uint delta, int width=NV_WARP_SIZE)
 
int NvShflXor (int val, uint laneMask, int width=NV_WARP_SIZE)
 
uint NvAny (int predicate)
 
uint NvAll (int predicate)
 
uint NvBallot (int predicate)
 
int NvGetLaneId ()
 
uint NvInterlockedAddFp16x2 (RWByteAddressBuffer uav, uint byteAddress, uint fp16x2Val)
 
uint NvInterlockedMinFp16x2 (RWByteAddressBuffer uav, uint byteAddress, uint fp16x2Val)
 
uint NvInterlockedMaxFp16x2 (RWByteAddressBuffer uav, uint byteAddress, uint fp16x2Val)
 
uint NvInterlockedAddFp16x2 (RWByteAddressBuffer uav, uint byteAddress, float2 val)
 
uint NvInterlockedMinFp16x2 (RWByteAddressBuffer uav, uint byteAddress, float2 val)
 
uint NvInterlockedMaxFp16x2 (RWByteAddressBuffer uav, uint byteAddress, float2 val)
 
uint NvInterlockedAddFp16x2 (RWTexture1D< float2 > uav, uint address, uint fp16x2Val)
 
uint NvInterlockedMinFp16x2 (RWTexture1D< float2 > uav, uint address, uint fp16x2Val)
 
uint NvInterlockedMaxFp16x2 (RWTexture1D< float2 > uav, uint address, uint fp16x2Val)
 
uint NvInterlockedAddFp16x2 (RWTexture2D< float2 > uav, uint2 address, uint fp16x2Val)
 
uint NvInterlockedMinFp16x2 (RWTexture2D< float2 > uav, uint2 address, uint fp16x2Val)
 
uint NvInterlockedMaxFp16x2 (RWTexture2D< float2 > uav, uint2 address, uint fp16x2Val)
 
uint NvInterlockedAddFp16x2 (RWTexture3D< float2 > uav, uint3 address, uint fp16x2Val)
 
uint NvInterlockedMinFp16x2 (RWTexture3D< float2 > uav, uint3 address, uint fp16x2Val)
 
uint NvInterlockedMaxFp16x2 (RWTexture3D< float2 > uav, uint3 address, uint fp16x2Val)
 
uint NvInterlockedAddFp16x2 (RWTexture1D< float2 > uav, uint address, float2 val)
 
uint NvInterlockedMinFp16x2 (RWTexture1D< float2 > uav, uint address, float2 val)
 
uint NvInterlockedMaxFp16x2 (RWTexture1D< float2 > uav, uint address, float2 val)
 
uint NvInterlockedAddFp16x2 (RWTexture2D< float2 > uav, uint2 address, float2 val)
 
uint NvInterlockedMinFp16x2 (RWTexture2D< float2 > uav, uint2 address, float2 val)
 
uint NvInterlockedMaxFp16x2 (RWTexture2D< float2 > uav, uint2 address, float2 val)
 
uint NvInterlockedAddFp16x2 (RWTexture3D< float2 > uav, uint3 address, float2 val)
 
uint NvInterlockedMinFp16x2 (RWTexture3D< float2 > uav, uint3 address, float2 val)
 
uint NvInterlockedMaxFp16x2 (RWTexture3D< float2 > uav, uint3 address, float2 val)
 
uint2 NvInterlockedAddFp16x4 (RWTexture1D< float4 > uav, uint address, uint2 fp16x2Val)
 
uint2 NvInterlockedMinFp16x4 (RWTexture1D< float4 > uav, uint address, uint2 fp16x2Val)
 
uint2 NvInterlockedMaxFp16x4 (RWTexture1D< float4 > uav, uint address, uint2 fp16x2Val)
 
uint2 NvInterlockedAddFp16x4 (RWTexture2D< float4 > uav, uint2 address, uint2 fp16x2Val)
 
uint2 NvInterlockedMinFp16x4 (RWTexture2D< float4 > uav, uint2 address, uint2 fp16x2Val)
 
uint2 NvInterlockedMaxFp16x4 (RWTexture2D< float4 > uav, uint2 address, uint2 fp16x2Val)
 
uint2 NvInterlockedAddFp16x4 (RWTexture3D< float4 > uav, uint3 address, uint2 fp16x2Val)
 
uint2 NvInterlockedMinFp16x4 (RWTexture3D< float4 > uav, uint3 address, uint2 fp16x2Val)
 
uint2 NvInterlockedMaxFp16x4 (RWTexture3D< float4 > uav, uint3 address, uint2 fp16x2Val)
 
uint2 NvInterlockedAddFp16x4 (RWTexture1D< float4 > uav, uint address, float4 val)
 
uint2 NvInterlockedMinFp16x4 (RWTexture1D< float4 > uav, uint address, float4 val)
 
uint2 NvInterlockedMaxFp16x4 (RWTexture1D< float4 > uav, uint address, float4 val)
 
uint2 NvInterlockedAddFp16x4 (RWTexture2D< float4 > uav, uint2 address, float4 val)
 
uint2 NvInterlockedMinFp16x4 (RWTexture2D< float4 > uav, uint2 address, float4 val)
 
uint2 NvInterlockedMaxFp16x4 (RWTexture2D< float4 > uav, uint2 address, float4 val)
 
uint2 NvInterlockedAddFp16x4 (RWTexture3D< float4 > uav, uint3 address, float4 val)
 
uint2 NvInterlockedMinFp16x4 (RWTexture3D< float4 > uav, uint3 address, float4 val)
 
uint2 NvInterlockedMaxFp16x4 (RWTexture3D< float4 > uav, uint3 address, float4 val)
 
float NvInterlockedAddFp32 (RWByteAddressBuffer uav, uint byteAddress, float val)
 
float NvInterlockedAddFp32 (RWTexture1D< float > uav, uint address, float val)
 
float NvInterlockedAddFp32 (RWTexture2D< float > uav, uint2 address, float val)
 
float NvInterlockedAddFp32 (RWTexture3D< float > uav, uint3 address, float val)
 
float4 NvLoadUavTyped (RWTexture1D< float4 > uav, uint address)
 
float4 NvLoadUavTyped (RWTexture2D< float4 > uav, uint2 address)
 
float4 NvLoadUavTyped (RWTexture3D< float4 > uav, uint3 address)
 
float2 NvLoadUavTyped (RWTexture1D< float2 > uav, uint address)
 
float2 NvLoadUavTyped (RWTexture2D< float2 > uav, uint2 address)
 
float2 NvLoadUavTyped (RWTexture3D< float2 > uav, uint3 address)
 
float NvLoadUavTyped (RWTexture1D< float > uav, uint address)
 
float NvLoadUavTyped (RWTexture2D< float > uav, uint2 address)
 
float NvLoadUavTyped (RWTexture3D< float > uav, uint3 address)
 
uint4 NvLoadUavTyped (RWTexture1D< uint4 > uav, uint address)
 
uint4 NvLoadUavTyped (RWTexture2D< uint4 > uav, uint2 address)
 
uint4 NvLoadUavTyped (RWTexture3D< uint4 > uav, uint3 address)
 
uint2 NvLoadUavTyped (RWTexture1D< uint2 > uav, uint address)
 
uint2 NvLoadUavTyped (RWTexture2D< uint2 > uav, uint2 address)
 
uint2 NvLoadUavTyped (RWTexture3D< uint2 > uav, uint3 address)
 
uint NvLoadUavTyped (RWTexture1D< uint > uav, uint address)
 
uint NvLoadUavTyped (RWTexture2D< uint > uav, uint2 address)
 
uint NvLoadUavTyped (RWTexture3D< uint > uav, uint3 address)
 
int4 NvLoadUavTyped (RWTexture1D< int4 > uav, uint address)
 
int4 NvLoadUavTyped (RWTexture2D< int4 > uav, uint2 address)
 
int4 NvLoadUavTyped (RWTexture3D< int4 > uav, uint3 address)
 
int2 NvLoadUavTyped (RWTexture1D< int2 > uav, uint address)
 
int2 NvLoadUavTyped (RWTexture2D< int2 > uav, uint2 address)
 
int2 NvLoadUavTyped (RWTexture3D< int2 > uav, uint3 address)
 
int NvLoadUavTyped (RWTexture1D< int > uav, uint address)
 
int NvLoadUavTyped (RWTexture2D< int > uav, uint2 address)
 
int NvLoadUavTyped (RWTexture3D< int > uav, uint3 address)
 

Function Documentation

uint NvAll ( int  predicate)

References g_NvidiaExt, and NV_EXTN_OP_VOTE_ALL.

uint NvAny ( int  predicate)

References g_NvidiaExt, and NV_EXTN_OP_VOTE_ANY.

uint NvBallot ( int  predicate)
int NvGetLaneId ( )
uint NvInterlockedAddFp16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
uint  fp16x2Val 
)
uint NvInterlockedAddFp16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
float2  val 
)
uint NvInterlockedAddFp16x2 ( RWTexture1D< float2 >  uav,
uint  address,
uint  fp16x2Val 
)
uint NvInterlockedAddFp16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
uint  fp16x2Val 
)
uint NvInterlockedAddFp16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
uint  fp16x2Val 
)
uint NvInterlockedAddFp16x2 ( RWTexture1D< float2 >  uav,
uint  address,
float2  val 
)
uint NvInterlockedAddFp16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
float2  val 
)
uint NvInterlockedAddFp16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
float2  val 
)
uint2 NvInterlockedAddFp16x4 ( RWTexture1D< float4 >  uav,
uint  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedAddFp16x4 ( RWTexture2D< float4 >  uav,
uint2  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedAddFp16x4 ( RWTexture3D< float4 >  uav,
uint3  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedAddFp16x4 ( RWTexture1D< float4 >  uav,
uint  address,
float4  val 
)
uint2 NvInterlockedAddFp16x4 ( RWTexture2D< float4 >  uav,
uint2  address,
float4  val 
)
uint2 NvInterlockedAddFp16x4 ( RWTexture3D< float4 >  uav,
uint3  address,
float4  val 
)
float NvInterlockedAddFp32 ( RWByteAddressBuffer  uav,
uint  byteAddress,
float  val 
)

References __NvAtomicAddFP32().

float NvInterlockedAddFp32 ( RWTexture1D< float >  uav,
uint  address,
float  val 
)

References __NvAtomicAddFP32().

float NvInterlockedAddFp32 ( RWTexture2D< float >  uav,
uint2  address,
float  val 
)

References __NvAtomicAddFP32().

float NvInterlockedAddFp32 ( RWTexture3D< float >  uav,
uint3  address,
float  val 
)

References __NvAtomicAddFP32().

uint NvInterlockedMaxFp16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
uint  fp16x2Val 
)
uint NvInterlockedMaxFp16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
float2  val 
)
uint NvInterlockedMaxFp16x2 ( RWTexture1D< float2 >  uav,
uint  address,
uint  fp16x2Val 
)
uint NvInterlockedMaxFp16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
uint  fp16x2Val 
)
uint NvInterlockedMaxFp16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
uint  fp16x2Val 
)
uint NvInterlockedMaxFp16x2 ( RWTexture1D< float2 >  uav,
uint  address,
float2  val 
)
uint NvInterlockedMaxFp16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
float2  val 
)
uint NvInterlockedMaxFp16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
float2  val 
)
uint2 NvInterlockedMaxFp16x4 ( RWTexture1D< float4 >  uav,
uint  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedMaxFp16x4 ( RWTexture2D< float4 >  uav,
uint2  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedMaxFp16x4 ( RWTexture3D< float4 >  uav,
uint3  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedMaxFp16x4 ( RWTexture1D< float4 >  uav,
uint  address,
float4  val 
)
uint2 NvInterlockedMaxFp16x4 ( RWTexture2D< float4 >  uav,
uint2  address,
float4  val 
)
uint2 NvInterlockedMaxFp16x4 ( RWTexture3D< float4 >  uav,
uint3  address,
float4  val 
)
uint NvInterlockedMinFp16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
uint  fp16x2Val 
)
uint NvInterlockedMinFp16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
float2  val 
)
uint NvInterlockedMinFp16x2 ( RWTexture1D< float2 >  uav,
uint  address,
uint  fp16x2Val 
)
uint NvInterlockedMinFp16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
uint  fp16x2Val 
)
uint NvInterlockedMinFp16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
uint  fp16x2Val 
)
uint NvInterlockedMinFp16x2 ( RWTexture1D< float2 >  uav,
uint  address,
float2  val 
)
uint NvInterlockedMinFp16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
float2  val 
)
uint NvInterlockedMinFp16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
float2  val 
)
uint2 NvInterlockedMinFp16x4 ( RWTexture1D< float4 >  uav,
uint  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedMinFp16x4 ( RWTexture2D< float4 >  uav,
uint2  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedMinFp16x4 ( RWTexture3D< float4 >  uav,
uint3  address,
uint2  fp16x2Val 
)
uint2 NvInterlockedMinFp16x4 ( RWTexture1D< float4 >  uav,
uint  address,
float4  val 
)
uint2 NvInterlockedMinFp16x4 ( RWTexture2D< float4 >  uav,
uint2  address,
float4  val 
)
uint2 NvInterlockedMinFp16x4 ( RWTexture3D< float4 >  uav,
uint3  address,
float4  val 
)
float4 NvLoadUavTyped ( RWTexture1D< float4 >  uav,
uint  address 
)
float4 NvLoadUavTyped ( RWTexture2D< float4 >  uav,
uint2  address 
)
float4 NvLoadUavTyped ( RWTexture3D< float4 >  uav,
uint3  address 
)
float2 NvLoadUavTyped ( RWTexture1D< float2 >  uav,
uint  address 
)
float2 NvLoadUavTyped ( RWTexture2D< float2 >  uav,
uint2  address 
)
float2 NvLoadUavTyped ( RWTexture3D< float2 >  uav,
uint3  address 
)
float NvLoadUavTyped ( RWTexture1D< float >  uav,
uint  address 
)
float NvLoadUavTyped ( RWTexture2D< float >  uav,
uint2  address 
)
float NvLoadUavTyped ( RWTexture3D< float >  uav,
uint3  address 
)
uint4 NvLoadUavTyped ( RWTexture1D< uint4 >  uav,
uint  address 
)
uint4 NvLoadUavTyped ( RWTexture2D< uint4 >  uav,
uint2  address 
)
uint4 NvLoadUavTyped ( RWTexture3D< uint4 >  uav,
uint3  address 
)
uint2 NvLoadUavTyped ( RWTexture1D< uint2 >  uav,
uint  address 
)
uint2 NvLoadUavTyped ( RWTexture2D< uint2 >  uav,
uint2  address 
)
uint2 NvLoadUavTyped ( RWTexture3D< uint2 >  uav,
uint3  address 
)
uint NvLoadUavTyped ( RWTexture1D< uint >  uav,
uint  address 
)
uint NvLoadUavTyped ( RWTexture2D< uint >  uav,
uint2  address 
)
uint NvLoadUavTyped ( RWTexture3D< uint >  uav,
uint3  address 
)
int4 NvLoadUavTyped ( RWTexture1D< int4 >  uav,
uint  address 
)
int4 NvLoadUavTyped ( RWTexture2D< int4 >  uav,
uint2  address 
)
int4 NvLoadUavTyped ( RWTexture3D< int4 >  uav,
uint3  address 
)
int2 NvLoadUavTyped ( RWTexture1D< int2 >  uav,
uint  address 
)
int2 NvLoadUavTyped ( RWTexture2D< int2 >  uav,
uint2  address 
)
int2 NvLoadUavTyped ( RWTexture3D< int2 >  uav,
uint3  address 
)
int NvLoadUavTyped ( RWTexture1D< int >  uav,
uint  address 
)
int NvLoadUavTyped ( RWTexture2D< int >  uav,
uint2  address 
)
int NvLoadUavTyped ( RWTexture3D< int >  uav,
uint3  address 
)
int NvShfl ( int  val,
uint  srcLane,
int  width = NV_WARP_SIZE 
)
int NvShflDown ( int  val,
uint  delta,
int  width = NV_WARP_SIZE 
)
int NvShflUp ( int  val,
uint  delta,
int  width = NV_WARP_SIZE 
)
int NvShflXor ( int  val,
uint  laneMask,
int  width = NV_WARP_SIZE 
)


Copyright (c) 2007-2017 NVIDIA Corporation. All rights reserved.

NVIDIA