; Husky

; Constants -------------------------
[Constants]
global $active
post ResourceHuskyPosition = copy_desc ResourceHuskyPosition.1
post run = CustomShaderComputeAnim

[Present]
if $active
    run = CustomShaderComputeAnim
endif
post $active = 0

[CustomShaderComputeAnim]
    x88 = 0
    x89 = 0
        cs-t50 = copy ResourceHuskyPosition.1
        cs-t51 = copy ResourceHuskyPoseBlend
        cs-t52 = copy ResourceHuskyPose
        cs = ./res/anim.hlsl
        cs-u5 = copy ResourceHuskyPosition.1
        ResourceHuskyPosition = ref cs-u5
        Dispatch = 54763, 1, 1
    cs-u5 = null
    cs-t50 = null
    cs-t51 = null

; Overrides -------------------------

[TextureOverrideHuskyBlend]
hash = c88b50ab
handling = skip
vb2 = ResourceHuskyBlend
if DRAW_TYPE == 1
	vb0 = ResourceHuskyPosition
	draw = 54763, 0
endif
$active = 1

[TextureOverrideHuskyLOD0Blend]
hash = 68edbe95
handling = skip
vb2 = ResourceHuskyBlend
if DRAW_TYPE == 1
	vb0 = ResourceHuskyPosition
	draw = 54763, 0
endif
$active = 1

[TextureOverrideHuskyLOD1Blend]
hash = c41d4f1d
handling = skip
vb2 = ResourceHuskyBlend
if DRAW_TYPE == 1
	vb0 = ResourceHuskyPosition
	draw = 54763, 0
endif
$active = 1

[TextureOverrideHuskyTexcoord]
hash = ff3fb71e
vb1 = ResourceHuskyTexcoord

[TextureOverrideHuskyLOD0Texcoord]
hash = 06523858
vb1 = ResourceHuskyTexcoord

[TextureOverrideHuskyLOD1Texcoord]
hash = 2ac0ebf2
vb1 = ResourceHuskyTexcoord

[TextureOverrideHuskyVertexLimitRaise]
hash = 181dfb89
override_vertex_count = 54763
override_byte_stride = 40

[TextureOverrideHuskyLOD0VertexLimitRaise]
hash = 79348606
override_vertex_count = 54763
override_byte_stride = 40

[TextureOverrideHuskyLOD1VertexLimitRaise]
hash = 4f6a3172
override_vertex_count = 54763
override_byte_stride = 40

[TextureOverrideHuskyIB]
hash = 7abe31b6
handling = skip
[TextureOverrideHuskyLOD0IB]
hash = fc7f8ace
handling = skip
[TextureOverrideHuskyLOD1IB]
hash = 2f8fec6f
handling = skip

[TextureOverrideHuskyA]
hash = 7abe31b6
match_first_index = 0
ib = ResourceHuskyAIB
Resource\ZZMI\Diffuse = ref ResourceHuskyADiffuse
Resource\ZZMI\NormalMap = ref ResourceHuskyANormalMap
Resource\ZZMI\MaterialMap = ref ResourceHuskyAMaterialMap
Resource\ZZMI\LightMap = ref ResourceHuskyALightMap
run = CommandList\ZZMI\SetTextures
; HuskyA-vb0=c3dbc770.txt (54763)
drawindexed = 216753, 0, 0

[TextureOverrideHuskyLOD0A]
hash = fc7f8ace
match_first_index = 0
ib = ResourceHuskyAIB
Resource\ZZMI\Diffuse = ref ResourceHuskyADiffuse
Resource\ZZMI\NormalMap = ref ResourceHuskyANormalMap
Resource\ZZMI\MaterialMap = ref ResourceHuskyAMaterialMap
Resource\ZZMI\LightMap = ref ResourceHuskyALightMap
run = CommandList\ZZMI\SetTextures
; HuskyA-vb0=c3dbc770.txt (54763)
drawindexed = 216753, 0, 0

[TextureOverrideHuskyLOD1A]
hash = 2f8fec6f
match_first_index = 0
ib = ResourceHuskyAIB
Resource\ZZMI\Diffuse = ref ResourceHuskyADiffuse
Resource\ZZMI\NormalMap = ref ResourceHuskyANormalMap
Resource\ZZMI\MaterialMap = ref ResourceHuskyAMaterialMap
Resource\ZZMI\LightMap = ref ResourceHuskyALightMap
run = CommandList\ZZMI\SetTextures
; HuskyA-vb0=c3dbc770.txt (54763)
drawindexed = 216753, 0, 0


; CommandList -----------------------


; Resources -------------------------

[ResourceHuskyPosition]
[ResourceHuskyPosition.1]
type = Buffer
stride = 40
filename = HuskyPosition.buf

[ResourceHuskyBlend]
type = Buffer
stride = 32
filename = HuskyBlend.buf

[ResourceHuskyPoseBlend]
type = Buffer
stride = 32
filename = HuskyPoseBlend.buf

[ResourceHuskyTexcoord]
type = Buffer
stride = 20
filename = HuskyTexcoord.buf

[ResourceHuskyPose]
type = Buffer
stride = 56
filename = pose.buf

[ResourceHuskyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HuskyA.ib

[ResourceHuskyADiffuse]
filename = HuskyADiffuse.dds

[ResourceHuskyANormalMap]
filename = HuskyANormalMap.dds

[ResourceHuskyAMaterialMap]
filename = HuskyAMaterialMap.dds

[ResourceHuskyALightMap]
filename = HuskyALightMap.dds


; .ini generated by XXMI (XX-Model-Importer) v1.6.3
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues
