Track any required attribute reflection, such as compute shader numthreads.
| 1135 | // Track any required attribute reflection, such as compute shader numthreads. |
| 1136 | // |
| 1137 | void TReflection::buildAttributeReflection(EShLanguage stage, const TIntermediate& intermediate) |
| 1138 | { |
| 1139 | if (stage == EShLangCompute) { |
| 1140 | // Remember thread dimensions |
| 1141 | for (int dim=0; dim<3; ++dim) { |
| 1142 | localSize[dim] = intermediate.getLocalSize(dim); |
| 1143 | tileShadingRateQCOM[dim] = intermediate.getTileShadingRateQCOM(dim); |
| 1144 | } |
| 1145 | } |
| 1146 | } |
| 1147 | |
| 1148 | // build counter block index associations for buffers |
| 1149 | void TReflection::buildCounterIndices(const TIntermediate& intermediate) |
nothing calls this directly
no test coverage detected