HLSL: Fix validation with FXC for test.

This commit is contained in:
Hans-Kristian Arntzen 2020-11-23 16:03:24 +01:00
parent 6a614cc7f7
commit 650b5e1b12
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
ByteAddressBuffer _8 : register(t0, space0); ByteAddressBuffer _8 : register(t0, space2);
Texture2D<float4> uSamplers[] : register(t0, space0); Texture2D<float4> uSamplers[] : register(t0, space0);
SamplerState _uSamplers_sampler[] : register(s0, space0); SamplerState _uSamplers_sampler[] : register(s0, space0);
Texture2D<float4> uSampler : register(t0, space1); Texture2D<float4> uSampler : register(t1, space1);
SamplerState _uSampler_sampler : register(s0, space1); SamplerState _uSampler_sampler : register(s1, space1);
static float4 gl_FragCoord; static float4 gl_FragCoord;
static float4 FragColor; static float4 FragColor;

View File

@ -30,14 +30,14 @@
OpMemberDecorate %SSBO 0 NonWritable OpMemberDecorate %SSBO 0 NonWritable
OpMemberDecorate %SSBO 0 Offset 0 OpMemberDecorate %SSBO 0 Offset 0
OpDecorate %SSBO BufferBlock OpDecorate %SSBO BufferBlock
OpDecorate %_ DescriptorSet 0 OpDecorate %_ DescriptorSet 2
OpDecorate %_ Binding 0 OpDecorate %_ Binding 0
OpDecorate %26 NonUniform OpDecorate %26 NonUniform
OpDecorate %28 NonUniform OpDecorate %28 NonUniform
OpDecorate %29 NonUniform OpDecorate %29 NonUniform
OpDecorate %vUV Location 0 OpDecorate %vUV Location 0
OpDecorate %uSampler DescriptorSet 1 OpDecorate %uSampler DescriptorSet 1
OpDecorate %uSampler Binding 0 OpDecorate %uSampler Binding 1
OpDecorate %38 NonUniform OpDecorate %38 NonUniform
OpDecorate %gl_FragCoord BuiltIn FragCoord OpDecorate %gl_FragCoord BuiltIn FragCoord
%void = OpTypeVoid %void = OpTypeVoid