Lines Matching refs:offsetStr
392 const std::string &offsetStr, in OutputImage2DSizeFunction() argument
407 out << " const uint index = imageIndex - " << offsetStr << "2D;\n"; in OutputImage2DSizeFunction()
422 out << " if (imageIndex >= " << offsetStr << "2D && imageIndex < " << offsetStr in OutputImage2DSizeFunction()
425 out << " const uint index = imageIndex - " << offsetStr << "2D;\n"; in OutputImage2DSizeFunction()
435 out << " const uint index = imageIndex - " << offsetStr << "3D;\n"; in OutputImage2DSizeFunction()
455 out << "(imageIndex >= " << offsetStr << "3D && imageIndex < " << offsetStr in OutputImage2DSizeFunction()
459 out << " const uint index = imageIndex - " << offsetStr << "3D;\n"; in OutputImage2DSizeFunction()
471 out << " const uint index = imageIndex - " << offsetStr << "2DArray;\n"; in OutputImage2DSizeFunction()
480 out << " const uint index = imageIndex - " << offsetStr << "2DArray;\n"; in OutputImage2DSizeFunction()
498 const std::string &offsetStr, in OutputImage2DLoadFunction() argument
513 out << " const uint index = imageIndex - " << offsetStr << "2D;\n"; in OutputImage2DLoadFunction()
518 out << " if (imageIndex >= " << offsetStr << "2D && imageIndex < " << offsetStr in OutputImage2DLoadFunction()
521 out << " const uint index = imageIndex - " << offsetStr << "2D;\n"; in OutputImage2DLoadFunction()
531 out << " const uint index = imageIndex - " << offsetStr << "3D;\n"; in OutputImage2DLoadFunction()
551 out << "(imageIndex >= " << offsetStr << "3D && imageIndex < " << offsetStr in OutputImage2DLoadFunction()
555 out << " const uint index = imageIndex - " << offsetStr << "3D;\n"; in OutputImage2DLoadFunction()
566 out << " const uint index = imageIndex - " << offsetStr << "2DArray;\n"; in OutputImage2DLoadFunction()
574 out << " const uint index = imageIndex - " << offsetStr << "2DArray;\n"; in OutputImage2DLoadFunction()
591 const std::string &offsetStr, in OutputImage2DStoreFunction() argument
604 out << " const uint index = imageIndex - " << offsetStr << "2D;\n"; in OutputImage2DStoreFunction()
609 out << " if (imageIndex >= " << offsetStr << "2D && imageIndex < " << offsetStr in OutputImage2DStoreFunction()
612 out << " const uint index = imageIndex - " << offsetStr << "2D;\n"; in OutputImage2DStoreFunction()
622 out << " const uint index = imageIndex - " << offsetStr << "3D;\n"; in OutputImage2DStoreFunction()
642 out << "(imageIndex >= " << offsetStr << "3D && imageIndex < " << offsetStr in OutputImage2DStoreFunction()
646 out << " const uint index = imageIndex - " << offsetStr << "3D;\n"; in OutputImage2DStoreFunction()
657 out << " const uint index = imageIndex - " << offsetStr << "2DArray;\n"; in OutputImage2DStoreFunction()
665 out << " const uint index = imageIndex - " << offsetStr << "2DArray;\n"; in OutputImage2DStoreFunction()
752 std::string offsetStr = in OutputHLSLImage2DUniformGroup() local
759 out << "static const uint " << offsetStr << "2D = " << texture2DRegisterIndex << ";\n"; in OutputHLSLImage2DUniformGroup()
766 out << "static const uint " << offsetStr << "3D = " << texture3DRegisterIndex << ";\n"; in OutputHLSLImage2DUniformGroup()
773 out << "static const uint " << offsetStr << "2DArray = " << texture2DArrayRegisterIndex in OutputHLSLImage2DUniformGroup()
835 texture2DArrayCount, offsetStr, declarationStr, in OutputHLSLImage2DUniformGroup()
841 texture2DArrayCount, offsetStr, declarationStr); in OutputHLSLImage2DUniformGroup()
846 texture2DArrayCount, offsetStr, declarationStr); in OutputHLSLImage2DUniformGroup()