OSDN Git Service

st/glsl_to_tgsi: readd the double_reg2 for input index mapping
authorDave Airlie <airlied@redhat.com>
Sat, 19 Dec 2015 04:43:17 +0000 (14:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 31 Dec 2015 23:43:54 +0000 (09:43 +1000)
commitdc7b33c1f372c835ce91afa0350c0bffe00c344e
tree0ace80cda75dd24b8ae0077aca83b84a10008f08
parent84dbf3c4ff8976459eb0890d8affc8e521689858
st/glsl_to_tgsi: readd the double_reg2 for input index mapping

Otherwise we end up emitting the wrong index for the second
double.

This fixes dmat-vs-gs-tcs-tes.shader_test and dvec3-vs-gs-tcs-tes.shader_test

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp