You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 16bit in each dimension because some GPUs actually have enough shared memory for 32k pixels
91
+
uint32_t outputWidth : 16;
92
+
uint32_t outputHeight : 16;
93
+
uint32_t outputDepth : 16;
94
+
uint32_t preloadWidth : 16;
95
+
uint32_t preloadHeight : 16;
96
+
uint32_t preloadDepth : 16;
66
97
//! Offset into the shared memory array which tells us from where the second buffer of shared memory begins
67
98
//! Given by max(memory_for_preload_region, memory_for_result_of_y_pass)
68
-
uint16_t secondScratchOffset;
69
-
uint16_t outputTexelsPerWGZ;
99
+
uint32_t otherPreloadOffset : 16;
100
+
};
70
101
71
-
uint32_t3 getOutputTexelsPerWG()
102
+
struct Parameters
103
+
{
104
+
#ifndef __HLSL_VERSION
105
+
explicit inline operator bool() const
72
106
{
73
-
//! `outputTexelsPerWG.xy` just happens to be in the first components of `iterationRegionsXPrefixProducts` and `iterationRegionYPrefixProducts` --this is
74
-
//! the result of how we choose to iterate, i.e. if, in the future, we decide to iterate differently, this needs to change.
// put just after the closing `>` on the partial template specialization `template` declaration e.g. `template<typename U, typename V, typename T> NBL_PARTIAL_REQ_TOP(SomeCond<U>)
139
140
#defineNBL_PARTIAL_REQ_TOP(...)
140
141
// put just before closing `>` on the partial template specialization Type args, e.g. `MyStruct<U,V,T NBL_PARTIAL_REQ_BOT(SomeCond<U>)>
0 commit comments