vkd3d-shader/fx: Write default numeric values.
1 unresolved thread
1 unresolved thread
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
Merge request reports
Activity
added 8 commits
-
46a1b66d - 1 commit from branch
wine:master
- 2bffa2b0 - vkd3d-shader/fx: Write default numeric values.
- 302ed319 - vkd3d-shader/fx: Fix packed size for fx_4+ types.
- a4171237 - vkd3d-shader/fx: Preserve parsing order of initializer components.
- 158bfa8c - vkd3d-shader/fx: Add missing fields for structure types on fx_5_0.
- de321535 - vkd3d-shader/hlsl: Set default values for annotations variables.
- b2414a42 - vkd3d-shader/hlsl: Do not crash on initialization of a redefined variable.
- c2c6da78 - vkd3d-shader/fx: Write annotations for fx_4+ profiles.
Toggle commit list-
46a1b66d - 1 commit from branch
added 7 commits
- a2821c83 - vkd3d-shader/fx: Write default numeric values.
- 53c8f407 - vkd3d-shader/fx: Fix packed size for fx_4+ types.
- 83988864 - vkd3d-shader/fx: Preserve parsing order of initializer components.
- c883264a - vkd3d-shader/fx: Add missing fields for structure types on fx_5_0.
- b45b92a3 - vkd3d-shader/hlsl: Do not crash on initialization of a redefined variable.
- 0428f16e - vkd3d-shader/hlsl: Set default values for annotations variables.
- 3c8d87a6 - vkd3d-shader/fx: Write annotations for fx_4+ profiles.
Toggle commit list473 473 return 0; 474 474 } 475 475 476 size = stride = type->reg_size[HLSL_REGSET_NUMERIC] * sizeof(float); 476 total_size = stride = type->reg_size[HLSL_REGSET_NUMERIC] * sizeof(float); 477 packed_size = hlsl_is_numeric_type(type) ? hlsl_type_component_count(type) * sizeof(float) : 0; You can't mix with non-numeric fields in structures, for fx profiles. I'm not sure now if it's doing the right thing for structures, for the packed_size field. It should probably reject non-numeric fields first, then set packed_size for struct || is_numeric(), something like that. I'll take a look.
changed this line in version 4 of the diff
Updated with a comment. Check for object fields is added with !931 (merged).
added 13 commits
-
3c8d87a6...ccb6150a - 5 commits from branch
wine:master
- 6040048b - vkd3d-shader/fx: Fix structure type data written for fx_4.
- 26218bd5 - vkd3d-shader/fx: Write default numeric values.
- 3f1334dd - vkd3d-shader/fx: Fix packed size for fx_4+ types.
- f1843c2f - vkd3d-shader/fx: Preserve parsing order of initializer components.
- e79bfe62 - vkd3d-shader/fx: Add missing fields for structure types on fx_5_0.
- 13a09580 - vkd3d-shader/hlsl: Do not crash on initialization of a redefined variable.
- 0fd56a83 - vkd3d-shader/hlsl: Set default values for annotations variables.
- 17eb167f - vkd3d-shader/fx: Write annotations for fx_4+ profiles.
Toggle commit list-
3c8d87a6...ccb6150a - 5 commits from branch
added 26 commits
-
17eb167f...2176294d - 18 commits from branch
wine:master
- aea36be9 - vkd3d-shader/fx: Fix structure type data written for fx_4.
- 856686b2 - vkd3d-shader/fx: Write default numeric values.
- c97c652f - vkd3d-shader/fx: Fix packed size for fx_4+ types.
- 8738e466 - vkd3d-shader/fx: Preserve parsing order of initializer components.
- 0a344bd3 - vkd3d-shader/fx: Add missing fields for structure types on fx_5_0.
- 4d2ce385 - vkd3d-shader/hlsl: Do not crash on initialization of a redefined variable.
- 0f7ac0a0 - vkd3d-shader/hlsl: Set default values for annotations variables.
- 937a80ea - vkd3d-shader/fx: Write annotations for fx_4+ profiles.
Toggle commit list-
17eb167f...2176294d - 18 commits from branch
Please register or sign in to reply