gl_FragCoord support.

This commit is contained in:
Ben Vanik
2015-12-07 20:45:02 -08:00
parent 1f773f14b3
commit 09022a6ad3
5 changed files with 30 additions and 9 deletions

View File

@@ -195,6 +195,7 @@ bool DrawBatcher::BeginDraw() {
auto state_host_ptr =
reinterpret_cast<uintptr_t>(active_draw_.state_allocation.host_ptr);
active_draw_.header = reinterpret_cast<CommonHeader*>(state_host_ptr);
active_draw_.header->ps_param_gen = -1;
// active_draw_.float_consts =
// reinterpret_cast<float4*>(state_host_ptr +
// batch_state_.float_consts_offset);