Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a3d38342
Commit
a3d38342
authored
Jan 12, 2012
by
Rico Schüller
Committed by
Alexandre Julliard
Jan 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Add effect parameter value int test.
parent
3f837b0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
231 additions
and
0 deletions
+231
-0
effect.c
dlls/d3dx9_36/tests/effect.c
+231
-0
No files found.
dlls/d3dx9_36/tests/effect.c
View file @
a3d38342
...
...
@@ -514,6 +514,236 @@ struct test_effect_parameter_value_result test_effect_parameter_value_result_flo
{
"f44_2"
,
{
"f44_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_FLOAT
,
4
,
4
,
2
,
0
,
0
,
0
,
128
},
699
},
};
/*
* fxc.exe /Tfx_2_0
*/
#if 0
int i = 1;
int1 i1 = {11};
int2 i2 = {21, 22};
int3 i3 = {31, 32, 33};
int4 i4 = {41, 42, 43, 44};
int1x1 i11 = {111};
int1x2 i12 = {121, 122};
int1x3 i13 = {131, 132, 133};
int1x4 i14 = {141, 142, 143, 144};
int2x1 i21 = {{2111, 2121}};
int2x2 i22 = {{2211, 2221}, {2212, 2222}};
int2x3 i23 = {{2311, 2321}, {2312, 2322}, {2313, 2323}};
int2x4 i24 = {{2411, 2421}, {2412, 2422}, {2413, 2423}, {2414, 2424}};
int3x1 i31 = {{3111, 3121, 3131}};
int3x2 i32 = {{3211, 3221, 3231}, {3212, 3222, 3232}};
int3x3 i33 = {{3311, 3321, 3331}, {3312, 3322, 3332},
{3313, 3323, 3333}};
int3x4 i34 = {{3411, 3421, 3431}, {3412, 3422, 3432},
{3413, 3423, 3433}, {3414, 3424, 3434}};
int4x1 i41 = {{4111, 4121, 4131, 4141}};
int4x2 i42 = {{4211, 4221, 4231, 4241}, {4212, 4222, 4232, 4242}};
int4x3 i43 = {{4311, 4321, 4331, 4341}, {4312, 4322, 4332, 4342},
{4313, 4323, 4333, 4343}};
int4x4 i44 = {{4411, 4421, 4431, 4441}, {4412, 4422, 4432, 4442},
{4413, 4423, 4433, 4443}, {4414, 4424, 4434, 4444}};
int i_2[2] = {0101, 0102};
int1 i1_2[2] = {{1101}, {1102}};
int2 i2_2[2] = {{2101, 2201}, {2102, 2202}};
int3 i3_2[2] = {{3101, 3201, 3301}, {3102, 3202, 3302}};
int4 i4_2[2] = {{4101, 4201, 4301, 4401}, {4102, 4202, 4302, 4402}};
int1x1 i11_2[2] = {{11101}, {11102}};
int1x2 i12_2[2] = {{12101, 12201}, {12102, 12202}};
int1x3 i13_2[2] = {{13101, 13201, 13301}, {13102, 13202, 13302}};
int1x4 i14_2[2] = {{14101, 14201, 14301, 14401}, {14102, 14202, 14302, 14402}};
int2x1 i21_2[2] = {{{211101, 212101}}, {{211102, 212102}}};
int2x2 i22_2[2] = {{{221101, 222101}, {221201, 222201}}, {{221102, 222102}, {221202, 222202}}};
int2x3 i23_2[2] = {{{231101, 232101}, {231201, 232201}, {231301, 232301}}, {{231102, 232102},
{231202, 232202}, {231302, 232302}}};
int2x4 i24_2[2] = {{{241101, 242101}, {241201, 242201}, {241301, 242301}, {241401, 242401}},
{{241102, 242102}, {241202, 242202}, {241302, 242302}, {241402, 242402}}};
int3x1 i31_2[2] = {{{311101, 312101, 313101}}, {{311102, 312102, 313102}}};
int3x2 i32_2[2] = {{{321101, 322101, 323101}, {321201, 322201, 323201}},
{{321102, 322102, 323102}, {321202, 322202, 323202}}};
int3x3 i33_2[2] = {{{331101, 332101, 333101}, {331201, 332201, 333201},
{331301, 332301, 333301}}, {{331102, 332102, 333102}, {331202, 332202, 333202},
{331302, 332302, 333302}}};
int3x4 i34_2[2] = {{{341101, 342101, 343101}, {341201, 342201, 343201},
{341301, 342301, 343301}, {341401, 342401, 343401}}, {{341102, 342102, 343102},
{341202, 342202, 343202}, {341302, 342302, 343302}, {341402, 342402, 343402}}};
int4x1 i41_2[2] = {{{411101, 412101, 413101, 414101}}, {{411102, 412102, 413102, 414102}}};
int4x2 i42_2[2] = {{{421101, 422101, 423101, 424101}, {421201, 422201, 423201, 424201}},
{{421102, 422102, 423102, 424102}, {421202, 422202, 423202, 424202}}};
int4x3 i43_2[2] = {{{431101, 432101, 433101, 434101}, {431201, 432201, 433201, 434201},
{431301, 432301, 433301, 434301}}, {{431102, 432102, 433102, 434102},
{431202, 432202, 433202, 434202}, {431302, 432302, 433302, 434302}}};
int4x4 i44_2[2] = {{{441101, 442101, 443101, 444101}, {441201, 442201, 443201, 444201},
{441301, 442301, 443301, 444301}, {441401, 442401, 443401, 444401}},
{{441102, 442102, 443102, 444102}, {441202, 442202, 443202, 444202},
{441302, 442302, 443302, 444302}, {441402, 442402, 443402, 444402}}};
technique t { pass p { } }
#endif
static
const
DWORD
test_effect_parameter_value_blob_int
[]
=
{
0xfeff0901
,
0x00000b80
,
0x00000000
,
0x00000002
,
0x00000000
,
0x00000024
,
0x00000000
,
0x00000000
,
0x00000001
,
0x00000001
,
0x00000001
,
0x00000002
,
0x00000069
,
0x00000002
,
0x00000001
,
0x0000004c
,
0x00000000
,
0x00000000
,
0x00000001
,
0x00000001
,
0x0000000b
,
0x00000003
,
0x00003169
,
0x00000002
,
0x00000001
,
0x00000078
,
0x00000000
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000015
,
0x00000016
,
0x00000003
,
0x00003269
,
0x00000002
,
0x00000001
,
0x000000a8
,
0x00000000
,
0x00000000
,
0x00000003
,
0x00000001
,
0x0000001f
,
0x00000020
,
0x00000021
,
0x00000003
,
0x00003369
,
0x00000002
,
0x00000001
,
0x000000dc
,
0x00000000
,
0x00000000
,
0x00000004
,
0x00000001
,
0x00000029
,
0x0000002a
,
0x0000002b
,
0x0000002c
,
0x00000003
,
0x00003469
,
0x00000002
,
0x00000002
,
0x00000104
,
0x00000000
,
0x00000000
,
0x00000001
,
0x00000001
,
0x0000006f
,
0x00000004
,
0x00313169
,
0x00000002
,
0x00000002
,
0x00000130
,
0x00000000
,
0x00000000
,
0x00000001
,
0x00000002
,
0x00000079
,
0x0000007a
,
0x00000004
,
0x00323169
,
0x00000002
,
0x00000002
,
0x00000160
,
0x00000000
,
0x00000000
,
0x00000001
,
0x00000003
,
0x00000083
,
0x00000084
,
0x00000085
,
0x00000004
,
0x00333169
,
0x00000002
,
0x00000002
,
0x00000194
,
0x00000000
,
0x00000000
,
0x00000001
,
0x00000004
,
0x0000008d
,
0x0000008e
,
0x0000008f
,
0x00000090
,
0x00000004
,
0x00343169
,
0x00000002
,
0x00000002
,
0x000001c0
,
0x00000000
,
0x00000000
,
0x00000002
,
0x00000001
,
0x0000083f
,
0x00000849
,
0x00000004
,
0x00313269
,
0x00000002
,
0x00000002
,
0x000001f4
,
0x00000000
,
0x00000000
,
0x00000002
,
0x00000002
,
0x000008a3
,
0x000008ad
,
0x000008a4
,
0x000008ae
,
0x00000004
,
0x00323269
,
0x00000002
,
0x00000002
,
0x00000230
,
0x00000000
,
0x00000000
,
0x00000002
,
0x00000003
,
0x00000907
,
0x00000911
,
0x00000908
,
0x00000912
,
0x00000909
,
0x00000913
,
0x00000004
,
0x00333269
,
0x00000002
,
0x00000002
,
0x00000274
,
0x00000000
,
0x00000000
,
0x00000002
,
0x00000004
,
0x0000096b
,
0x00000975
,
0x0000096c
,
0x00000976
,
0x0000096d
,
0x00000977
,
0x0000096e
,
0x00000978
,
0x00000004
,
0x00343269
,
0x00000002
,
0x00000002
,
0x000002a4
,
0x00000000
,
0x00000000
,
0x00000003
,
0x00000001
,
0x00000c27
,
0x00000c31
,
0x00000c3b
,
0x00000004
,
0x00313369
,
0x00000002
,
0x00000002
,
0x000002e0
,
0x00000000
,
0x00000000
,
0x00000003
,
0x00000002
,
0x00000c8b
,
0x00000c95
,
0x00000c9f
,
0x00000c8c
,
0x00000c96
,
0x00000ca0
,
0x00000004
,
0x00323369
,
0x00000002
,
0x00000002
,
0x00000328
,
0x00000000
,
0x00000000
,
0x00000003
,
0x00000003
,
0x00000cef
,
0x00000cf9
,
0x00000d03
,
0x00000cf0
,
0x00000cfa
,
0x00000d04
,
0x00000cf1
,
0x00000cfb
,
0x00000d05
,
0x00000004
,
0x00333369
,
0x00000002
,
0x00000002
,
0x0000037c
,
0x00000000
,
0x00000000
,
0x00000003
,
0x00000004
,
0x00000d53
,
0x00000d5d
,
0x00000d67
,
0x00000d54
,
0x00000d5e
,
0x00000d68
,
0x00000d55
,
0x00000d5f
,
0x00000d69
,
0x00000d56
,
0x00000d60
,
0x00000d6a
,
0x00000004
,
0x00343369
,
0x00000002
,
0x00000002
,
0x000003b0
,
0x00000000
,
0x00000000
,
0x00000004
,
0x00000001
,
0x0000100f
,
0x00001019
,
0x00001023
,
0x0000102d
,
0x00000004
,
0x00313469
,
0x00000002
,
0x00000002
,
0x000003f4
,
0x00000000
,
0x00000000
,
0x00000004
,
0x00000002
,
0x00001073
,
0x0000107d
,
0x00001087
,
0x00001091
,
0x00001074
,
0x0000107e
,
0x00001088
,
0x00001092
,
0x00000004
,
0x00323469
,
0x00000002
,
0x00000002
,
0x00000448
,
0x00000000
,
0x00000000
,
0x00000004
,
0x00000003
,
0x000010d7
,
0x000010e1
,
0x000010eb
,
0x000010f5
,
0x000010d8
,
0x000010e2
,
0x000010ec
,
0x000010f6
,
0x000010d9
,
0x000010e3
,
0x000010ed
,
0x000010f7
,
0x00000004
,
0x00333469
,
0x00000002
,
0x00000002
,
0x000004ac
,
0x00000000
,
0x00000000
,
0x00000004
,
0x00000004
,
0x0000113b
,
0x00001145
,
0x0000114f
,
0x00001159
,
0x0000113c
,
0x00001146
,
0x00001150
,
0x0000115a
,
0x0000113d
,
0x00001147
,
0x00001151
,
0x0000115b
,
0x0000113e
,
0x00001148
,
0x00001152
,
0x0000115c
,
0x00000004
,
0x00343469
,
0x00000002
,
0x00000000
,
0x000004d8
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000001
,
0x00000041
,
0x00000042
,
0x00000004
,
0x00325f69
,
0x00000002
,
0x00000001
,
0x00000504
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000001
,
0x0000044d
,
0x0000044e
,
0x00000005
,
0x325f3169
,
0x00000000
,
0x00000002
,
0x00000001
,
0x0000053c
,
0x00000000
,
0x00000002
,
0x00000002
,
0x00000001
,
0x00000835
,
0x00000899
,
0x00000836
,
0x0000089a
,
0x00000005
,
0x325f3269
,
0x00000000
,
0x00000002
,
0x00000001
,
0x0000057c
,
0x00000000
,
0x00000002
,
0x00000003
,
0x00000001
,
0x00000c1d
,
0x00000c81
,
0x00000ce5
,
0x00000c1e
,
0x00000c82
,
0x00000ce6
,
0x00000005
,
0x325f3369
,
0x00000000
,
0x00000002
,
0x00000001
,
0x000005c4
,
0x00000000
,
0x00000002
,
0x00000004
,
0x00000001
,
0x00001005
,
0x00001069
,
0x000010cd
,
0x00001131
,
0x00001006
,
0x0000106a
,
0x000010ce
,
0x00001132
,
0x00000005
,
0x325f3469
,
0x00000000
,
0x00000002
,
0x00000002
,
0x000005f4
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000001
,
0x00002b5d
,
0x00002b5e
,
0x00000006
,
0x5f313169
,
0x00000032
,
0x00000002
,
0x00000002
,
0x0000062c
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000002
,
0x00002f45
,
0x00002fa9
,
0x00002f46
,
0x00002faa
,
0x00000006
,
0x5f323169
,
0x00000032
,
0x00000002
,
0x00000002
,
0x0000066c
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000003
,
0x0000332d
,
0x00003391
,
0x000033f5
,
0x0000332e
,
0x00003392
,
0x000033f6
,
0x00000006
,
0x5f333169
,
0x00000032
,
0x00000002
,
0x00000002
,
0x000006b4
,
0x00000000
,
0x00000002
,
0x00000001
,
0x00000004
,
0x00003715
,
0x00003779
,
0x000037dd
,
0x00003841
,
0x00003716
,
0x0000377a
,
0x000037de
,
0x00003842
,
0x00000006
,
0x5f343169
,
0x00000032
,
0x00000002
,
0x00000002
,
0x000006ec
,
0x00000000
,
0x00000002
,
0x00000002
,
0x00000001
,
0x0003389d
,
0x00033c85
,
0x0003389e
,
0x00033c86
,
0x00000006
,
0x5f313269
,
0x00000032
,
0x00000002
,
0x00000002
,
0x00000734
,
0x00000000
,
0x00000002
,
0x00000002
,
0x00000002
,
0x00035fad
,
0x00036395
,
0x00036011
,
0x000363f9
,
0x00035fae
,
0x00036396
,
0x00036012
,
0x000363fa
,
0x00000006
,
0x5f323269
,
0x00000032
,
0x00000002
,
0x00000002
,
0x0000078c
,
0x00000000
,
0x00000002
,
0x00000002
,
0x00000003
,
0x000386bd
,
0x00038aa5
,
0x00038721
,
0x00038b09
,
0x00038785
,
0x00038b6d
,
0x000386be
,
0x00038aa6
,
0x00038722
,
0x00038b0a
,
0x00038786
,
0x00038b6e
,
0x00000006
,
0x5f333269
,
0x00000032
,
0x00000002
,
0x00000002
,
0x000007f4
,
0x00000000
,
0x00000002
,
0x00000002
,
0x00000004
,
0x0003adcd
,
0x0003b1b5
,
0x0003ae31
,
0x0003b219
,
0x0003ae95
,
0x0003b27d
,
0x0003aef9
,
0x0003b2e1
,
0x0003adce
,
0x0003b1b6
,
0x0003ae32
,
0x0003b21a
,
0x0003ae96
,
0x0003b27e
,
0x0003aefa
,
0x0003b2e2
,
0x00000006
,
0x5f343269
,
0x00000032
,
0x00000002
,
0x00000002
,
0x00000834
,
0x00000000
,
0x00000002
,
0x00000003
,
0x00000001
,
0x0004bf3d
,
0x0004c325
,
0x0004c70d
,
0x0004bf3e
,
0x0004c326
,
0x0004c70e
,
0x00000006
,
0x5f313369
,
0x00000032
,
0x00000002
,
0x00000002
,
0x0000088c
,
0x00000000
,
0x00000002
,
0x00000003
,
0x00000002
,
0x0004e64d
,
0x0004ea35
,
0x0004ee1d
,
0x0004e6b1
,
0x0004ea99
,
0x0004ee81
,
0x0004e64e
,
0x0004ea36
,
0x0004ee1e
,
0x0004e6b2
,
0x0004ea9a
,
0x0004ee82
,
0x00000006
,
0x5f323369
,
0x00000032
,
0x00000002
,
0x00000002
,
0x000008fc
,
0x00000000
,
0x00000002
,
0x00000003
,
0x00000003
,
0x00050d5d
,
0x00051145
,
0x0005152d
,
0x00050dc1
,
0x000511a9
,
0x00051591
,
0x00050e25
,
0x0005120d
,
0x000515f5
,
0x00050d5e
,
0x00051146
,
0x0005152e
,
0x00050dc2
,
0x000511aa
,
0x00051592
,
0x00050e26
,
0x0005120e
,
0x000515f6
,
0x00000006
,
0x5f333369
,
0x00000032
,
0x00000002
,
0x00000002
,
0x00000984
,
0x00000000
,
0x00000002
,
0x00000003
,
0x00000004
,
0x0005346d
,
0x00053855
,
0x00053c3d
,
0x000534d1
,
0x000538b9
,
0x00053ca1
,
0x00053535
,
0x0005391d
,
0x00053d05
,
0x00053599
,
0x00053981
,
0x00053d69
,
0x0005346e
,
0x00053856
,
0x00053c3e
,
0x000534d2
,
0x000538ba
,
0x00053ca2
,
0x00053536
,
0x0005391e
,
0x00053d06
,
0x0005359a
,
0x00053982
,
0x00053d6a
,
0x00000006
,
0x5f343369
,
0x00000032
,
0x00000002
,
0x00000002
,
0x000009cc
,
0x00000000
,
0x00000002
,
0x00000004
,
0x00000001
,
0x000645dd
,
0x000649c5
,
0x00064dad
,
0x00065195
,
0x000645de
,
0x000649c6
,
0x00064dae
,
0x00065196
,
0x00000006
,
0x5f313469
,
0x00000032
,
0x00000002
,
0x00000002
,
0x00000a34
,
0x00000000
,
0x00000002
,
0x00000004
,
0x00000002
,
0x00066ced
,
0x000670d5
,
0x000674bd
,
0x000678a5
,
0x00066d51
,
0x00067139
,
0x00067521
,
0x00067909
,
0x00066cee
,
0x000670d6
,
0x000674be
,
0x000678a6
,
0x00066d52
,
0x0006713a
,
0x00067522
,
0x0006790a
,
0x00000006
,
0x5f323469
,
0x00000032
,
0x00000002
,
0x00000002
,
0x00000abc
,
0x00000000
,
0x00000002
,
0x00000004
,
0x00000003
,
0x000693fd
,
0x000697e5
,
0x00069bcd
,
0x00069fb5
,
0x00069461
,
0x00069849
,
0x00069c31
,
0x0006a019
,
0x000694c5
,
0x000698ad
,
0x00069c95
,
0x0006a07d
,
0x000693fe
,
0x000697e6
,
0x00069bce
,
0x00069fb6
,
0x00069462
,
0x0006984a
,
0x00069c32
,
0x0006a01a
,
0x000694c6
,
0x000698ae
,
0x00069c96
,
0x0006a07e
,
0x00000006
,
0x5f333469
,
0x00000032
,
0x00000002
,
0x00000002
,
0x00000b64
,
0x00000000
,
0x00000002
,
0x00000004
,
0x00000004
,
0x0006bb0d
,
0x0006bef5
,
0x0006c2dd
,
0x0006c6c5
,
0x0006bb71
,
0x0006bf59
,
0x0006c341
,
0x0006c729
,
0x0006bbd5
,
0x0006bfbd
,
0x0006c3a5
,
0x0006c78d
,
0x0006bc39
,
0x0006c021
,
0x0006c409
,
0x0006c7f1
,
0x0006bb0e
,
0x0006bef6
,
0x0006c2de
,
0x0006c6c6
,
0x0006bb72
,
0x0006bf5a
,
0x0006c342
,
0x0006c72a
,
0x0006bbd6
,
0x0006bfbe
,
0x0006c3a6
,
0x0006c78e
,
0x0006bc3a
,
0x0006c022
,
0x0006c40a
,
0x0006c7f2
,
0x00000006
,
0x5f343469
,
0x00000032
,
0x00000002
,
0x00000070
,
0x00000002
,
0x00000074
,
0x0000002a
,
0x00000001
,
0x00000001
,
0x00000001
,
0x00000004
,
0x00000020
,
0x00000000
,
0x00000000
,
0x0000002c
,
0x00000048
,
0x00000000
,
0x00000000
,
0x00000054
,
0x00000070
,
0x00000000
,
0x00000000
,
0x00000080
,
0x0000009c
,
0x00000000
,
0x00000000
,
0x000000b0
,
0x000000cc
,
0x00000000
,
0x00000000
,
0x000000e4
,
0x00000100
,
0x00000000
,
0x00000000
,
0x0000010c
,
0x00000128
,
0x00000000
,
0x00000000
,
0x00000138
,
0x00000154
,
0x00000000
,
0x00000000
,
0x00000168
,
0x00000184
,
0x00000000
,
0x00000000
,
0x0000019c
,
0x000001b8
,
0x00000000
,
0x00000000
,
0x000001c8
,
0x000001e4
,
0x00000000
,
0x00000000
,
0x000001fc
,
0x00000218
,
0x00000000
,
0x00000000
,
0x00000238
,
0x00000254
,
0x00000000
,
0x00000000
,
0x0000027c
,
0x00000298
,
0x00000000
,
0x00000000
,
0x000002ac
,
0x000002c8
,
0x00000000
,
0x00000000
,
0x000002e8
,
0x00000304
,
0x00000000
,
0x00000000
,
0x00000330
,
0x0000034c
,
0x00000000
,
0x00000000
,
0x00000384
,
0x000003a0
,
0x00000000
,
0x00000000
,
0x000003b8
,
0x000003d4
,
0x00000000
,
0x00000000
,
0x000003fc
,
0x00000418
,
0x00000000
,
0x00000000
,
0x00000450
,
0x0000046c
,
0x00000000
,
0x00000000
,
0x000004b4
,
0x000004d0
,
0x00000000
,
0x00000000
,
0x000004e0
,
0x000004fc
,
0x00000000
,
0x00000000
,
0x00000510
,
0x0000052c
,
0x00000000
,
0x00000000
,
0x00000548
,
0x00000564
,
0x00000000
,
0x00000000
,
0x00000588
,
0x000005a4
,
0x00000000
,
0x00000000
,
0x000005d0
,
0x000005ec
,
0x00000000
,
0x00000000
,
0x00000600
,
0x0000061c
,
0x00000000
,
0x00000000
,
0x00000638
,
0x00000654
,
0x00000000
,
0x00000000
,
0x00000678
,
0x00000694
,
0x00000000
,
0x00000000
,
0x000006c0
,
0x000006dc
,
0x00000000
,
0x00000000
,
0x000006f8
,
0x00000714
,
0x00000000
,
0x00000000
,
0x00000740
,
0x0000075c
,
0x00000000
,
0x00000000
,
0x00000798
,
0x000007b4
,
0x00000000
,
0x00000000
,
0x00000800
,
0x0000081c
,
0x00000000
,
0x00000000
,
0x00000840
,
0x0000085c
,
0x00000000
,
0x00000000
,
0x00000898
,
0x000008b4
,
0x00000000
,
0x00000000
,
0x00000908
,
0x00000924
,
0x00000000
,
0x00000000
,
0x00000990
,
0x000009ac
,
0x00000000
,
0x00000000
,
0x000009d8
,
0x000009f4
,
0x00000000
,
0x00000000
,
0x00000a40
,
0x00000a5c
,
0x00000000
,
0x00000000
,
0x00000ac8
,
0x00000ae4
,
0x00000000
,
0x00000000
,
0x00000b78
,
0x00000000
,
0x00000001
,
0x00000b70
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
struct
test_effect_parameter_value_result
test_effect_parameter_value_result_int
[]
=
{
{
"i"
,
{
"i"
,
NULL
,
D3DXPC_SCALAR
,
D3DXPT_INT
,
1
,
1
,
0
,
0
,
0
,
0
,
4
},
10
},
{
"i1"
,
{
"i1"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
1
,
0
,
0
,
0
,
0
,
4
},
20
},
{
"i2"
,
{
"i2"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
2
,
0
,
0
,
0
,
0
,
8
},
30
},
{
"i3"
,
{
"i3"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
3
,
0
,
0
,
0
,
0
,
12
},
41
},
{
"i4"
,
{
"i4"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
4
,
0
,
0
,
0
,
0
,
16
},
53
},
{
"i11"
,
{
"i11"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
1
,
0
,
0
,
0
,
0
,
4
},
66
},
{
"i12"
,
{
"i12"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
2
,
0
,
0
,
0
,
0
,
8
},
76
},
{
"i13"
,
{
"i13"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
3
,
0
,
0
,
0
,
0
,
12
},
87
},
{
"i14"
,
{
"i14"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
4
,
0
,
0
,
0
,
0
,
16
},
99
},
{
"i21"
,
{
"i21"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
1
,
0
,
0
,
0
,
0
,
8
},
112
},
{
"i22"
,
{
"i22"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
2
,
0
,
0
,
0
,
0
,
16
},
123
},
{
"i23"
,
{
"i23"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
3
,
0
,
0
,
0
,
0
,
24
},
136
},
{
"i24"
,
{
"i24"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
4
,
0
,
0
,
0
,
0
,
32
},
151
},
{
"i31"
,
{
"i31"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
1
,
0
,
0
,
0
,
0
,
12
},
168
},
{
"i32"
,
{
"i32"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
2
,
0
,
0
,
0
,
0
,
24
},
180
},
{
"i33"
,
{
"i33"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
3
,
0
,
0
,
0
,
0
,
36
},
195
},
{
"i34"
,
{
"i34"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
4
,
0
,
0
,
0
,
0
,
48
},
213
},
{
"i41"
,
{
"i41"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
1
,
0
,
0
,
0
,
0
,
16
},
234
},
{
"i42"
,
{
"i42"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
2
,
0
,
0
,
0
,
0
,
32
},
247
},
{
"i43"
,
{
"i43"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
3
,
0
,
0
,
0
,
0
,
48
},
264
},
{
"i44"
,
{
"i44"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
4
,
0
,
0
,
0
,
0
,
64
},
285
},
{
"i_2"
,
{
"i_2"
,
NULL
,
D3DXPC_SCALAR
,
D3DXPT_INT
,
1
,
1
,
2
,
0
,
0
,
0
,
8
},
310
},
{
"i1_2"
,
{
"i1_2"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
1
,
2
,
0
,
0
,
0
,
8
},
321
},
{
"i2_2"
,
{
"i2_2"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
2
,
2
,
0
,
0
,
0
,
16
},
333
},
{
"i3_2"
,
{
"i3_2"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
3
,
2
,
0
,
0
,
0
,
24
},
347
},
{
"i4_2"
,
{
"i4_2"
,
NULL
,
D3DXPC_VECTOR
,
D3DXPT_INT
,
1
,
4
,
2
,
0
,
0
,
0
,
32
},
363
},
{
"i11_2"
,
{
"i11_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
1
,
2
,
0
,
0
,
0
,
8
},
381
},
{
"i12_2"
,
{
"i12_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
2
,
2
,
0
,
0
,
0
,
16
},
393
},
{
"i13_2"
,
{
"i13_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
3
,
2
,
0
,
0
,
0
,
24
},
407
},
{
"i14_2"
,
{
"i14_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
1
,
4
,
2
,
0
,
0
,
0
,
32
},
423
},
{
"i21_2"
,
{
"i21_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
1
,
2
,
0
,
0
,
0
,
16
},
441
},
{
"i22_2"
,
{
"i22_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
2
,
2
,
0
,
0
,
0
,
32
},
455
},
{
"i23_2"
,
{
"i23_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
3
,
2
,
0
,
0
,
0
,
48
},
473
},
{
"i24_2"
,
{
"i24_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
2
,
4
,
2
,
0
,
0
,
0
,
64
},
495
},
{
"i31_2"
,
{
"i31_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
1
,
2
,
0
,
0
,
0
,
24
},
521
},
{
"i32_2"
,
{
"i32_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
2
,
2
,
0
,
0
,
0
,
48
},
537
},
{
"i33_2"
,
{
"i33_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
3
,
2
,
0
,
0
,
0
,
72
},
559
},
{
"i34_2"
,
{
"i34_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
3
,
4
,
2
,
0
,
0
,
0
,
96
},
587
},
{
"i41_2"
,
{
"i41_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
1
,
2
,
0
,
0
,
0
,
32
},
621
},
{
"i42_2"
,
{
"i42_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
2
,
2
,
0
,
0
,
0
,
64
},
639
},
{
"i43_2"
,
{
"i43_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
3
,
2
,
0
,
0
,
0
,
96
},
665
},
{
"i44_2"
,
{
"i44_2"
,
NULL
,
D3DXPC_MATRIX_ROWS
,
D3DXPT_INT
,
4
,
4
,
2
,
0
,
0
,
0
,
128
},
699
},
};
#define ADD_PARAMETER_VALUE(x) {\
test_effect_parameter_value_blob_ ## x,\
sizeof(test_effect_parameter_value_blob_ ## x),\
...
...
@@ -531,6 +761,7 @@ static const struct
test_effect_parameter_value_data
[]
=
{
ADD_PARAMETER_VALUE
(
float
),
ADD_PARAMETER_VALUE
(
int
),
};
#undef ADD_PARAMETER_VALUE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment