Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cmake_minimum_required (VERSION 2.8)

project(hello_world)
add_executable(hello_world main.cpp)

# Dev commit 1

# Dev commit 2
# Dev commit 3
# Dev commit 4
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ Change it again. Jacob
Change it again and again. Jacob
Hustwardh
This is Jacob
Add a line
Add line 8
12 changes: 12 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
printf("Hello world\n");
return 1;
}

// xgl_prm commit 1
// xgl_prm commit 2
// xgl_prm commit 3
30 changes: 30 additions & 0 deletions tests/vk_test_shaderdb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/bash
workBase=$(pwd)

git clone https://github.com/GPUOpen-Drivers/xgl.git
git clone https://github.com/GPUOpen-Drivers/pal.git
git clone https://github.com/GPUOpen-Drivers/llpc.git
git clone https://github.com/GPUOpen-Drivers/llvm.git
cd llvm && git checkout remotes/origin/amd-vulkan-dev -b amd-vulkan-dev
cd $workBase
git clone https://github.com/GPUOpen-Drivers/spvgen.git
cd spvgen && git checkout remotes/origin/dev -b dev

#build amdllpc
cd $workBase/xgl
cmake -H. -Brbuild64
cd rbuild64
make amdllpc -j4

#build spvgen
cd $workBase/spvgen/external/
python fetch_external_sources.py
cd ..
cmake -H. -Brbuild64 -DCMAKE_BUILD_TYPE=release -DXGL_LLPC_PATH=$workBase/llpc -DVULKAN_HEADER_PATH=$workBase/xgl/icd/api/include/khronos
cd rbuild64
make -j4

#run the test
cd $workBase/xgl/test/shadertest
python testShaders.py --gfxip gfx6 $workBase/xgl/rbuild64/llpc $workBase/spvgen/rbuild64/