Marek Olšák
7164674500
util: don't include p_defines.h and u_pointer.h from gallium
...
It's a mess, but this is what I arrived at.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4324 >
2020-03-27 21:00:10 +00:00
Rob Clark
30dd059925
freedreno/computerator: add performance counter support
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4119 >
2020-03-10 16:52:02 +00:00
Rob Clark
ad2ff7a278
freedreno/computerator: add hrsq/hlog2/hexp2
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4071 >
2020-03-10 16:01:39 +00:00
Eric Anholt
ec2f905ca8
freedreno/computerator: Fix defined-but-not-used warnings from lex/yacc.
...
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3954 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3954 >
2020-02-26 17:20:24 +00:00
Rob Clark
26d42645f9
freedreno/computerator: fix build dependency
...
Ensure the generated register headers are built before computerator uses
them.
Reported-by: Clayton Craft <clayton.a.craft@intel.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3939 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3939 >
2020-02-25 02:02:06 +00:00
Rob Clark
2275343ba3
freedreno/computerator: add computerator
...
A standalone tool to compile and run compute shaders from ir3 assembly.
Mostly to have an easy way to experiment with instructions.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926 >
2020-02-24 21:31:53 +00:00
Rob Clark
f87d412f08
freedreno/computerator: rename prefix asm->ir3
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926 >
2020-02-24 21:31:53 +00:00
Rob Clark
6ee68d796e
freedreno/computerator: polish out some of the rust
...
Updates for differences between fdre-a3xx's early version of ir3, and
what we have now in mesa. And updates for instruction name and syntax
changes.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926 >
2020-02-24 21:31:53 +00:00
Rob Clark
3bb340cf4f
freedreno/computerator: import parser/lexer from fdre-a3xx
...
Import the rusty old parser from freedreno.git
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926 >
2020-02-24 21:31:53 +00:00