diff --git a/libs/vkd3d-shader/fx.c b/libs/vkd3d-shader/fx.c index 9cb76f651..67706bba9 100644 --- a/libs/vkd3d-shader/fx.c +++ b/libs/vkd3d-shader/fx.c @@ -3130,6 +3130,7 @@ static void resolve_fx_state_block_values(struct hlsl_ir_var *var, break; } case HLSL_IR_COMPILE: + case HLSL_IR_INDEX: break; default: hlsl_fixme(ctx, &ctx->location, "Unhandled node type for object-typed field."); diff --git a/tests/hlsl/effect-compile.shader_test b/tests/hlsl/effect-compile.shader_test index b8c784479..775cf453f 100644 --- a/tests/hlsl/effect-compile.shader_test +++ b/tests/hlsl/effect-compile.shader_test @@ -320,7 +320,7 @@ technique10 t0 } } -[effect todo] +[effect] float4 vs( float4 pos : POSITION ) : SV_POSITION { return pos; } float4 vs2( float4 pos : POSITION ) : SV_POSITION { return pos + pos; } float4 ps( float4 pos : SV_POSITION ) : SV_Target { return float4( 1.0f, 1.0f, 0.0f, 1.0f ); }