rename *.gpu -> *.hlsl
This commit is contained in:
parent
718c0de889
commit
eab6b7df0b
@ -22,9 +22,9 @@ typedef float4 Quad;
|
||||
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 */
|
||||
|
||||
template<typename T> StructuredBuffer<T> StructuredBufferFromHandle(StructuredBufferHandle h) { return ResourceDescriptorHeap[NonUniformResourceIndex(h.v)]; }
|
||||
@ -27,7 +27,7 @@
|
||||
# include "base_resource.h"
|
||||
# include "base_controller.h"
|
||||
#elif IsLanguageGpu
|
||||
# include "base_gpu.h"
|
||||
# include "base_gpu.hlsl"
|
||||
#endif
|
||||
|
||||
//- Impl
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
@IncludeC pp_vis_widgets.c
|
||||
@IncludeC pp_vis_draw.c
|
||||
@IncludeC pp_vis_core.c
|
||||
@IncludeGpu pp_vis_gpu.gpu
|
||||
@IncludeGpu pp_vis_gpu.hlsl
|
||||
|
||||
//- Embeds
|
||||
@EmbedDir V_Resources pp_vis_res
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
//- Impl
|
||||
@IncludeC proto.c
|
||||
@IncludeGpu proto_shaders.gpu
|
||||
@IncludeGpu proto_shaders.hlsl
|
||||
|
||||
//- Shaders
|
||||
@ComputeShader PT_TestCS
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
//- Impl
|
||||
@IncludeC ui_core.c
|
||||
@IncludeC ui_common.c
|
||||
@IncludeGpu ui_gpu.gpu
|
||||
@IncludeGpu ui_gpu.hlsl
|
||||
|
||||
//- Shaders
|
||||
@VertexShader UI_DRectVS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user