James-Jones / HLSLCrossCompiler

Other
468 stars 81 forks source link

OPCODE_STORE_UAV_TYPED Index type cast wrong #40

Open TiemoJung opened 7 years ago

TiemoJung commented 7 years ago

Hi,

for the instruction OPCODE_STORE_UAV_TYPED, the coord parameters are already stored as an int in the temp registers or they need to be cast to int correctly. Currently a int/ivecX constructor is hard coded for the coord parameter and produces incorrect GLSL core.