Lines Matching refs:ps
75 NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps, in NinePixelShader9_UpdateKey() argument
85 key = samplers_shadow & ps->sampler_mask; in NinePixelShader9_UpdateKey()
87 if (unlikely(ps->byte_code.version < 0x20)) { in NinePixelShader9_UpdateKey()
89 uint32_t m = ps->sampler_mask; in NinePixelShader9_UpdateKey()
100 …assert((ps->byte_code.version < 0x14 && !(ps->sampler_mask & 0xFFF0)) || !(ps->sampler_mask & 0xFF… in NinePixelShader9_UpdateKey()
102 if (unlikely(ps->byte_code.version < 0x14)) { in NinePixelShader9_UpdateKey()
111 if (ps->byte_code.version < 0x30) { in NinePixelShader9_UpdateKey()
120 if ((ps->const_int_slots > 0 || ps->const_bool_slots > 0) && context->inline_constants) in NinePixelShader9_UpdateKey()
121 key |= ((uint64_t)nine_shader_constant_combination_key(&ps->c_combinations, in NinePixelShader9_UpdateKey()
122 ps->int_slots_used, in NinePixelShader9_UpdateKey()
123 ps->bool_slots_used, in NinePixelShader9_UpdateKey()
127 res = ps->last_key != key; in NinePixelShader9_UpdateKey()
129 ps->next_key = key; in NinePixelShader9_UpdateKey()
134 NinePixelShader9_GetVariant( struct NinePixelShader9 *ps,