Add EOpD3DCOLORtoUBYTE4 decomposition
This commit is contained in:
7
Test/hlsl.intrinsics.d3dcolortoubyte4.frag
Normal file
7
Test/hlsl.intrinsics.d3dcolortoubyte4.frag
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
uniform float4 col4;
|
||||
|
||||
int4 main() : SV_Target0
|
||||
{
|
||||
return D3DCOLORtoUBYTE4(col4);
|
||||
}
|
||||
Reference in New Issue
Block a user