Lines Matching refs:opcode

116 std::string RayQueryResult(std::string opcode) {
117 if (opcode.compare("OpRayQueryProceedKHR") == 0 ||
118 opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 ||
119 opcode.compare("OpRayQueryGetRayTMinKHR") == 0 ||
120 opcode.compare("OpRayQueryGetRayFlagsKHR") == 0 ||
121 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0 ||
122 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 ||
123 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 ||
124 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord"
126 opcode.compare("OpRayQueryGetIntersectionGeometryIndexKHR") == 0 ||
127 opcode.compare("OpRayQueryGetIntersectionPrimitiveIndexKHR") == 0 ||
128 opcode.compare("OpRayQueryGetIntersectionBarycentricsKHR") == 0 ||
129 opcode.compare("OpRayQueryGetIntersectionFrontFaceKHR") == 0 ||
130 opcode.compare("OpRayQueryGetIntersectionCandidateAABBOpaqueKHR") == 0 ||
131 opcode.compare("OpRayQueryGetIntersectionObjectRayDirectionKHR") == 0 ||
132 opcode.compare("OpRayQueryGetIntersectionObjectRayOriginKHR") == 0 ||
133 opcode.compare("OpRayQueryGetWorldRayDirectionKHR") == 0 ||
134 opcode.compare("OpRayQueryGetWorldRayOriginKHR") == 0 ||
135 opcode.compare("OpRayQueryGetIntersectionObjectToWorldKHR") == 0 ||
136 opcode.compare("OpRayQueryGetIntersectionWorldToObjectKHR") == 0) {
142 std::string RayQueryResultType(std::string opcode, bool valid) {
143 if (opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 ||
144 opcode.compare("OpRayQueryGetRayFlagsKHR") == 0 ||
145 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 ||
146 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 ||
147 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord"
149 opcode.compare("OpRayQueryGetIntersectionGeometryIndexKHR") == 0 ||
150 opcode.compare("OpRayQueryGetIntersectionPrimitiveIndexKHR") == 0) {
154 if (opcode.compare("OpRayQueryGetRayTMinKHR") == 0 ||
155 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0) {
159 if (opcode.compare("OpRayQueryGetIntersectionBarycentricsKHR") == 0) {
163 if (opcode.compare("OpRayQueryGetIntersectionObjectRayDirectionKHR") == 0 ||
164 opcode.compare("OpRayQueryGetIntersectionObjectRayOriginKHR") == 0 ||
165 opcode.compare("OpRayQueryGetWorldRayDirectionKHR") == 0 ||
166 opcode.compare("OpRayQueryGetWorldRayOriginKHR") == 0) {
170 if (opcode.compare("OpRayQueryProceedKHR") == 0 ||
171 opcode.compare("OpRayQueryGetIntersectionFrontFaceKHR") == 0 ||
172 opcode.compare("OpRayQueryGetIntersectionCandidateAABBOpaqueKHR") == 0) {
176 if (opcode.compare("OpRayQueryGetIntersectionObjectToWorldKHR") == 0 ||
177 opcode.compare("OpRayQueryGetIntersectionWorldToObjectKHR") == 0) {
183 std::string RayQueryIntersection(std::string opcode, bool valid) {
184 if (opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 ||
185 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0 ||
186 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 ||
187 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 ||
188 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord"
190 opcode.compare("OpRayQueryGetIntersectionGeometryIndexKHR") == 0 ||
191 opcode.compare("OpRayQueryGetIntersectionPrimitiveIndexKHR") == 0 ||
192 opcode.compare("OpRayQueryGetIntersectionBarycentricsKHR") == 0 ||
193 opcode.compare("OpRayQueryGetIntersectionFrontFaceKHR") == 0 ||
194 opcode.compare("OpRayQueryGetIntersectionObjectRayDirectionKHR") == 0 ||
195 opcode.compare("OpRayQueryGetIntersectionObjectRayOriginKHR") == 0 ||
196 opcode.compare("OpRayQueryGetIntersectionObjectToWorldKHR") == 0 ||
197 opcode.compare("OpRayQueryGetIntersectionWorldToObjectKHR") == 0) {
206 std::string opcode = GetParam();
208 ss << RayQueryResult(opcode);
209 ss << " " << opcode << " ";
210 ss << RayQueryResultType(opcode, true);
212 ss << RayQueryIntersection(opcode, true);
218 std::string opcode = GetParam();
220 ss << RayQueryResult(opcode);
221 ss << " " << opcode << " ";
222 ss << RayQueryResultType(opcode, true);
224 ss << RayQueryIntersection(opcode, true);
232 std::string opcode = GetParam();
233 std::string result_type = RayQueryResultType(opcode, false);
236 ss << RayQueryResult(opcode);
237 ss << " " << opcode << " ";
240 ss << RayQueryIntersection(opcode, true);
244 std::string correct_result_type = RayQueryResultType(opcode, true);
272 std::string opcode = GetParam();
273 std::string intersection = RayQueryIntersection(opcode, false);
276 ss << RayQueryResult(opcode);
277 ss << " " << opcode << " ";
278 ss << RayQueryResultType(opcode, true);