i965/vec4: Actually handle atomic op intrinsics.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 24 Sep 2017 19:23:34 +0000 (12:23 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 26 Sep 2017 22:35:06 +0000 (15:35 -0700)
commita62fe340981b56fe54e49d3a6791e568f7f87554
tree690fdecfd8d7e05dfb31429f49f4db97b7c34b83
parent17eb2afada7b310e71abd3f4b9026c5178ba91cb
i965/vec4: Actually handle atomic op intrinsics.

Embarassingly, someone enabled the ARB_shader_atomic_counter_ops
extension for Gen7+ but never added the intrinsics to the switch
statement in the vec4 backend, so they just hit an unreachable()
call and died.

Fixes: 40dd45d0c6aa4a9d (i965: Enable ARB_shader_atomic_counter_ops)
Cc: "17.2 17.1 17.0 13.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/intel/compiler/brw_vec4_nir.cpp