kfdtest: Add KFDASMTest

Includes a simple AssembleShader test which loops through all shaders
for all supported targets, dispatching a RunAssemble call for each
shader.

Also adds extra safety on a couple shaders that only work on
gfx9/gfx90a.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I3ca1c92136f3871eb62fcb9645694f22287aaeec
This commit is contained in:
Graham Sider
2022-03-09 10:47:27 -05:00
committed by Harish Kasiviswanathan
parent 025c6146d9
commit 7eeba830f8
6 changed files with 157 additions and 11 deletions
+5
View File
@@ -24,6 +24,11 @@
#ifndef _SHADERSTORE_H_
#define _SHADERSTORE_H_
#include <vector>
/* KFDASMTest List */
extern const std::vector<const char*> ShaderList;
/* Common */
extern const char *NoopIsa;
extern const char *CopyDwordIsa;