[Vulkan] Implement support for color_exp_bias.

This commit is contained in:
gibbed
2018-05-19 15:45:13 -05:00
parent 9655b76f68
commit 8064926999
4 changed files with 38 additions and 22 deletions

View File

@@ -36,8 +36,8 @@ struct SpirvPushConstants {
float point_size[4]; // psx, psy, unused, unused
// Accessible to fragment shader only:
float alpha_test[3]; // alpha test enable, func, ref
float color_exp_bias;
float alpha_test[4]; // alpha test enable, func, ref
float color_exp_bias[4];
uint32_t ps_param_gen;
};
static_assert(sizeof(SpirvPushConstants) <= 128,