Don't use roundEven() to implement round() in DX9 compatibility mode
This commit is contained in:
parent
a5be11bd8b
commit
589aaff11c
7 changed files with 145 additions and 1 deletions
4
Test/hlsl.round.dx10.frag
Normal file
4
Test/hlsl.round.dx10.frag
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
float4 PixelShaderFunction(float4 input) : COLOR0
|
||||
{
|
||||
return round(input);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue