Skip to content

Instantly share code, notes, and snippets.

View rocketz's full-sized avatar

Jon Rocatis rocketz

View GitHub Profile
When calling vkCreateDevice with validation turned on and having Bandicam (3.4.2.1258) installed:
ERROR: [ParameterValidation] 00000005 vkCreateSampler: parameter pCreateInfo->flags must be 0
WARNING: [ParameterValidation] 00000006 vkCreateSampler: value of pCreateInfo->anisotropyEnable (-1452466608) is neither VK_TRUE nor VK_FALSE
WARNING: [ParameterValidation] 00000006 vkCreateSampler: value of pCreateInfo->compareEnable (-2) is neither VK_TRUE nor VK_FALSE
a = 20
q = a.class
puts q
if q == Fixnum
puts "q is fixnum"
end
case q
when Fixnum
puts "q is fixnum"
else