rename *.gpu -> *.hlsl

This commit is contained in:
jacob 2025-12-03 20:46:40 -06:00
parent 718c0de889
commit eab6b7df0b
9 changed files with 6 additions and 6 deletions

View File

@ -22,9 +22,9 @@ typedef float4 Quad;
typedef float4x4 Mat4x4; typedef float4x4 Mat4x4;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
//~ Handle dereference //~ Handle dereference wrappers
/* NOTE: Non-uniform resource access assumed as the default behavior */ /* NOTE: Non-uniform resource access is assumed as the default behavior */
/* TODO: Add explicit "uniform" variants of handle deref operations for optimization on AMD devices */ /* TODO: Add explicit "uniform" variants of handle deref operations for optimization on AMD devices */
template<typename T> StructuredBuffer<T> StructuredBufferFromHandle(StructuredBufferHandle h) { return ResourceDescriptorHeap[NonUniformResourceIndex(h.v)]; } template<typename T> StructuredBuffer<T> StructuredBufferFromHandle(StructuredBufferHandle h) { return ResourceDescriptorHeap[NonUniformResourceIndex(h.v)]; }

View File

@ -27,7 +27,7 @@
# include "base_resource.h" # include "base_resource.h"
# include "base_controller.h" # include "base_controller.h"
#elif IsLanguageGpu #elif IsLanguageGpu
# include "base_gpu.h" # include "base_gpu.hlsl"
#endif #endif
//- Impl //- Impl

View File

@ -20,7 +20,7 @@
@IncludeC pp_vis_widgets.c @IncludeC pp_vis_widgets.c
@IncludeC pp_vis_draw.c @IncludeC pp_vis_draw.c
@IncludeC pp_vis_core.c @IncludeC pp_vis_core.c
@IncludeGpu pp_vis_gpu.gpu @IncludeGpu pp_vis_gpu.hlsl
//- Embeds //- Embeds
@EmbedDir V_Resources pp_vis_res @EmbedDir V_Resources pp_vis_res

View File

@ -10,7 +10,7 @@
//- Impl //- Impl
@IncludeC proto.c @IncludeC proto.c
@IncludeGpu proto_shaders.gpu @IncludeGpu proto_shaders.hlsl
//- Shaders //- Shaders
@ComputeShader PT_TestCS @ComputeShader PT_TestCS

View File

@ -14,7 +14,7 @@
//- Impl //- Impl
@IncludeC ui_core.c @IncludeC ui_core.c
@IncludeC ui_common.c @IncludeC ui_common.c
@IncludeGpu ui_gpu.gpu @IncludeGpu ui_gpu.hlsl
//- Shaders //- Shaders
@VertexShader UI_DRectVS @VertexShader UI_DRectVS