@@ -64,7 +64,7 @@ namespace nvrhi
6464{
6565 // Version of the public API provided by NVRHI.
6666 // Increment this when any changes to the API are made.
67- static constexpr uint32_t c_HeaderVersion = 24 ;
67+ static constexpr uint32_t c_HeaderVersion = 25 ;
6868
6969 // Verifies that the version of the implementation matches the version of the header.
7070 // Returns true if they match. Use this when initializing apps using NVRHI as a shared library.
@@ -354,26 +354,28 @@ namespace nvrhi
354354 VertexBuffer = 0x00000004 ,
355355 IndexBuffer = 0x00000008 ,
356356 IndirectArgument = 0x00000010 ,
357- ShaderResource = 0x00000020 ,
358- UnorderedAccess = 0x00000040 ,
359- RenderTarget = 0x00000080 ,
360- DepthWrite = 0x00000100 ,
361- DepthRead = 0x00000200 ,
362- StreamOut = 0x00000400 ,
363- CopyDest = 0x00000800 ,
364- CopySource = 0x00001000 ,
365- ResolveDest = 0x00002000 ,
366- ResolveSource = 0x00004000 ,
367- Present = 0x00008000 ,
368- AccelStructRead = 0x00010000 ,
369- AccelStructWrite = 0x00020000 ,
370- AccelStructBuildInput = 0x00040000 ,
371- AccelStructBuildBlas = 0x00080000 ,
372- ShadingRateSurface = 0x00100000 ,
373- OpacityMicromapWrite = 0x00200000 ,
374- OpacityMicromapBuildInput = 0x00400000 ,
375- ConvertCoopVecMatrixInput = 0x00800000 ,
376- ConvertCoopVecMatrixOutput = 0x01000000 ,
357+ PixelShaderResource = 0x00000020 ,
358+ NonPixelShaderResource = 0x00000040 ,
359+ ShaderResource = PixelShaderResource | NonPixelShaderResource,
360+ UnorderedAccess = 0x00000080 ,
361+ RenderTarget = 0x00000100 ,
362+ DepthWrite = 0x00000200 ,
363+ DepthRead = 0x00000400 ,
364+ StreamOut = 0x00000800 ,
365+ CopyDest = 0x00001000 ,
366+ CopySource = 0x00002000 ,
367+ ResolveDest = 0x00004000 ,
368+ ResolveSource = 0x00008000 ,
369+ Present = 0x00010000 ,
370+ AccelStructRead = 0x00020000 ,
371+ AccelStructWrite = 0x00040000 ,
372+ AccelStructBuildInput = 0x00080000 ,
373+ AccelStructBuildBlas = 0x00100000 ,
374+ ShadingRateSurface = 0x00200000 ,
375+ OpacityMicromapWrite = 0x00400000 ,
376+ OpacityMicromapBuildInput = 0x00800000 ,
377+ ConvertCoopVecMatrixInput = 0x01000000 ,
378+ ConvertCoopVecMatrixOutput = 0x02000000 ,
377379 };
378380
379381 NVRHI_ENUM_CLASS_FLAG_OPERATORS (ResourceStates)
0 commit comments