Prepare 1.5.0 build34 film and mixer delivery; verify 349 native and 184 reference cases
这个提交包含在:
1 父节点
f575c01893
当前提交
eeeee102cd
14 个文件已更改
+3600
-361
没有与搜索条件相匹配的文件
@@ -14,8 +14,8 @@ kernel void dyFilmPoint(texture2d<float,access::read> source [[texture(0)]],text
|
||||
float amount=pass.operation==0?uniforms.mixerMix:1;
|
||||
pixel.rgb=dyLimit((c*(1-amount)+result*amount)*pixel.a);output.write(pixel,pos);
|
||||
}
|
||||
kernel void dyFilmNoise(texture2d<float,access::write> output [[texture(0)]],constant uint& seed [[buffer(0)]],uint2 pos [[thread_position_in_grid]]){
|
||||
if(pos.x>=output.get_width()||pos.y>=output.get_height())return;output.write(float4(dyFilmNormal(pos.x,pos.y,seed),1),pos);
|
||||
kernel void dyFilmNoise(texture2d<float,access::write> output [[texture(0)]],constant uint& seed [[buffer(0)]],constant uint& bottomOrigin [[buffer(1)]],uint2 pos [[thread_position_in_grid]]){
|
||||
if(pos.x>=output.get_width()||pos.y>=output.get_height())return;uint y=bottomOrigin?output.get_height()-1-pos.y:pos.y;output.write(float4(dyFilmNormal(pos.x,y,seed),1),pos);
|
||||
}
|
||||
// Separable form of the reference's sparse 5x5 prefilter: same 25 weighted
|
||||
// samples, followed by its 3x3 vector Sobel norm. Only two 5-tap passes.
|
||||
|
||||
在新工单中引用
屏蔽一个用户