MSL: Fix another test incompatibility.

This commit is contained in:
Hans-Kristian Arntzen 2019-01-30 17:22:38 +01:00
parent b78ffa1cc7
commit fcbe999d99
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ struct main0_in
int4 vColor [[user(locn0)]];
};
fragment main0_out main0(main0_in in [[stage_in]], constant Push& registers [[buffer(0)]], constant UBO& ubo [[buffer(0)]], device SSBO& ssbo [[buffer(1)]])
fragment main0_out main0(main0_in in [[stage_in]], constant Push& registers [[buffer(0)]], constant UBO& ubo [[buffer(1)]], device SSBO& ssbo [[buffer(2)]])
{
main0_out out = {};
short _196 = 10;

View File

@ -86,7 +86,7 @@ void compute_uint8(device SSBO& ssbo, thread int4& vColor, constant Push& regist
FragColorUint = uint4(tmp);
}
fragment main0_out main0(main0_in in [[stage_in]], constant Push& registers [[buffer(0)]], constant UBO& ubo [[buffer(0)]], device SSBO& ssbo [[buffer(1)]])
fragment main0_out main0(main0_in in [[stage_in]], constant Push& registers [[buffer(0)]], constant UBO& ubo [[buffer(1)]], device SSBO& ssbo [[buffer(2)]])
{
main0_out out = {};
packing_int8(ssbo);

View File

@ -12,13 +12,13 @@ layout(push_constant, std140) uniform Push
uint8_t u8;
} registers;
layout(binding = 0, std140) uniform UBO
layout(binding = 1, std140) uniform UBO
{
int8_t i8;
uint8_t u8;
} ubo;
layout(binding = 1, std430) buffer SSBO
layout(binding = 2, std430) buffer SSBO
{
int8_t i8[16];
uint8_t u8[16];