[Constants]
global $is = 0

[Present]
post $is = 0

[TextureOverrideFaceHeadDiffuse]
hash = 3a7e93c8
match_priority = 0
$is = 1
post $is = 0

;[TextureOverrideFaceHeadDiffuseLOD1]
;hash = 8b3fb560
;match_priority = 0
;$is = 1
;post $is = 0

;[TextureOverrideFaceHeadDiffuseLOD2]
;hash = 9eb233c4
;match_priority = 0
;$is = 1
;post $is = 0

[TextureOverrideBrow]
hash = ddf54429
match_priority = 0
run = CommandListBrow

[TextureOverrideBrowLOD]
hash = 6e02f849
match_priority = 0
run = CommandListBrow

[CommandListBrow]
if $is == 1
	ResourceBrowDif = copy this
	run = CustomShaderNewBrow
	this = ResourceBrowDif
endif

[ResourceBrowDif]

[ResourceBrowBase]
type = RWBuffer
stride = 40
filename = Brow\base.buf

[ResourceBrowKey]
type = RWBuffer
stride = 40
filename = Brow\key.buf

[CustomShaderNewBrow]
cs = Face.hlsl

cs-u1 = copy ResourceBrowDif
cs-t0 = copy ResourceBrowBase
cs-t1 = copy ResourceBrowKey

Dispatch = 56, 1, 1
ResourceBrowDif = copy cs-u1
post cs-u1 = null

[TextureOverrideFace]
hash = 9b58bf45
run = CommandListFace

[TextureOverrideFaceLOD]
hash = 28af0325
run = CommandListFace

[CommandListFace]
if $is == 1
	ResourceFaceDif = copy this
	run = CustomShaderNewFace
	this = ResourceFaceDif
endif

[ResourceFaceDif]

[ResourceFaceBase]
type = RWBuffer
stride = 40
filename = Head\base.buf

[ResourceFaceKey]
type = RWBuffer
stride = 40
filename = Head\key.buf

[CustomShaderNewFace]
cs = Face.hlsl

cs-u1 = copy ResourceFaceDif
cs-t0 = copy ResourceFaceBase
cs-t1 = copy ResourceFaceKey

Dispatch = 1767, 1, 1
ResourceFaceDif = copy cs-u1
post cs-u1 = null

[TextureOverrideEye]
hash = 82333d7a
run = CommandListEye

[TextureOverrideEyeLOD]
hash = 31c4811a
run = CommandListEye

[CommandListEye]
if $is == 1
	ResourceEyeDif = copy this
	run = CustomShaderNewEye
	this = ResourceEyeDif
endif

[ResourceEyeDif]

[ResourceEyeBase]
type = RWBuffer
stride = 40
filename = Eye\base.buf

[ResourceEyeKey]
type = RWBuffer
stride = 40
filename = Eye\key.buf

[CustomShaderNewEye]
cs = Face.hlsl

cs-u1 = copy ResourceEyeDif
cs-t0 = copy ResourceEyeBase
cs-t1 = copy ResourceEyeKey

Dispatch = 1767, 1, 1
ResourceEyeDif = copy cs-u1
post cs-u1 = null
