update texture-sampling cmp flag in comments to a new name

This commit is contained in:
Daniil Sunyaev 2018-12-11 22:49:31 +03:00
parent 119ddbaea5
commit 4d0575060f

View File

@ -351,8 +351,8 @@ public:
, false
, 1
, bgfx::TextureFormat::D16
, BGFX_TEXTURE_RT /* | BGFX_TEXTURE_COMPARE_LEQUAL*/
); // Note I'm not setting BGFX_TEXTURE_COMPARE_LEQUAL. Why?
, BGFX_TEXTURE_RT /* | BGFX_SAMPLER_COMPARE_LEQUAL*/
); // Note I'm not setting BGFX_SAMPLER_COMPARE_LEQUAL. Why?
// Normally a PCF shadow map such as this requires a compare. However, this sample also
// reads from this texture in the lighting pass, and only uses the PCF capabilites in the
// combine pass, so the flag is disabled by default.