• Runs a validation test to check that evaluation of binaryOp either evaluates with or without error at shader creation time or pipeline creation time.

    Parameters

    • t: ShaderValidationTest

      the ShaderValidationTest

    • binaryOp: string

      the symbol of the binary operator

    • expectedResult: boolean

      false if an error is expected, true if no error is expected

    • leftStage: ExecutionStage

      the evaluation stage for the left argument

    • left: Value

      the left-hand side of the binary operation

    • rightStage: ExecutionStage

      the evaluation stage for the right argument

    • right: Value

      the right-hand side of the binary operation

    Returns void

Generated using TypeDoc