mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-25 18:48:51 -04:00
Triforce v0.8.0
Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
@@ -141,7 +141,15 @@ static void write(Recording& r,size_t bytes,unsigned seed) {
|
||||
int main(int argc,char**argv) {
|
||||
require(argc==3,"fixture arguments");std::string mode=argv[1];coherent=std::string(argv[2])=="coherent";
|
||||
dev.props.limits.minUniformBufferOffsetAlignment=256;dev.props.limits.minStorageBufferOffsetAlignment=64;
|
||||
// (first-stream-failure: the slot's first stream cannot be made, as when host-visible memory runs out at a recording's start)
|
||||
fail_buffer=mode=="first-stream-failure";
|
||||
Recording a=recording(0);draw_begin_recording(0,a.cmd,1);
|
||||
fail_buffer=false;
|
||||
if(mode=="first-stream-failure") {
|
||||
require(res[0].streams.empty() && !res[0].stream && res[0].si==0,"the slot has no stream");
|
||||
submit_recording(a);require(!flushed && a.submitted,"a recording without a stream submits with nothing to flush");
|
||||
std::puts("PASS: a recording whose first stream could not be made");return 0;
|
||||
}
|
||||
if(mode=="empty") { submit_recording(a);require(!flushed,"empty recording must not flush old bytes");return 0; }
|
||||
write(a,701,1);
|
||||
if(mode=="grow" || mode=="reuse") {
|
||||
|
||||
Reference in New Issue
Block a user