hlsl: Avoid HLSL_CLASS_OBJECT, part 1.
1 unresolved thread
1 unresolved thread
HLSL_CLASS_OBJECT does not really have much in common, and a lot of code currently uses it assuming that all objects are resources, which is not actually true. Most users of HLSL_CLASS_OBJECT want to check for specific types, and so we can simplify code a fair amount by promoting all object "base types" to top-level classes.
This series is a first step, comprising some cleanup towards that goal.
Merge request reports
Activity
added 403 commits
-
e919ea29...b1eaf832 - 399 commits from branch
wine:master
- c9adf8fe - vkd3d-shader/hlsl: Remove a redundant type check.
- dc7c63b6 - vkd3d-shader/hlsl: Move a hlsl_fixme() to a more relevant place.
- e7826f2d - vkd3d-shader/hlsl: Simplify type_has_object_components().
- ab292ef0 - vkd3d-shader/hlsl: Use hlsl_is_numeric_type() in type_has_object_components().
Toggle commit list-
e919ea29...b1eaf832 - 399 commits from branch
2271 2271 if (!(modifiers & HLSL_STORAGE_STATIC)) 2272 2272 var->storage_modifiers |= HLSL_STORAGE_UNIFORM; 2273 2273 2274 if (ctx->profile->major_version < 5 && (var->storage_modifiers & HLSL_STORAGE_UNIFORM) && 2275 type_has_object_components(var->data_type, true)) 2274 if (ctx->profile->major_version < 5 && (var->storage_modifiers & HLSL_STORAGE_UNIFORM) 2275 && var->data_type->class == HLSL_CLASS_STRUCT && type_has_object_components(var->data_type)) changed this line in version 3 of the diff
added 7 commits
-
a33ce359...d72d5c35 - 3 commits from branch
wine:master
- 675d7b8c - vkd3d-shader/hlsl: Remove a redundant type check.
- 1e7d8279 - vkd3d-shader/hlsl: Move a hlsl_fixme() to a more relevant place.
- 54f2dfe4 - vkd3d-shader/hlsl: Simplify type_has_object_components().
- 106cbc02 - vkd3d-shader/hlsl: Use hlsl_is_numeric_type() in type_has_object_components().
Toggle commit list-
a33ce359...d72d5c35 - 3 commits from branch
Please register or sign in to reply