Lines Matching refs:operands
231 assert(ir->operands[0]->type == ir->type); in visit_leave()
235 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
244 assert(ir->type == ir->operands[0]->type); in visit_leave()
251 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
252 assert(ir->type == ir->operands[0]->type); in visit_leave()
256 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
260 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
264 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
268 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
272 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
276 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
280 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
284 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT); in visit_leave()
288 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
292 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT); in visit_leave()
296 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
300 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
304 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT); in visit_leave()
308 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
313 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
328 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
329 assert(ir->operands[0]->type == ir->type); in visit_leave()
344 if (ir->operands[0]->type->is_scalar()) in visit_leave()
345 assert(ir->operands[1]->type == ir->type); in visit_leave()
346 else if (ir->operands[1]->type->is_scalar()) in visit_leave()
347 assert(ir->operands[0]->type == ir->type); in visit_leave()
348 else if (ir->operands[0]->type->is_vector() && in visit_leave()
349 ir->operands[1]->type->is_vector()) { in visit_leave()
350 assert(ir->operands[0]->type == ir->operands[1]->type); in visit_leave()
351 assert(ir->operands[0]->type == ir->type); in visit_leave()
367 assert(ir->operands[0]->type == ir->operands[1]->type); in visit_leave()
368 assert(ir->operands[0]->type->is_vector() in visit_leave()
369 || ir->operands[0]->type->is_scalar()); in visit_leave()
370 assert(ir->operands[0]->type->vector_elements in visit_leave()
380 assert(ir->operands[0]->type == ir->operands[1]->type); in visit_leave()
385 assert(ir->operands[0]->type->is_integer() && in visit_leave()
386 ir->operands[1]->type->is_integer()); in visit_leave()
387 if (ir->operands[0]->type->is_scalar()) { in visit_leave()
388 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
390 if (ir->operands[0]->type->is_vector() && in visit_leave()
391 ir->operands[1]->type->is_vector()) { in visit_leave()
392 assert(ir->operands[0]->type->components() == in visit_leave()
393 ir->operands[1]->type->components()); in visit_leave()
395 assert(ir->type == ir->operands[0]->type); in visit_leave()
401 assert(ir->operands[0]->type->base_type == in visit_leave()
402 ir->operands[1]->type->base_type); in visit_leave()
404 if (ir->operands[0]->type->is_vector() && in visit_leave()
405 ir->operands[1]->type->is_vector()) { in visit_leave()
406 assert(ir->operands[0]->type->vector_elements == in visit_leave()
407 ir->operands[1]->type->vector_elements); in visit_leave()
415 assert(ir->operands[0]->type == glsl_type::bool_type); in visit_leave()
416 assert(ir->operands[1]->type == glsl_type::bool_type); in visit_leave()
421 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
422 assert(ir->operands[0]->type->is_vector()); in visit_leave()
423 assert(ir->operands[0]->type == ir->operands[1]->type); in visit_leave()
427 assert(ir->operands[0]->as_constant()); in visit_leave()
428 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
430 assert(ir->operands[1]->type == glsl_type::uint_type); in visit_leave()
444 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
445 assert(ir->operands[0]->type->base_type == ir->type->base_type); in visit_leave()
446 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
447 assert(ir->operands[1]->type->base_type == ir->type->base_type); in visit_leave()
448 assert(ir->operands[2] == NULL); in visit_leave()
449 assert(ir->operands[3] == NULL); in visit_leave()
452 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
453 assert(ir->operands[0]->type->base_type == ir->type->base_type); in visit_leave()
454 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
455 assert(ir->operands[1]->type->base_type == ir->type->base_type); in visit_leave()
456 assert(ir->operands[2]->type->is_scalar()); in visit_leave()
457 assert(ir->operands[2]->type->base_type == ir->type->base_type); in visit_leave()
458 assert(ir->operands[3] == NULL); in visit_leave()
461 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
462 assert(ir->operands[0]->type->base_type == ir->type->base_type); in visit_leave()
463 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
464 assert(ir->operands[1]->type->base_type == ir->type->base_type); in visit_leave()
465 assert(ir->operands[2]->type->is_scalar()); in visit_leave()
466 assert(ir->operands[2]->type->base_type == ir->type->base_type); in visit_leave()
467 assert(ir->operands[3]->type->is_scalar()); in visit_leave()
468 assert(ir->operands[3]->type->base_type == ir->type->base_type); in visit_leave()