You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[FYI] luke.thatcher, brian.karis, rune.stubbe [CL 26401183 by graham wihlidal in ue5-main branch]
32 lines
656 B
Plaintext
32 lines
656 B
Plaintext
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Common.ush"
|
|
#include "WaveOpUtil.ush"
|
|
|
|
#ifdef OVERRIDE_SHADERBUNDLE_USH
|
|
#include "/Platform/Private/ShaderBundle.ush"
|
|
|
|
uint RecordCount;
|
|
uint4 PlatformData;
|
|
ByteAddressBuffer RecordArgBuffer;
|
|
ByteAddressBuffer RecordDataBuffer;
|
|
RWByteAddressBuffer RWExecutionBuffer;
|
|
|
|
#endif
|
|
|
|
[numthreads(THREADGROUP_SIZEX, 1, 1)]
|
|
void DispatchShaderBundleEntry(uint RecordIndex : SV_DispatchThreadID)
|
|
{
|
|
#ifdef OVERRIDE_SHADERBUNDLE_USH
|
|
if (RecordIndex < RecordCount)
|
|
{
|
|
ProcessShaderBundleRecord(
|
|
PlatformData,
|
|
RecordIndex,
|
|
RecordArgBuffer,
|
|
RecordDataBuffer,
|
|
RWExecutionBuffer);
|
|
}
|
|
#endif
|
|
}
|