aco/opcodes: delete wrong comment copy pasted from NIR
authorGeorg Lehmann <dadschoorse@gmail.com>
Sat, 22 Apr 2023 11:40:58 +0000 (13:40 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Jun 2023 13:45:38 +0000 (13:45 +0000)
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21882>

src/amd/compiler/aco_opcodes.py

index ecad50f..d3bcf07 100644 (file)
@@ -200,16 +200,6 @@ class Opcode(object):
    NOTE: this must be kept in sync with aco_op_info
    """
    def __init__(self, name, opcode_gfx7, opcode_gfx9, opcode_gfx10, opcode_gfx11, format, input_mod, output_mod, is_atomic, cls):
-      """Parameters:
-
-      - name is the name of the opcode (prepend nir_op_ for the enum name)
-      - all types are strings that get nir_type_ prepended to them
-      - input_types is a list of types
-      - algebraic_properties is a space-separated string, where nir_op_is_ is
-        prepended before each entry
-      - const_expr is an expression or series of statements that computes the
-        constant value of the opcode given the constant values of its inputs.
-      """
       assert isinstance(name, str)
       assert isinstance(opcode_gfx7, int)
       assert isinstance(opcode_gfx9, int)