Commit be4cdbc2 authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen
Browse files

d3d_dynamic_shader: disable useless warning

This warning is useless because we already clip the values before.
The linear values are never negative.

Shader@0x00007FFE51EFA920(105,12-30): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
parent 37d8b6f8
......@@ -36,6 +36,7 @@
#include "d3d_dynamic_shader.h"
static const char globPixelShaderDefault[] = "\
#pragma warning( disable: 3571 )\n\
cbuffer PS_CONSTANT_BUFFER : register(b0)\n\
{\n\
float4x3 Colorspace;\n\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment