Mesa (master): 25 new commits

Jason Ekstrand jekstrand at kemper.freedesktop.org
Thu Mar 2 00:14:23 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5b355ce5fd6dbff61f1f471c38aa62db9d621c4
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 11:20:25 2017 -0800

    i965: Move intel_debug.h to intel/common/gen_debug.h
    
    This is shared between the Vulkan and GL drivers as it's a requirement
    of the back-end compiler.  However, it doesn't really belong in the
    compiler.  We rename the file to match the prefix of the other stuff in
    common and because libdrm defines an intel_debug.h and this avoids a
    pile of possible name conflicts.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8048c1953c97de75ccbe33d719ca81f67a5ba255
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 08:58:43 2017 -0800

    i965: Reduce cross-pollination between the DRI driver and compiler
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2195e561a1ef2be1398c05fe83299638220f5ff
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 11:53:41 2017 -0800

    i965: Move select_clip_planes to brw_vs.c
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=818bfdfa1569d271639548b94816d7e749e77bde
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 19:08:22 2017 -0800

    i965: Delete brw_do_cubemap_normalize
    
    This hasn't been used for quite some time now but we never bothered to
    get rid of it when we dropped GLSL IR support for vec4.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ac47b1af767d873b4e463ab479ac0effb49211c
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 19:00:45 2017 -0800

    i965: Add a header for brw_vec4_vs_visitor
    
    brw_vs.h is not a compiler file but brw_vec4_visitor is definitely a
    compiler thing.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c318af743db922a161388e9d1b02c7915886bb3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:49:45 2017 -0800

    i965: Move a bunch of pre-compile and link stuff to brw_program.h
    
    It's all GL-specific and brw_program.h is not part of i965_compiler.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbb91719681147c9107fb7136950635cba23858a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:48:58 2017 -0800

    i965: Move image uniform setup to brw_nir_uniforms.cpp
    
    It's the only thing that's using it.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=820ae39725560bc347483a66045b399c85b54bda
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:48:23 2017 -0800

    i965: Move channel_expressions and vector_splitting to brw_program.h
    
    They're GL-specific.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=760c8a1d950ddc178a6a7dc9c092790ca36e8e76
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:52:29 2017 -0800

    i965: Make mark_surface_used a static inline in brw_compiler.h
    
    One of these days, I'd like to see this function go away all together
    but for now, let's at least put it near the struct it updates.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f33d2b5d055d550b9d33547d76d353457d397fc1
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:38:27 2017 -0800

    i965: Move BRW_ATTRIB_WA_* defines to brw_compiler.h
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e274bcf668e82b19715e8784bdc018d0ff439ba
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:14:49 2017 -0800

    i965: Move BRW_MAX_DRAW_BUFFERS to brw_compiler.h
    
    It does sort-of go with MAX_UBO and friends but MAX_DRAW_BUFFERS is an
    actual hardware constant based on the number of things we can blend
    rather than an arbitrary "number of things allowed in GL" like some of
    the other maximums are.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=252324166048914119b5d8cfbd1fead907bbc1ed
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:12:35 2017 -0800

    i965/inst: Stop using fi_type
    
    It's a mesa define that's trivial to inline.  This removes a dependence
    on main/imports.h.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffeb73811245243fca45b241ae1b0d4b63153130
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:11:33 2017 -0800

    i965: Move brw_register_blocks to brw_fs.cpp
    
    Its one and only caller is brw_compile_fs which lives there.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b87c7e0e3e8c23f650b3ad7953465ba131cbfc4
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 18:10:53 2017 -0800

    i965: Move SHADER_TIME_STRIDE to brw_compiler.h
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f85ef1150125d4335c935ed8fb66071690d6fd6d
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 17:21:12 2017 -0800

    i965: Move SOL binding #defines to brw_compiler.h
    
    While we're at it, we also change the GEN6 binding macro to be a start
    index that gets added to the binding.  This makes things a bit more
    explicit.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81e5bdf072423faca81630334612e1fdcf23a5ac
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 17:17:56 2017 -0800

    i964/gs: Move MAX_GS_INPUT_VERTICES to brw_vec4_gs_visitor.h
    
    It's only users are in brw_vec4_gs_visitor and gen6_vec4_gs_visitor.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6a719b64f9837418c4a07e863f8eabbc19c85eb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 17:16:22 2017 -0800

    i965/gs: Add the gl_prim_to_hw_prim table to vec4_gs_visitor.cpp
    
    It's currently in brw_util.c but that's the only bit of brw_util.c
    that's shared between the compiler and the rest of the GL driver.
    It's just a fairly obvious table so the duplication isn't bad.  It's
    certainly less pain than trying to figure out how to share the code.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=035616cb8edef47d9d2aac78d47c99563fd5468f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 17:15:04 2017 -0800

    i965: Don't use MAX_SURFACES in mark_surface_used
    
    Vulkan doesn't respect MAX_SURFACES so this assert isn't valid in that
    case.  It should, however, assert that it isn't insanely large.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d2c9ce1ce93848ce4c13d3467d58fa2fc36d0ca
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 17:02:42 2017 -0800

    i965: Get rid of BRW_PRIM_OFFSET
    
    This is a relic of when we wired up meta to be able to use RECTLIST
    primitives.  It's no longer needed.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=406321caeb0027f853a1356a2a864364ba7eb80c
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 16:49:19 2017 -0800

    i965/vue_map: Stop using GLbitfield types
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45d3dbebb2b288553bd9590036a9d55dfc6d31f3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 16:40:56 2017 -0800

    i965: Move assign_common_binding_table_offsets to brw_program
    
    This isn't used by Vulkan and is specific to the way the GL driver
    works.  There's no reason to have it in common compiler code.  Also, it
    relies on BRW_MAX_* defines which are defined in brw_context.h
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8123402fd1271859eb96d5402c80d0d55f1ceda2
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 16:33:49 2017 -0800

    i965: Move some gen4 WM defines to brw_compiler.h
    
    These go in wm_prog_key so they're part of the compiler interface.
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34ede38194956abc4b6acdf255d1462ba1763df3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 19:40:07 2017 -0800

    i965: Move brw_disassemble_inst to brw_eu.h
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9c9d551eac918375c172ae271eab31779d87a81
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 16:12:22 2017 -0800

    i965: Move some helpers from brw_context.h to brw_shader.h
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b97782c364cfc15a8136032805975fd72266d14c
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 16:09:58 2017 -0800

    i965: Move a couple of #defines from brw_context to brw_compiler
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>




More information about the mesa-commit mailing list