|
@@ -4,7 +4,7 @@
|
|
// CHECK: %UAVIncResult = call i32 @dx.op.atomicBinOp.i32(i32 78, %dx.types.Handle %PIX_CountUAV_Handle, i32 0, i32 %ByteIndex, i32 undef, i32 undef, i32 1)
|
|
// CHECK: %UAVIncResult = call i32 @dx.op.atomicBinOp.i32(i32 78, %dx.types.Handle %PIX_CountUAV_Handle, i32 0, i32 %ByteIndex, i32 undef, i32 undef, i32 1)
|
|
|
|
|
|
// Check for pixel cost instructions:
|
|
// Check for pixel cost instructions:
|
|
-// CHECK: %WeightStruct = call %dx.types.ResRet.i32 @dx.op.bufferLoad.i32(i32 68, %dx.types.Handle %PIX_CountUAV_Handle, i32 128, i32 undef)
|
|
|
|
|
|
+// CHECK: %WeightStruct = call %dx.types.ResRet.i32 @dx.op.bufferLoad.i32(i32 68, %dx.types.Handle %PIX_CountUAV_Handle, i32 512, i32 undef)
|
|
// CHECK: %Weight = extractvalue %dx.types.ResRet.i32 %WeightStruct, 0
|
|
// CHECK: %Weight = extractvalue %dx.types.ResRet.i32 %WeightStruct, 0
|
|
// CHECK: %OffsetByteIndex = add i32 %ByteIndex, 256
|
|
// CHECK: %OffsetByteIndex = add i32 %ByteIndex, 256
|
|
// CHECK: %UAVIncResult2 = call i32 @dx.op.atomicBinOp.i32(i32 78, %dx.types.Handle %PIX_CountUAV_Handle, i32 0, i32 %OffsetByteIndex, i32 undef, i32 undef, i32 %Weight)
|
|
// CHECK: %UAVIncResult2 = call i32 @dx.op.atomicBinOp.i32(i32 78, %dx.types.Handle %PIX_CountUAV_Handle, i32 0, i32 %OffsetByteIndex, i32 undef, i32 undef, i32 %Weight)
|