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