Mesa (master): 33 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Mar 17 16:15:20 UTC 2019


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58376c6b9be80c2cb74c7638d961d5af64f7143f
Author: Karol Herbst <kherbst at redhat.com>
Date:   Thu Aug 16 22:11:47 2018 +0200

    nv50ir/nir: move immediates before use
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ded1cdef9b488859e6aadb089eb3435ba73682f
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sat Jun 30 16:22:17 2018 +0200

    nv50/ir/nir: handle user clip planes for each emitted vertex
    
    v9: convert to C++ style comments
        handle for tess eval shaders as well
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b866012f7ba4bd83ad0e3904eae2116205bd256b
Author: Karol Herbst <kherbst at redhat.com>
Date:   Wed Jan 10 00:35:47 2018 +0100

    nv50/ir/nir: implement intrinsic shader_clock
    
    v9: mark as fixed
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c00d45cb457a68d89960bf003e1e2c9f3600d495
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sun Jan 7 00:35:37 2018 +0100

    nv50/ir/nir: implement load_per_vertex_output
    
    v4: use smarter getIndirect helper
        use new getSlotAddress helper
    v5: use loadFrom helper
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c44f4e04309802f7c4e82b5bb3c0ea645cf38a5
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Dec 25 23:15:03 2017 +0100

    nv50/ir/nir: add memory barriers
    
    v5: add more barrier intrinsics
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=753ae68ca04b3f3e1ac0245d72e265d15b0fcaf3
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sat Dec 23 18:05:49 2017 +0100

    nv50/ir/nir: implement images
    
    v3: fix compiler warnings
    v4: use loadFrom helper
    v5: fix signed min/max
    v6: set tex mask
        add support for indirect image access
        set cache mode
    v7: make compatible with 884d27bcf688d36c3bbe01bceca525595add3b33
        rework the whole deref thing to prepare for bindless
    v8: port to deref instructions
        don't require C++11 features
    v9: implement MS images
        rebase on master (image modifiers)
        fix regressions due to variable src compnents
        replace '(*it).' with 'it->'
        convert to C++ style comments
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cdcb364f0f2419b9708b477eeec348b837626f8
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sat Dec 23 02:26:03 2017 +0100

    nv50/ir/nir: implement ssbo intrinsics
    
    v4: use loadFrom helper
    v5: support indirect buffer access
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8dca02955a3e6361a54edc442a66dd1b7f93d8b9
Author: Karol Herbst <kherbst at redhat.com>
Date:   Fri Dec 22 18:01:38 2017 +0100

    nv50/ir/nir: implement nir_intrinsic_load_ubo
    
    v4: use loadFrom helper
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bef2b7bf524ab53d92456a0442662f80b76e30c
Author: Karol Herbst <kherbst at redhat.com>
Date:   Thu Dec 21 16:30:25 2017 +0100

    nv50/ir/nir: implement geometry shader nir_intrinsics
    
    v4: use smarter getIndirect helper
        use new getSlotAddress helper
        use loadFrom helper
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2de40f07e61fdee168a54ca09fd6c3ac0dac6d7
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Dec 11 02:11:50 2017 +0100

    nv50/ir/nir: implement variable indexing
    
    We store those arrays in local memory and reserve some space for each of the
    arrays. With NIR we could store those arrays packed, but we don't do that yet
    as it causes MemoryOpt to generate unaligned memory accesses.
    
    v3: use fixed size vec4 arrays until we fix MemoryOpt
    v4: fix for 64 bit types
    v5: use loadFrom helper
    v8: don't require C++11 features
    v9: convert to C++ style comments
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa361a3c1e7bf7b291de59c2386501fc13ebfed1
Author: Karol Herbst <kherbst at redhat.com>
Date:   Wed Dec 20 17:06:03 2017 +0100

    nv50/ir/nir: implement vote and ballot
    
    v2: add vote_eq support
        use the new subop intrinsic helper
        add ballot
    v3: add read_(first_)invocation
    v8: handle vectorized intrinsics
        don't require C++11 features
    v9: lower_subgroups to 32 bit (produces less instructions)
        use getSSA and getScratch instead of new_LValue
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4dec7f81e0066554347461822b1fcbe6f355674a
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sat Dec 23 02:25:41 2017 +0100

    nv50/ir/nir: add skeleton getOperation for intrinsics
    
    v7: don't assert in default case for getSubOp
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb032d8b629cd42c8b7767d9f2156530b1b746f9
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Dec 12 18:07:01 2017 +0100

    nv50/ir/nir: implement nir_instr_type_tex
    
    a lot of those fields are not valid for a lot of tex ops. Not quite sure if
    it's worth the effort to check for those or just keep it like that. It seems
    to kind of work.
    
    v2: reworked offset handling
        add tex support with indirect R/S arguments
        handle GLSL_SAMPLER_DIM_EXTERNAL
        drop reference in convert(glsl_sampler_dim&, bool, bool)
        fix tg4 component selection
    v5: fill up coords args with scratch values if coords provided is less than TexTarget.getArgCount()
    v7: prepare for bindless_texture support
    v8: don't require C++11 features
    v9: convert to C++ style comments
        fix txf with a uniform constant 0 lod
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83cb790bf06e2dde4789b1497ac287944c70b818
Author: Karol Herbst <kherbst at redhat.com>
Date:   Thu Dec 14 01:15:55 2017 +0100

    nv50/ir/nir: implement nir_ssa_undef_instr
    
    v2: use mkOp
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad61f7e20d7e93833b81b016e224ad01c78ebad3
Author: Karol Herbst <kherbst at redhat.com>
Date:   Wed Dec 13 22:14:03 2017 +0100

    nv50/ir/nir: implement loading system values
    
    v2: support more sys values
        fixed a bug where for multi component reads all values ended up in x
    v3: add load_patch_vertices_in
    v4: add subgroup stuff
    v5: add helper invocation
    v6: fix loading 64 bit system values
    v8: don't require C++11 features
    v9: convert to C++ style comments
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b05494c216fcb9bd6e02081d43d8d528fdb7f1da
Author: Karol Herbst <kherbst at redhat.com>
Date:   Wed Dec 13 21:59:29 2017 +0100

    nv50/ir/nir: implement intrinsic_discard(_if)
    
    v9: use getSSA instead of new_LValue
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e68b7bef2d9c187a56c6132985568ee6dfbcabe
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Dec 11 16:21:06 2017 +0100

    nv50/ir/nir: implement load_(interpolated_)input/output
    
    v3: and load_output
    v4: use smarter getIndirect helper
        use new getSlotAddress helper
    v5: don't use const_offset directly
        fix for indirects
    v6: add support for interpolateAt
    v7: fix compiler warnings
        add load_barycentric_sample
        handle load_output for fragment shaders
    v8: set info->prop.fp.readsSampleLocations for at_sample interpolation
        don't require C++11 features
    v9: convert to C++ style comments
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bc32bf65350daadf382932ad16071489b751a2b
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Dec 11 15:46:19 2017 +0100

    nv50/ir/nir: implement nir_intrinsic_store_(per_vertex_)output
    
    v3: add workaround for RA issues
        indirects have to be multiplied by 0x10
        fix indirect access
    v4: use smarter getIndirect helper
        use storeTo helper
    v5: don't use const_offset directly
    v8: don't require C++11 features
    v9: convert to C++ style comments
        handle clip planes correctly
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c257a0201d346e6685dcbb4d38f39779dba6238
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Dec 12 21:02:37 2017 +0100

    nv50/ir/nir: implement nir_intrinsic_load_uniform
    
    v2: use new getIndirect helper
        fixes symbols for 64 bit types
    v4: use smarter getIndirect helper
        simplify address calculation
        use loadFrom helper
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6513c675ad31d192265a8286d712e8ae81c9f305
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Dec 12 21:05:30 2017 +0100

    nv50/ir/nir: implement nir_alu_instr handling
    
    v2: user bitfield_insert instead of bfi
        rework switch helper macros
        remove some lowering code (LoweringHelper is now used for this)
    v3: add pack_half_2x16_split
        add unpack_half_2x16_split_x/y
    v5: replace first argument with nullptr in loadImm calls
        prefer getSSA over getScratch
    v8: fix setting precise modifier for first instruction inside a block
        add guard in case no instruction gets inserted into an empty block
        don't require C++11 features
    v9: use CC_NE for integer compares
        convert to C++ style comments
        fix b2f for doubles
        remove macros around nir ops to make it easier to grep them
        add handling for fpow
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c69b814728d01a2082fa5b68d9df3638576539e2
Author: Karol Herbst <kherbst at redhat.com>
Date:   Thu Dec 21 13:33:23 2017 +0100

    nv50/ir/nir: add skeleton for nir_intrinsic_instr
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8379dc300d744b4878f3d6e064bf65c5efa18e8c
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Dec 12 21:01:39 2017 +0100

    nv50/ir/nir: implement nir_load_const_instr
    
    v8: fix loading 8/16 bit constants
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88c909e9a767b89bbee8d5072c93bec551b2b058
Author: Karol Herbst <kherbst at redhat.com>
Date:   Fri Dec 15 17:40:15 2017 +0100

    nv50/ir/nir: parse NIR shader info
    
    v2: parse a few more fields
    v3: add special handling for GL_ISOLINES
    v8: set info->prop.fp.readsSampleLocations
        don't require C++11 features
    v9: replace '(*it).' with 'it->'
        convert to C++ style comments
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8d9be40cbaf4922adec34a2e8106c04e2c7660d
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Jan 9 03:22:00 2018 +0100

    nv50/ir/nir: add loadFrom and storeTo helpler
    
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39929a81645e3f27c3a65faf355f11826043e50b
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Dec 11 18:01:29 2017 +0100

    nv50/ir/nir: run assignSlots
    
    v2: add support for geometry shaders
        set idx
        add some missing mappings
        fix for 64bit inputs/outputs
        fix up some FP color output index messup
        parse centroid flag
    v3: fix arrays in outputs as well
        fix input/ouput size calculation for tessellation shaders
    v4: add getSlotAddress helper
        fix for 64 bit typed inputs
    v5: change getSlotAddress interface for easier use
        fix sample inputs
        fix slot counting for mat
    v7: fix driver_location of images
    v8: don't require C++11 features
    v9: convert to C++ style comments
        support VERT_ATTRIB_POINT_SIZE
        add more error checking to slots
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccc4de0bdd0dd0e9118042084bc58bf50466911a
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Dec 18 03:57:06 2017 +0100

    nv50/ir/nir: add nir type helper functions
    
    v4: treat imul as unsigned
    v5: remove pointless !!
    v7: inot is unsigned as well
    v8: don't require C++11 features
    v9: convert to C++ style comments
        improve formatting
        print error in all cases where codegen doesn't support a given type
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Acked-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7481abcd0ca41e0d801f2efd4b088a23e6a56892
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Dec 12 21:01:28 2017 +0100

    nv50/ir/nir: track defs and provide easy access functions
    
    v2: add helper function for indirects
    v4: add new getIndirect overload for easier use
    v5: use getSSA for ssa values
        we can just create the values for unassigned registers in getSrc
    v6: always create at least 32 bit values
    v8: don't require C++11 features
    v9: include unordered_map on supported stdlibs
        replace '(*it).' with 'it->'
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9298664a5f8e81af6f7cd8bc1493c6d5a6b4ddb4
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sun Dec 10 20:39:23 2017 +0100

    nv50/ir/nir: run some passes to make the conversion easier
    
    v2: add constant_folding
    v6: print non final NIR only for verbose debugging
    v8: add passes we will need for OpenCL compute shaders
    v9: move type_size into anonymous namespace
        convert to C++ style comments
        lower bools to int32
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Acked-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78c5336ca9b37e59ecb3d8f44c988dc87d595b9b
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Apr 10 16:41:01 2018 +0200

    nouveau: fix nir and TGSI shader cache collision
    
    v9: rename variable to driver_flags
        use constants for shader cache flags
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f014ae3c7cce504afe5d3c3de154f9cf9aea0821
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sun Dec 10 15:06:45 2017 +0100

    nouveau: add support for nir
    
    not all those nir options are actually required, it just made the work a
    little easier.
    
    v2: fix asserts
        parse compute shaders
        don't lower bitfield_insert
    v3: fix memory leak
    v4: don't lower fmod32
    v5: set lower_all_io_to_temps to false
        fix memory leak because we take over ownership of the nir shader
        merge: use the lowering helper
    v6: include TGSI debug header for proper assert call
        add nv50 support
    v7: fix Automake build
    v8: free shader only for the set shader type
    v9: check for IR type inside get_compiler_options
        squash "nouveau: add env var to make nir default"
        fix memory leak when creating compute shaders
        use debug_get_bool_option as it is available in non debug builds
        return failure if unsupported IR is encountered
        don't lower fpow in nir
        lower int 64 divmod inside nir to prevent crashes
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a211c92c4bf0582e5988a38d85cd6ef273e926da
Author: Karol Herbst <kherbst at redhat.com>
Date:   Wed Jan 3 15:31:15 2018 +0100

    nv50/ir: add lowering helper
    
    if we start supporting multiple input IRs we might want to move lowering code
    into a common place and keep the initial translation simplier.
    
    This will also allows us to react on ISA changes more easily.
    
    v5: also handle SAT
    v6: rename type variables
        fixed lowering of NEG
        add lowering of NOT
    v8: don't require C++11 features
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0393010c4e654e13c62cb2f6f9eea066db19bc5
Author: Karol Herbst <kherbst at redhat.com>
Date:   Tue Jan 2 19:02:30 2018 +0100

    nv50/ir: move common converter code in base class
    
    v2: remove TGSI related bits
    
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <pierre.morrow at free.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb50cb66f024c0e229313378ce6a872db78d02bf
Author: Karol Herbst <kherbst at redhat.com>
Date:   Fri Dec 15 20:04:59 2017 +0100

    nvc0: print the shader type when dumping headers
    
    this makes debugging the shader header a little easier
    
    Acked-by: Pierre Moreau <pierre.morrow at free.fr>
    Signed-off-by: Karol Herbst <kherbst at redhat.com>




More information about the mesa-commit mailing list