Implementing alpha testing.

This commit is contained in:
Ben Vanik
2015-03-20 20:12:27 -07:00
parent a82587f943
commit f7d0c427be
4 changed files with 56 additions and 24 deletions

View File

@@ -171,9 +171,9 @@ class DrawBatcher {
// This must match GL4Shader's header.
struct CommonHeader {
float4 window_scale; // sx,sy, ?, ?
float4 vtx_fmt; //
float4 alpha_test; // alpha test enable, func, ref, ?
float4 window_scale; // sx,sy, ?, ?
float4 vtx_fmt; //
float4 alpha_test; // alpha test enable, func, ref, ?
// TODO(benvanik): pack tightly
GLuint64 texture_samplers[32];