From 91e98efca508ea4455f415b9157452654476e1bc Mon Sep 17 00:00:00 2001 From: Kai Yao Date: Fri, 8 Oct 2021 14:51:14 -0700 Subject: Basic VK buffer barrier test (#1967) * Allow specifying entry point name in gfx unit test util * Add buffer barrier test --- tools/gfx-unit-test/gfx-test-util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/gfx-unit-test/gfx-test-util.h') diff --git a/tools/gfx-unit-test/gfx-test-util.h b/tools/gfx-unit-test/gfx-test-util.h index b7e402abc..c7db19394 100644 --- a/tools/gfx-unit-test/gfx-test-util.h +++ b/tools/gfx-unit-test/gfx-test-util.h @@ -9,10 +9,11 @@ namespace gfx_test void diagnoseIfNeeded(ISlangWriter* diagnosticWriter, slang::IBlob* diagnosticsBlob); /// Loads a compute shader module and produces a `gfx::IShaderProgram`. - Slang::Result loadShaderProgram( + Slang::Result loadComputeProgram( gfx::IDevice* device, Slang::ComPtr& outShaderProgram, const char* shaderModuleName, + const char* entryPointName, slang::ProgramLayout*& slangReflection); /// Reads back the content of `buffer` and compares it against `expectedResult`. -- cgit v1.2.3