Giovanni Mascellani (@giomasce) commented about tests/object-parameters.shader_test:
- float4 color : COLOR;
+};
+Texture2D tex0; // must reserve t0 +sampler sam;
+float4 main(struct apple input) : sv_target +{
- return 100 * input.tex[1].Sample(sam, float2(0, 0))
+ 10 * tex0.Sample(sam, float2(0, 0))
+ input.lone.Sample(sam, float2(0, 0));
+}
+[test] +todo draw quad +todo probe all rgba (305.0, 305.0, 305.0, 111.0)
When running on native this triggers: ``` shader_runner:408: Section [test], line 105: Test failed: Failed to create state, hr 0x80070057. ```
Not sure what's going on here. It seems that we declare all the objects the shader should access...