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
2 changes: 1 addition & 1 deletion cmake/FetchDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function(fetch_dependencies)
# -----------------------------
FetchContent_Declare(Graphics
GIT_REPOSITORY https://github.com/Thomas-Chqt/Graphics.git
GIT_TAG c85bcc401cdeaa461458ac1078ca441ad200b65f
GIT_TAG fdd99ce959ab35875d68725daebab8c649c991b3
GIT_SHALLOW 1
GIT_PROGRESS TRUE
FIND_PACKAGE_ARGS
Expand Down
4 changes: 1 addition & 3 deletions shaders/flat_color.slang
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ struct Material

#ifndef __cplusplus

struct _Material { ConstantBuffer<Material> data; };
ParameterBlock<_Material> _material;
#define material _material.data
ParameterBlock<ConstantBuffer<Material>> material;

[shader("fragment")]
float4 fragmentMain(VSOutput input) : SV_TARGET
Expand Down
1 change: 0 additions & 1 deletion shaders/shader.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
* ---------------------------------------------------
* shader.h
Expand Down
Loading