vkd3d-shader/fx: Add support for parsing fx_2_0 parameters.
Compare changes
+ 577
− 71
@@ -25,6 +25,41 @@ static inline size_t put_u32_unaligned(struct vkd3d_bytecode_buffer *buffer, uin
@@ -461,6 +496,407 @@ static void write_fx_2_annotations(struct hlsl_ir_var *var, uint32_t count_offse
@@ -1607,12 +2043,6 @@ static void write_fx_4_annotation(struct hlsl_ir_var *var, struct fx_write_conte
@@ -1844,27 +2274,6 @@ static bool replace_state_block_constant(struct hlsl_ctx *ctx, struct hlsl_ir_no
@@ -3027,12 +3436,6 @@ static void parse_fx_print_indent(struct fx_parser *parser)
@@ -3089,7 +3492,7 @@ static unsigned int fx_get_fx_2_type_size(struct fx_parser *parser, uint32_t *of
@@ -3138,8 +3541,6 @@ static unsigned int fx_parse_fx_2_type(struct fx_parser *parser, uint32_t offset
@@ -3172,7 +3573,7 @@ static void parse_fx_2_numeric_value(struct fx_parser *parser, uint32_t offset,
@@ -3182,10 +3583,57 @@ static void fx_parse_fx_2_annotations(struct fx_parser *parser, uint32_t count)
@@ -3199,27 +3647,9 @@ static void fx_parse_fx_2_annotations(struct fx_parser *parser, uint32_t count)
@@ -3228,6 +3658,64 @@ static void fx_parse_fx_2_annotations(struct fx_parser *parser, uint32_t count)
@@ -3243,7 +3731,6 @@ static void fx_parse_fx_2_technique(struct fx_parser *parser)
@@ -3261,7 +3748,7 @@ static void fx_parse_fx_2_technique(struct fx_parser *parser)
@@ -3275,9 +3762,11 @@ static void fx_parse_fx_2_technique(struct fx_parser *parser)
@@ -3290,6 +3779,29 @@ static void fx_parse_fx_2_technique(struct fx_parser *parser)
@@ -3964,13 +4476,7 @@ static void fx_4_parse_fxlvm_expression(struct fx_parser *parser, uint32_t offse