Lines Matching defs:hit
352 * to the outer variables once we commit to a better hit.
380 /* The hit attributes are stored on the stack. This is the offset compared to the current stack
381 * pointer of where the hit attrib is stored. */
850 /* Any-hit shaders need three parameters */
854 /* A pointer to a boolean value for whether or not the hit was
861 /* The hit T value */
866 /* The hit kind */
943 nir_validate_shader(any_hit, "after initial any-hit lowering");
1001 /* Any-hit defaults to commit */
1033 /* Eliminate the casts introduced for the commit return of the any-hit shader. */
1042 * closest hit. */
1051 nir_variable *hit;
1075 ret.hit = nir_variable_create(b->shader, nir_var_shader_temp, glsl_bool_type(), "traversal_hit");
1223 nir_store_var(b, trav_vars->hit, nir_imm_true(b), 1);
1272 /* For AABBs the intersection shader writes the hit kind, and only does it if it is the
1273 * next closest hit candidate. */
1368 nir_store_var(b, trav_vars->hit, nir_imm_true(b), 1);
1411 nir_store_var(&b, trav_vars.hit, nir_imm_false(&b), 1);
1576 nir_push_if(&b, nir_load_var(&b, trav_vars.hit));
1586 /* should_return is set if we had a hit but we won't be calling the closest hit shader and hence