[Mesa-dev] [PATCH] intel/compiler: Disassemble GEN6_SFID_DATAPORT_SAMPLER_CACHE as dp_sampler

Jason Ekstrand jason at jlekstrand.net
Thu Nov 15 14:06:28 UTC 2018


Rb

On November 15, 2018 00:42:45 Sagar Ghuge <sagar.ghuge at intel.com> wrote:

> Both BRW_SFID_SAMPLER and GEN6_SFID_DATAPORT_SAMPLER_CACHE are getting
> disassembled as "sampler", which is misleading for assembler tool.
>
> Signed-off-by: Sagar Ghuge <sagar.ghuge at intel.com>
> ---
> src/intel/compiler/brw_disasm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c
> index cfccdea3b8..6c79fec0a1 100644
> --- a/src/intel/compiler/brw_disasm.c
> +++ b/src/intel/compiler/brw_disasm.c
> @@ -289,7 +289,7 @@ static const char *const gen6_sfid[16] = {
>    [BRW_SFID_MESSAGE_GATEWAY]          = "gateway",
>    [BRW_SFID_URB]                      = "urb",
>    [BRW_SFID_THREAD_SPAWNER]           = "thread_spawner",
> -   [GEN6_SFID_DATAPORT_SAMPLER_CACHE]  = "sampler",
> +   [GEN6_SFID_DATAPORT_SAMPLER_CACHE]  = "dp_sampler",
>    [GEN6_SFID_DATAPORT_RENDER_CACHE]   = "render",
>    [GEN6_SFID_DATAPORT_CONSTANT_CACHE] = "const",
>    [GEN7_SFID_DATAPORT_DATA_CACHE]     = "data",
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev





More information about the mesa-dev mailing list